Jump to content

Category Page error

Recommended Posts



The category pages in my website encountered an error and the theme doesn't seem to be working, plus the products don't show up. Just the category pages that have the error, all other pages are working fine.


I was editing the product.tpl file and added this code to add a SOLD OUT icon:


{if $product->quantity == 0}

<span class="sold-box no-print product-box">

<span class="sold-label product-label">{l s='Sold Out'}</span>




The code works fine. Then I went to the product-item.tpl file to add the same icon on the category page. I just did a copy paste on the same code used for the NEW and SALE icons (it was a bit different than the code I had) on that file and tweaked it to say Sold Out. And then the category page just went all white with some text. So I deleted the code and even tried to change the whole code to the one we had on backup, but it's still not working. I also tried removing the code I added on the product.tpl file but to no avail.



Hoping anyone can help! 

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

  • Create New...

Important Information

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