Quantcast
Channel: Sellerdeck Community
Viewing all articles
Browse latest Browse all 779

The Schema markup layout has a faulty condition in it. Click here to go to the code.

$
0
0
Client called to say he had upgraded his v16 site to v18 SEGA.
On upload there is an error warning:
"The Schema markup layout has a faulty condition in it. Click here to go to the code."

The highlighted code is this which is at line 40.

Code:

<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductDescription%22%20%2f%3e%20%21%3d%20%22%22">
        "description":"<actinic:variable encoding="Strip and Encode" name="ProductDescription" />",</actinic:block>

I have tried adding some more stripping** as client has html including apostrophes in the product descriptions but it didn't remove the error.

The schema layout is brand new so cannot be something brought over from v16

This is very disappointing.

** This is what I tried but didn't work:

Code:

"<actinic:block php="true">echo str_replace(array('(',')','/','-','"','/�*39;|\'/'),'','<actinic:variable encoding="strip" name="ProductDescription" selectable="false" />'); </actinic:block>"
This forum won't render it so in plain text:

/�*39; should be / & # 0 * 3 9 ; without the spaces

Viewing all articles
Browse latest Browse all 779

Trending Articles