News:

Support the VirtueMart project and become a member

Main Menu

Add new value to weight_countries (height)

Started by mxf, April 17, 2013, 01:36:20 AM

Previous topic - Next topic

mxf

Hi
I want to add new value to weight_countries plugin.
System should check height of the items in basket and if there is the longer one (above 131 cm) choose other shipping company.
I want to make two types - packages to 0-130 cm and above 131 cm.

Can anyone help?


mxf

Quote from: kkmediaproduction on April 17, 2013, 11:47:45 AM
http://extensions.virtuemart.net/shipments/advanced-shipping-by-rules-detail

Hi
Thank you. I bought it, and it is working great.

But I have another problem:
I set up two types of packages.
from 0 to 120 cm (A) and 121-175 cm (B).
It works well if you order a package from one of the compartments (A or B).

But if I add one small (A) and one large (B) package then there is a problem.

How to define the command if you add two different dimensions, and I want it to send as a B (within the range of 121-175 cm).

I have this:
Name=1-120cm A;
1<=Weight<30;
MinHeight=>1;
MaxHeight<=120;
Shipping=23


Name=121-175cm B;
1<=Weight<30;
MinHeight=>121;
MaxHeight<=175;
Shipping=46

And I want something like this:

1<=Weight<30; MinHeight=>1; MaxHeight<=120 AND MinHeight=>121; MaxHeight<=175; Shipping=46

Please help.