Need a little help , please.
I've got custom variables (list of choices) such as brand name, style, season etc under the products. I then use different fragment layouts to display a subset of products under different sections filtered only by different Blockif statement. i.e.
This implies I have so many similar copies of the same fragment but with different Blockif statement.
Can I use the same custom variables under Fragments as well & then use something like
Blockif ( fragment.custvar1 == product.custvar1 ) and ( fragment.custvar2 == product.custvar2 )
on just one fragment layout and then set these under the fragment properties tab.
many thanks in advance
nilesh
I've got custom variables (list of choices) such as brand name, style, season etc under the products. I then use different fragment layouts to display a subset of products under different sections filtered only by different Blockif statement. i.e.
Code:
<actinic:variable name="Alna Vi - Fragment Header Selector" /> <div class="blockscontainer"> <actinic:block type="EntireSectionList" > <actinic:block type="ProductList" > <actinic:block type="ProductList" if="%3cactinic%3avariable%20name%3d%22BrandName%22%20%2f%3e%20%3d%3d%20Birkenstock%20%0dand%20%3cactinic%3avariable%20name%3d%22ManufacturersStyle%22%20%2f%3e%20%3d%3d%20Gizeh%0dand%20%28%20%3cactinic%3avariable%20name%3d%22AlnaViSaleable%22%20%2f%3e%20%3d%3d%20TRUE%20and%20%3cactinic%3avariable%20name%3d%22AlnaViSelectable%22%20%2f%3e%20%3d%3d%20Grouped%20%29" > <actinic:variable name="Alna Vi Fragment List Selector" /> </actinic:block> </actinic:block> </actinic:block> </div> <actinic:variable name="Alna Vi - Fragment Footer Selector" />
This implies I have so many similar copies of the same fragment but with different Blockif statement.
Can I use the same custom variables under Fragments as well & then use something like
Blockif ( fragment.custvar1 == product.custvar1 ) and ( fragment.custvar2 == product.custvar2 )
on just one fragment layout and then set these under the fragment properties tab.
many thanks in advance
nilesh