Hi All
I'm on SD Desktop 18.0.3 and today it has bought up an error:-
A PHP error has been found on the page ('Parse error: syntax error, unexpected 's' (T STRING) in main on line 1'). The error is coming from the 'Regular Also Brought Item' layout.
The code then shows:-
<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22">
<div class="product-image" style="height:160px;"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><img src="<actinic:variable name="ProductImageFileName" />" title="<actinic:block php="true">echo str_replace(array('(',')','/'),'','<actinic:variable encoding="strip" name="ProductName" selectable="false" />'); </actinic:block>" alt="<actinic:block php="true">echo str_replace(array('(',')','/'),'','<actinic:variable encoding="strip" name="ProductName" selectable="false" />'); </actinic:block>" style="max-width: 100%; max-height: 150px; width: auto;" /></a></div>
</actinic:block>
<div class="product-text"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><actinic:variable formatting="h5" encoding="actinic" name="ProductName" /></a>
<div class="product-list-price" style="display:none;"><Actinic:PRICES PROD_REF="<actinic:variable Name="ProductID" />" RETAIL_PRICE_PROMPT="<Actinic:Variable Name="ProductPriceDescription"/>"><actinic:variable value="Marketing Price List" name="PriceListRetail" /></Actinic:PRICES></div>
</div>
<div class="mini-product-section-link-toprp"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>">More info</div>
The only thing I notice on the website is that the Also Bought Items are all stretched wider on the screen on a desktop or the third one is wider on a mobile.
Any ideas?
Thanks in advance
Joanna
I'm on SD Desktop 18.0.3 and today it has bought up an error:-
A PHP error has been found on the page ('Parse error: syntax error, unexpected 's' (T STRING) in main on line 1'). The error is coming from the 'Regular Also Brought Item' layout.
The code then shows:-
<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22">
<div class="product-image" style="height:160px;"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><img src="<actinic:variable name="ProductImageFileName" />" title="<actinic:block php="true">echo str_replace(array('(',')','/'),'','<actinic:variable encoding="strip" name="ProductName" selectable="false" />'); </actinic:block>" alt="<actinic:block php="true">echo str_replace(array('(',')','/'),'','<actinic:variable encoding="strip" name="ProductName" selectable="false" />'); </actinic:block>" style="max-width: 100%; max-height: 150px; width: auto;" /></a></div>
</actinic:block>
<div class="product-text"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>"><actinic:variable formatting="h5" encoding="actinic" name="ProductName" /></a>
<div class="product-list-price" style="display:none;"><Actinic:PRICES PROD_REF="<actinic:variable Name="ProductID" />" RETAIL_PRICE_PROMPT="<Actinic:Variable Name="ProductPriceDescription"/>"><actinic:variable value="Marketing Price List" name="PriceListRetail" /></Actinic:PRICES></div>
</div>
<div class="mini-product-section-link-toprp"><a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&SHOP=<actinic:variable name="ShopID" /></actinic:block>">More info</div>
The only thing I notice on the website is that the Also Bought Items are all stretched wider on the screen on a desktop or the third one is wider on a mobile.
Any ideas?
Thanks in advance
Joanna
Comment