on this page of the site: https://www.weistec.com/tuning_mercedes_amg_bmw.html, I have subcategories being displayed. The last entry for Mercedez Benz is not in the category, it is for Audi and Lambos only. Could someone help me troubleshoot my code?
<mvt:if expr="l.settings:category:code IN l.settings:vehicle_categories">
<mvt:assign name="l.settings:sections" value="l.settings:part_categories" />
<mvt:else>
<mvt:assign name="l.settings:sections" value="l.settings:vehicle_categories" />
</mvt:if>
I understand it could be the IN operator, but after reading about the operators available, I'm lost on which to use. Please and thank you (I am learning Miva) :)
<mvt:if expr="l.settings:category:code IN l.settings:vehicle_categories">
<mvt:assign name="l.settings:sections" value="l.settings:part_categories" />
<mvt:else>
<mvt:assign name="l.settings:sections" value="l.settings:vehicle_categories" />
</mvt:if>
I understand it could be the IN operator, but after reading about the operators available, I'm lost on which to use. Please and thank you (I am learning Miva) :)