Pearlhxc Posted June 17, 2019 Share Posted June 17, 2019 Hello! I don't know why, but I see the text "SOLD OUT" under the page title CATALOG, before the product listing. Found this in product-list.tpl {if ($product.quantity == 0)} {l s='SOLD OUT!'} {/if} but still displayed even if I delete it! I've also tried hiding the real sold out products, but text is still visible. Someone could help me please? Link to comment Share on other sites More sharing options...
taniacr Posted June 18, 2019 Share Posted June 18, 2019 Hi, Do you have a link to inspect? Link to comment Share on other sites More sharing options...
JBW Posted June 18, 2019 Share Posted June 18, 2019 You have to clear cache/recompile template after .tpl file changes Link to comment Share on other sites More sharing options...
Pearlhxc Posted June 18, 2019 Author Share Posted June 18, 2019 @JBW Never had to do this, .tpl file changes always worked. But, anyway, why I see it in that position, if it refers to "product.quantity == 0"? My temporary solution is via css now, hiding it with a white background Link to comment Share on other sites More sharing options...
taniacr Posted June 18, 2019 Share Posted June 18, 2019 56 minutes ago, Pearlhxc said: @JBW Never had to do this, .tpl file changes always worked. But, anyway, why I see it in that position, if it refers to "product.quantity == 0"? My temporary solution is via css now, hiding it with a white background Hi, is your store online? Can you share the link? Link to comment Share on other sites More sharing options...
Pearlhxc Posted June 19, 2019 Author Share Posted June 19, 2019 17 hours ago, taniacr said: Hi, is your store online? Can you share the link? https://www.cbcunited.com/33-bands https://www.cbcunited.com/3-catalog " SOLD OUT! " is now hidden It is in these 2 sections under the title Link to comment Share on other sites More sharing options...
taniacr Posted June 25, 2019 Share Posted June 25, 2019 (edited) On 6/19/2019 at 11:36 AM, Pearlhxc said: https://www.cbcunited.com/33-bands https://www.cbcunited.com/3-catalog " SOLD OUT! " is now hidden It is in these 2 sections under the title Sorry, just by inspecting the code I've not been able to find where it comes from 😐 I wish I could help but no avail. Edited June 25, 2019 by taniacr (see edit history) 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