
When developing a project for one of our biggest clients, we realized that Magento had some very powerful and interesting rules for applying discounts on the shopping carts. Those rules take into account the amount of items in the shopping cart, the shipping address, the categories of the products and several other attributes. However, while rules are very powerful, the possible actions to be performed are quite few. You can apply discounts or free shipping, but we needed something else: we needed to be able to enable or disable a shipping method based on the cart products.
Imagine this: you are running your e-commerce site and you want your customer to be able to choose overnight delivery only if he/she is buying a product from the ‘offers’ category. Thus, you would like to tell Magento to enable the overnight delivery only if there’s at least one product with the ‘offers’ category in the cart.
That’s how QBShippingAndPaymentFilters was born. With this module you will be able to create rules to enable or disable either payments or shipping methods. These rules use the full power of Magento’s shopping cart rules and enable you to present the right options for the customer based on them.
For the example presented before you can set up a rule for doing exactly that; of course we assume that the overnight delivery shipping method is properly configured and disabled from Magento’s admin interface (it is the module’s responsibility to enable it when the conditions are met). As you can imagine, the same approach can be used for enabling and disabling payment methods.
If you like to try it out you can go to the product page.

No Comments
Trackbacks/Pingbacks