Jump to content

Edit History

Pedro Armiñanzas

Pedro Armiñanzas


actualización

Hola Gusman126, aprovecho que el post está abierto todavía.

He revisado el post al que haces referencia y me queda el código así, aunque no me funciona...

   {block name='product_price'}
    <meta itemprop="brand" content="{$product.brand}">
    <meta itemprop="MPN" content="{$product.ean13}">
      <div
        class="product-price h5 {if $product.has_discount}has-discount{/if}"
        itemprop="offers"
        itemscope
        itemtype="https://schema.org/Offer">
        <link itemprop="availability" href="https://schema.org/InStock"/>
        <meta itemprop="priceCurrency" content="{$currency.iso_code}">
        <meta itemprop="url" content="{$product.url}" />

        {assign var="dateprice" value="+1 year"|date_format:"%Y-%m-%d"}
            {if $product.specificPrice && $product.specificPrice.reduction && $productPriceWithoutReduction > $productPrice && $product.specificPrice.to && $product.specificPrice.to!= '0000-00-00 00:00:00'}<meta itemprop="priceValidUntil" content="{$product.specificPrice.to|date_format:'%Y-%m-%d'}">{else}
        <meta itemprop="priceValidUntil" content="{$dateprice}">{/if}


Me sigue dando advertencias para "aggregateRating", "review" , "GTIN, un MPN o un ISBN", "priceValidUntil" 

¿Puede ser porque haya más archivos que lleven el codigo de “offers” y haya que incluirlo en ellos también?

Añado el enlace de mi tienda por si hiciera falta...

https://articulosdepoker.com/es/

Pedro Armiñanzas

Pedro Armiñanzas

Hola Gusman126, aprovecho que el post está abierto todavía.

He revisado el post al que haces referencia y me queda el código así, aunque no me funciona...

   {block name='product_price'}
    <meta itemprop="brand" content="{$product.brand}">
    <meta itemprop="MPN" content="{$product.ean13}">
      <div
        class="product-price h5 {if $product.has_discount}has-discount{/if}"
        itemprop="offers"
        itemscope
        itemtype="https://schema.org/Offer">
        <link itemprop="availability" href="https://schema.org/InStock"/>
        <meta itemprop="priceCurrency" content="{$currency.iso_code}">
        <meta itemprop="url" content="{$product.url}" />

        {assign var="dateprice" value="+1 year"|date_format:"%Y-%m-%d"}
            {if $product.specificPrice && $product.specificPrice.reduction && $productPriceWithoutReduction > $productPrice && $product.specificPrice.to && $product.specificPrice.to!= '0000-00-00 00:00:00'}<meta itemprop="priceValidUntil" content="{$product.specificPrice.to|date_format:'%Y-%m-%d'}">{else}
        <meta itemprop="priceValidUntil" content="{$dateprice}">{/if}


Me sigue dando advertencias para "aggregateRating", "review" , "GTIN, un MPN o un ISBN", "priceValidUntil" 

¿Puede ser porque haya más archivos que lleven el codigo de “offers” y haya que incluirlo en ellos también?

×
×
  • Create New...