Announcement

Collapse
No announcement yet.

ReadyTheme Rich Snippets Code Deprecated

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

  • Matt Zimmermann
    replied
    Hi Leslie,

    Do you have this in your code?
    Code:
    <mvt:assign name="l.settings:product:stripped_descrip" value="miva_html_strip(l.settings:product:descrip, '')"/>

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Matt Zimmermann View Post
    Hi Leslie,

    This is the way I am doing it with Shadows v2:
    • Create a JavaScript Resource
      • Code: product-json-ld
      • Type: Inline Script
      • Tag Attributes: type="application/ld+json"
      • Global: Off
      • Active: On
    • Assign it to the PROD page
    • Assign it to the footer_js Resource Group
    • Edit the source and paste in the code from here: https://gist.github.com/influxweb/ff...f96eeb8039ab5b
    I've got an issue with the "description": "&mvtj:product:stripped_descrip;", being blank for every product. Every product has content in the Product Description field.

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Leslie,

    Yes, otherwise it just uses the product price.

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Matt Zimmermann View Post
    Hi Leslie,

    This is the way I am doing it with Shadows v2:
    • Create a JavaScript Resource
      • Code: product-json-ld
      • Type: Inline Script
      • Tag Attributes: type="application/ld+json"
      • Global: Off
      • Active: On
    • Assign it to the PROD page
    • Assign it to the footer_js Resource Group
    • Edit the source and paste in the code from here: https://gist.github.com/influxweb/ff...f96eeb8039ab5b
    That's what I already have in place - does the code require that Inventory Variants be used? The site doesn't.

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Leslie,

    This is the way I am doing it with Shadows v2:
    • Create a JavaScript Resource
      • Code: product-json-ld
      • Type: Inline Script
      • Tag Attributes: type="application/ld+json"
      • Global: Off
      • Active: On
    • Assign it to the PROD page
    • Assign it to the footer_js Resource Group
    • Edit the source and paste in the code from here: https://gist.github.com/influxweb/ff...f96eeb8039ab5b

    Leave a comment:


  • lesliekirk
    replied
    Matt Zimmermann how to you include attribute prices?

    Leave a comment:


  • William Davis
    replied
    Originally posted by Bruce - PhosphorMedia View Post
    the if should probably be l.settings:availability_inv_level and EQ means the must match exactly. make sure they actual terms are low and out and not Low and Out
    Dont understand what you meant.

    Leave a comment:


  • Bruce - PhosphorMedia
    replied
    the if should probably be l.settings:availability_inv_level and EQ means the must match exactly. make sure they actual terms are low and out and not Low and Out

    Leave a comment:


  • William Davis
    replied
    Why would the following snippet only render the same value in PROD source: "availability": "http://schema.org/InStock",?

    Code:
    <mvt:if expr="l.availability_inv_level EQ 'low'">
        "availability": "http://schema.org/LimitedAvailability",
    <mvt:elseif expr="l.availability_inv_level EQ 'out'">
        "availability": "http://schema.org/SoldOut",
    <mvt:else>
        "availability": "http://schema.org/InStock",
    </mvt:if>
    Finally, both of these "tokens" render the same values, whats the difference between the two tokens?

    Code:
    &mvte:product:code;
     &mvtj:product:code;
    Last edited by William Davis; 04-30-20, 01:00 PM.

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Leslie,

    Yes, create the resource group and add the item, <mvt:item name="head" param="footer_js" />, to the bottom of the PROD page. Alternately, you can add that to the global footer for future expansion.

    Leave a comment:


  • joseibarra
    replied
    I see... I will wait until the wee hours since this store gets quite a bit of North America traffic until 2-3AM.

    That was not obvious to me but I dn't know much about what all this means so maybe you will adjust your Steps :-)

    Leave a comment:


  • Matt Zimmermann
    replied
    Go back to JavaScript Resources, click product-json-ld, and you will be able to proceed.

    Leave a comment:


  • joseibarra
    replied
    Things are fine until:
    • Click "Pages" and select "PROD"
    • Click "Resource Groups" and select "footer_js"
    I see nothing how to "have the product-json-ld script selected" and no Edit Source

    I'll see if I can post a screenshot or attach an image...



    Here is the image on my OneDrive:

    https://1drv.ms/u/s!AlzCDddLSsKoghYV...tvrFz?e=LDs0Ln




    Leave a comment:


  • Matt Zimmermann
    replied
    If you have the product-json-ld script selected, you should see Edit Source as the fifth button between the trash can and Edit Attributes.

    Leave a comment:


  • joseibarra
    replied
    Not really knowing much about adding JSON-LD data I followed the steps up to step 10 then on Step 11 I do not see "Edit Source"...

    I see buttons for CSS Resources and JavaScript Resources so am I not looking in the right place?

    Leave a comment:

Working...
X