News:

Looking for documentation? Take a look on our wiki

Main Menu

get shipment cost out of virtuemart

Started by guardiano78, January 17, 2018, 13:54:00 PM

Previous topic - Next topic

guardiano78

Hello,
i have to make a exportation csv file that contain the catalogue of virtuemart products.
I did it, but i need also the shipment cost for each products.

Pratically, i have to make a function where, i send virtuemart_product_id and product_weight, and the function return to me the shipment cost that match in "jos_virtuemart_shipmentmethods" reading the field "shipment_params".

Can anyone help me?

Thanks!

Studio 42

Using Virtuemart, you need to get product from model and add shipment as in product details.
But this can be very slow.
Another solution, is to check the weight and add shipment with excel or Calc depending the weight(or write a Virtuemart extension to do it for you).