Hej,
i'm using Virtuemart 3.0.12... and sorry, i'm not sure where to put my question as i don't use a shipment plugin.
i have these shipment cost rules depending of amount of goods or total amount:
eg <= 24 costs are 16 eur
> 24 <=42 costs are 32 eur
> 42 costs are 0 eur
amount >= 700 eur costs are 0 eur
i have added that rule in the cart default_pricelist, which works. now i want to store this in virtuemart_orders order_total respectively order_shipment.
i'm having trouble to find where the insert into this table from the cart checkout is processed so i can add this rule.
of course i could overwrite all output procedures to adjust with the rules, so it matches what the cart showed; and since all sells are currently on "invoice" terms, it would "work". but it seems to me a rather stupid workaround aproach to not have the table entries correct and adjust the output to show, what i want.
i would appreciate any hints where to find the insert into table codes.
thank you.
Aly
As you can code why not just make a quick shipping plugin based on the bundled weight/country one
then it is fully integrated
of just use the free Rules shipping plugin?
...and there i make my life complicated.
using "Shipping by Rules" for VirtueMart", works like a charm. no need to reinvent. thanx for your help.
:)