Jump to content

[Solved] How to remove add to cart at first?


Recommended Posts

If you mean like the attached image, I did it by editing product-list.tpl in the theme folder.

I deleted this section-

            {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2}
{l s='Add to cart'}
           {else}
{l s='Add to cart'}
           {/if}



Working well so far, but I did make a backup copy of the original file. :coolsmile:

(edit) Instead of deleting the code, you can comment it out by adding {* before and *} after the section you want ignored.

3698_Nnf9zCYFW9wASI6NKTF7_t

Link to comment
Share on other sites

  • 4 months later...
  • 2 weeks later...
  • 2 years later...
×
×
  • Create New...