PoSSeK Posted May 17, 2016 Share Posted May 17, 2016 (edited) Hi there, I was trying to hide the add-to-cart button and in stock icon on the product-list.tpl. For that I just commented the html and then I went in the backoffice to Advanced Parameters > Performance and clicked on Force compilation. Now what I see when going into a category is as the attached image. As you will see everything is broken now and there are some clickable dots. I have tried reuploading the product-list.tpl again from what I had before but still not working. How can I fix it? Thanks! Edited May 17, 2016 by PoSSeK (see edit history) Link to comment Share on other sites More sharing options...
Simonas Invertus Posted May 18, 2016 Share Posted May 18, 2016 Uncomment the code and everything should go back to previous version. If you can provide link to the shop with correct code we can say what you should to comment. Link to comment Share on other sites More sharing options...
PoSSeK Posted May 18, 2016 Author Share Posted May 18, 2016 Hi Simonas, The code is already uncommented. I also re-uploaded the code as it was before changing it, but I still have problems. The url is www. instaflor .com If you go into any category everything is moved and with those strange dots. Cheers Link to comment Share on other sites More sharing options...
Simonas Invertus Posted May 19, 2016 Share Posted May 19, 2016 If you still have problems it means that you did not clear the cache so the uploads did not take effect. The code I see commented: <!-- <span>Add to cart</span> </a> <a class="button lnk_view btn btn-default" href="http://www.instaflor.com/birthday-flowers/23-cheerful.html" title="View"> <span>More</span> </a> </div> <div class="color-list-container"></div> <div class="product-flags"> </div> <span class="availability"> <span class=" label-success"> In Stock </span> </span> </div> <div class="functional-buttons clearfix"> </div> </div><!-- .product-container> --> The code that should be actually commented: <!-- <a class="button ajax_add_to_cart_button btn btn-default" href="http://www.instaflor.com/cart?add=1&id_product=28&token=81e62b7be72872cf9349a46bec5df2c8" rel="nofollow" title="Add to cart" data-id-product-attribute="0" data-id-product="28" data-minimal_quantity="1"> <span>Add to cart</span> </a>--> Link to comment Share on other sites More sharing options...
PoSSeK Posted May 19, 2016 Author Share Posted May 19, 2016 Hi there, The problem was in what you mentioned about the cache. Before compiling the cache has to be switched off. Thank you very much for helping! I really appreciate it Cheers 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