News:

Support the VirtueMart project and become a member

Main Menu

Doubled shippment for every 2nd added product

Started by mratki, March 23, 2021, 15:09:02 PM

Previous topic - Next topic

mratki

Hello,
I have installed plugin Advanced Shipping by Rules and I have small problem. I need to achieve this rule: one package can contain only 2 products. For 1 or 2 products (one package) shipping is 15€, for 3 or 4 products (2 packages), shipping is doubled, more precisely 30€ and so on.. I have found a form which would be usefull

Shipping is 6€ for the first six articles and 6€ for each further six article
Simply round up the number of article to the next multiple of 6:

Shipping=ceil(Articles, 6)


which is working but I need texactly that but with shipping 15€ for the first 2 articles, and 15€ for each further two articles.

How to accomplish that?
Regards,
M

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum