Jump to content

On Sale Function


Recommended Posts



I have purchased a theme and the on sale function only works on the product details page. I would like to see the regular price slashed out with the sale price in the product list so that a user can see this sale without having to view the product details. This function works fine with the default theme but not this purchased theme. Below is my code, maybe someone can tell me what code I can add to accomplish this. 


                            {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
                                {elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
                                    <span class="discount">{l s='Reduced price!'}</span>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...