Jump to content

Edit History

Tintai

Tintai

Hello everyone!

I'm in progress to open my e-shop, and got stuck in the shipping cost in products details.

So I'm using XML Importer Module to import my products, and one field is missing in the importer - additional shipping costs. Can't import this value from file. I'm working in dropshipping so it's an important value for me.

Anyway, I've got idea that I can import value of ship. cost to some other field in product and then replace value from that field to ship. costs field.

I'm using CRON few times daily so that switch operation must be done after CRON import my products updates.

How can I mass change value "additional_shipping_cost" from value "width"(they are not using in my shop so) .

I was thinking about a little php script added to CRON or maybe js. Was doing something before in C#, Python so not a beginner. Just need some help with example code or show me a good direction :)

 

Will be glad for help

Tintai

 

@Edit:

I've imported my shipping cost as "product_supplier_price_te". Now need to mass copy that to "additional_shipping_cost" field. But it seems to not appear in the shop when I put some value here. Also where is quantity of products in db? In ps_product and quantity tag is 0 for all products. But in backoffice every product has a stock.

Tintai

Tintai

Hello everyone!

I'm in progress to open my e-shop, and got stuck in the shipping cost in products details.

So I'm using XML Importer Module to import my products, and one field is missing in the importer - additional shipping costs. Can't import this value from file. I'm working in dropshipping so it's an important value for me.

Anyway, I've got idea that I can import value of ship. cost to some other field in product and then replace value from that field to ship. costs field.

I'm using CRON few times daily so that switch operation must be done after CRON import my products updates.

How can I mass change value "additional_shipping_cost" from value "width"(they are not using in my shop so) .

I was thinking about a little php script added to CRON or maybe js. Was doing something before in C#, Python so not a beginner. Just need some help with example code or show me a good direction :)

 

Will be glad for help

Tintai

×
×
  • Create New...