Announcement

Collapse
No announcement yet.

Schema Markup layout creates bad code if CompanyLogoFileName not in Site root.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Schema Markup layout creates bad code if CompanyLogoFileName not in Site root.

    If CompanyLogoFileName is not in the Site root then Schema Markup generates a line like:
    Code:
    "image": "https://www.mysite.com/acatalog/Images\Logo\logo.png",
    when it should be:
    Code:
    "image": "https://www.mysite.com/acatalog/logo.png",
    Solution. Change the line in layout "Schema Markup":
    Code:
        "image": "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:variable name="CompanyLogoFileName" />",</actinic:block>
    to be:
    Code:
    "image": "<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFStandard%22%20%2f%3e" ><actinic:variable name="CatalogURL" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsBaseHREFSSL%22%20%2f%3e" ><actinic:variable name="SSLCatalogURL" /></actinic:block><actinic:block php="true">echo basename('<actinic:variable name="CompanyLogoFileName" encoding="perl" selectable="false" />');</actinic:block>",</actinic:block>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

  • #2
    Thanks for reporting, Norman. I have raised a bug report, ticket SD-7869
    Bruce Townsend
    Ecommerce Product Manager
    Sellerdeck Ecommerce Solutions

    Comment

    Working...
    X