I am using Smart Responsive theme.
I imported a hierarchical file of products and all went well. I have made no changes to the default design.
When I publish to web I see this message;
There are (1) coding error.
Would you like to see the error now (stops process)
I click yes
I see the error;
Error in condition (The 'ProductEmbedVideo' variable has been placed within the 'Standard Product Video' layout, but it wont work there. Click here to go to the code).
Clicking takes me to the Design view : Layout Code -Standard Product Video
Here is the code I see;
I then click publish to web again and it goes through without error.
Anyone else seen this or know how to stop it happening?
I imported a hierarchical file of products and all went well. I have made no changes to the default design.
When I publish to web I see this message;
There are (1) coding error.
Would you like to see the error now (stops process)
I click yes
I see the error;
Error in condition (The 'ProductEmbedVideo' variable has been placed within the 'Standard Product Video' layout, but it wont work there. Click here to go to the code).
Clicking takes me to the Design view : Layout Code -Standard Product Video
Here is the code I see;
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductEmbedVideo%22%20%2f%3e%20%21%3d%20%22%22" > <div class="video-wrapper"> <actinic:block php="true" if="%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e" > $sVideoLink = '<actinic:variable encoding="perl" name="ProductEmbedVideo" selectable="false" />'; echo str_replace('src="//', 'src="http://', $sVideoLink); </actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22IsNotPreviewMode%22%20%2f%3e" > <actinic:variable name="ProductEmbedVideo" /> </actinic:block> </div> </actinic:block>
Anyone else seen this or know how to stop it happening?
Comment