View Single Post
  #2  
Old 06-24-2016, 11:35 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: how to add a block at a certain category or product page?

Hello.
This can be done by just editing Smarty templates.
Basically, you will need to find the template that is responsible for displaying the part of the page you want to change, and wrap your block into a condition like this
{if $main eq 'catalog' and $cat eq %your_category_id%}
code of your block
{end}
That is it.
Let me know if this helps.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote