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
Posted (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 by taniacr (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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