Good Afternoon,
I'm looking at implementing a piece of code which will only be shown if the current page is the cart, checkout page 0,1,2,3 or receipt page.
For this, I have done the following:
My (limited) understanding of this is that when Actinic generates the web pages, my 'blah blah blah' code will only be uploaded if the condition is met, in this case
If PageType = Shopping Cart OR Checkout Page 1 OR... etc
However, this blockif is in the <head> of the document - should this matter?
I've currently got this on a virtual server so can't physically show the issue publicly, but will try my best if someone requires further info.
I've uploaded the site and my 'blah blah blah' code is on every page, thus, it is falling foul to the blockif condition.
Can anyone shed some light on this please?
Many thanks,
Grant
I'm looking at implementing a piece of code which will only be shown if the current page is the cart, checkout page 0,1,2,3 or receipt page.
For this, I have done the following:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Shopping%20Cart%22%20%20OR%20%22Checkout%20Page%200%22%20%20OR%20%22Checkout%20Page%201%22%20%20OR%20%22Checkout%20Page%202%22%20%20OR%20%22Checkout%20Page%203%22%20%20OR%20%22Receipt%22" > blah blah blah, the code is here </actinic:block>
If PageType = Shopping Cart OR Checkout Page 1 OR... etc
However, this blockif is in the <head> of the document - should this matter?
I've currently got this on a virtual server so can't physically show the issue publicly, but will try my best if someone requires further info.
I've uploaded the site and my 'blah blah blah' code is on every page, thus, it is falling foul to the blockif condition.
Can anyone shed some light on this please?
Many thanks,
Grant
Comment