I'm wondering how I might include, or exclude snipptes of HTML within the templating system. For example if the product belongs to CATEGORY A - show the snippet. If the product belongs to CATEGORY B - don't show the snippet.
The snippet in my case would be a PHP include. I already know how to include a php file within the template, I just need a way of including, or excluding that code based on the product's category.
Include or Exclude Snippets
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users