Thursday, November 18, 2010

Show after discount prices in Product page\Category pages

If you have or higher versions of commerce. You can use the bean below to retrieve price after discounts.


Before this bean, it was very performance intensive and complex to retrieve price after discount prices.

It is important to understand that it works by creating a temp order and out of the box, it only works by sending 1 catentry at a time, for multiple items, this bean needs to be extended.

The price is calculated as if an order is placed that includes only the current catalog entry with quantity of one. I haven't used this in a live site hence I am curious about the performance of this bean.

No comments:

Post a Comment