Mictor2010 Posted October 25, 2013 Share Posted October 25, 2013 Hi I have tried many variations of this code {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="discount"> {if ($category->id_category == 9) OR ($category->id_parent ==9)}Suit Event {else}{l s='On sale'}{/if}</span> {elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="discount"> {if ($category->id_category == 9) OR ($category->id_parent == 9)}Suit Event{else}{l s='On Sale'}{/if} to try and make it so that in a different category the on sale words are changed to Suit event. This code will work for the first page however if you add some sort of filter to the page it stops working. Can anyone advise on how to alter this. category to display 'Suit event' - http://www.brigdens.com/9-suits example pages not working - http://www.brigdens.com/9-suits#/ http://www.brigdens.com/9-suits#/page-2 http://www.brigdens.com/9-suits#/jacket_size-36_short Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now