News:

Looking for documentation? Take a look on our wiki

Main Menu

specific spiment costs

Started by Alyeska77, April 22, 2016, 11:12:37 AM

Previous topic - Next topic

Alyeska77

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

GJC Web Design

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?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Alyeska77

...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.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation