I see some problems:
1) If there are no products on the page, then the <actinic:block type="ProductList" >... </actinic:block> will never run. So variable $PageType will be in whatever state the last page left it at. Best preset it before the first block.
2) What's <actinic:block type="PriceList" >...</Actinic:block> needed for? Looks like you could omit this and save CPU time.
It's best to temporarily display any variables that you're testing so you can see what's happening.
1) If there are no products on the page, then the <actinic:block type="ProductList" >... </actinic:block> will never run. So variable $PageType will be in whatever state the last page left it at. Best preset it before the first block.
2) What's <actinic:block type="PriceList" >...</Actinic:block> needed for? Looks like you could omit this and save CPU time.
It's best to temporarily display any variables that you're testing so you can see what's happening.
Comment