Jump to content

Recommended Posts

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?

screenshot_soldout_catalog.jpg

Share this post


Link to post
Share on other sites

You have to clear cache/recompile template after .tpl file changes

Share this post


Link to post
Share on other sites

@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  :(

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More