Pregunta

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

¿Fue útil?

Solución

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top