Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_sidebar.php on line 8

Notice: Only variables should be assigned by reference in /var/www/clients/client4/web20/web/templates/shape5_vertex/vertex/responsive/responsive_mobile_menu.php on line 278

VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: shipping by different stats and sku's

shipping by different stats and sku's 19 Jun 2017 12:09 #1

On my web site it will be FREE SHIPPING anywhere in the continental United States.

EXCEPT for (Alaska) ( Puerto Rico) ( Hawaii) those 3 states the SHIPPING CHARGE will be ($50.00) for a GT3000 & ($45.00) for a GT1500 & ($30.00) for a GT50

so my questions is: do i need the pro version for this?
and what rule do i have to use for this?

im not expert so thats why im asking you

thanks in advance
george
The administrator has disabled public write access.

shipping by different stats and sku's 24 Jun 2017 19:59 #2

Dear George,
Do I understand you correctly that for these three states you want to have a shipping charge per product unit (i.e. if a customer buys two GT3000 and one GT50, then the shipping cost will be 2*50+30=$130 ?

This is possible, but as you suspected, this requires the advanced (paid) version. The corresponding rule would be:
Country2=="US"; State2 in list("AK", "HI"); Shipping=50*evaluate_for_skus(Articles, "GT3000")+45*evaluate_for_skus(Articles, "GT1500")+30*evaluate_for_skus(Articles,"GT50")
Country2=="PR";Shipping=50*evaluate_for_skus(Articles, "GT3000")+45*evaluate_for_skus(Articles, "GT1500")+30*evaluate_for_skus(Articles,"GT50")
Shipping=0

In case you wonder: The evaluate_for_skus(Articles, "GT...") calls simply retrieve the number of units bought for the corresponding SKU (i.e. the number of GT3000, GT1500 and GT50).

Best regards,
Reinhold
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular