Hello people.
I've searched around and found no suitable way to do this.
I am creating a new layout which will be placed at the top of the 'main content', but there will be two layouts available, depending on the circumstances.
If a product page (ie. section with one product in it) only has one single product, then layout ABC should be used.
If the section contains 2+ products, then layout XYZ should be used.
I am therefore trying to create a blockif which effectively says:
if section == 1 product then ABClayout
and the multi product page version:
if section >= 1 product then XYZlayout
Can some kind sole pull me out of this tight spot, I'm like a lost puppy dog
Cheers,
Grant
I've searched around and found no suitable way to do this.
I am creating a new layout which will be placed at the top of the 'main content', but there will be two layouts available, depending on the circumstances.
If a product page (ie. section with one product in it) only has one single product, then layout ABC should be used.
If the section contains 2+ products, then layout XYZ should be used.
I am therefore trying to create a blockif which effectively says:
if section == 1 product then ABClayout
and the multi product page version:
if section >= 1 product then XYZlayout
Can some kind sole pull me out of this tight spot, I'm like a lost puppy dog
Cheers,
Grant
Comment