cnsdesigns Posted June 15, 2017 Share Posted June 15, 2017 Hello! 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> </span> {/if} 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. • Website: http://cnsdesigns.com.ph/ • Category page: http://cnsdesigns.com.ph/2-design-your-life-planner • Product page: http://cnsdesigns.com.ph/design-your-life-planner/828-design-your-life-limitless-planner.html Hoping anyone can help! Link to comment Share on other sites More sharing options...
cnsdesigns Posted June 15, 2017 Author Share Posted June 15, 2017 The theme support has already gotten back to me and was able to fix the problem. 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