Author Topic: Competing Custom Flypage Templates  (Read 3135 times)

Levie

  • Beginner
  • *
  • Posts: 4
Competing Custom Flypage Templates
« on: December 06, 2013, 01:19:51 am »
So I have a rather large product listing in my virtuemart. Each product is allocated several categories depending on the brand, model, etc. For one particular brand, I want to use a different flypage.tpl template than the others. I've created the template file and made the change and it all seems a-ok.

However the alternate flypage.tpl will only display if the product is allocated solely to that brand category. If you allocate it to multiple categories (which is necessary) it goes back to the old/default one. Is there a way to tell virtuemart which template to prioritise per product? or an easier way to achieve what I'm trying to do?