문제

I want to make a shipping method rule based on subcart total. If the subcart total > X then shipping method is free shipping but if subcart total < X then shipping method is flat rate. I tried with the following rule, but it doesn't work.

If ANY of these conditions are TRUE : Subtotal equals or greater than 75 Shipping Method is [freeshipping] Free Subtotal less than 75 Shipping Method is [flatrate] Fixed

The shipping method has to be automatically displayed on checkout and appropriate changes should be made to grand total.

Thanx in advance

도움이 되었습니까?

해결책

I think it's better to use the table rates for this.
You will need 2 lines in the csv

Country|Region|Postal code|Order subtotal (and above)|Shipping Cost
*      |*     |*          |0                         |10 - or the cost you want
*      |*     |*          |75                        |0

다른 팁

@Marius your solution works, but there is a slight modification to it.

Modification: Rules in table rate should be defined in descending order and not in ascending order.

This happened because of a bug in magento 1.7 or magento 1.7 handles the rules in different way compared to earlier versions.

Refer : http://www.magentocommerce.com/boards/viewthread/312623/ & http://www.magentocommerce.com/boards/viewthread/334406/

P.S: Excel can be used to edit tablerates.csv file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top