Jump to content

Structured Data viser SEK i stedet for DK


Recommended Posts

Hej med jer.

 

Ville lige høre om der er nogen herinde der kan hjælpe med et lille problem der er opstået efter jeg har tilføjet kode til structured data.

 

Google insistere simpelthen på, at mine priser er i SEK i stedet for DK.

 

Koden i product.tpl ser således ud:

<p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
{$rightPrice = {convertPrice price=$productPrice[spam-filter]
 
{if $priceDisplay >= 0 && $priceDisplay <= 2}
    {if $currencyFormat == 1 || $currencyFormat == 3}
        <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {$currencySign} <span id="our_price_display">{$rightPrice|regex_replace:"/[\\{$currencySign}]/":""}</span>
    {else}
        <span id="our_price_display" itemprop="price">{$rightPrice|regex_replace:"/[\\{$currencySign}]/":""}</span> {$currencySign}
    {/if}
 
Mvh.
Nikolaj

 

Link to comment
Share on other sites

Der findes jo masser af moduler til dette, har du kigget på dem? Ofte nemmere end at opfinde den dybe tallerken selv:.-)

 

http://addons.prestashop.com/en/seo-prestashop-modules/9030-shopapps-rich-snippets.html

http://addons.prestashop.com/en/seo-prestashop-modules/3878-google-rich-snippets.html

http://addons.prestashop.com/en/seo-prestashop-modules/6144-google-rich-snippets-product-ratings-and-reviews.html

 

Med mindre du bruger 1.6 som ovenstående moduler ikke er optimeret til.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...