[Skip to main content](#vessel-content)

#   Add currency to google rich snippets

##

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 9 months ago [\#145352](#145352) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add currency to google rich snippets](/forum/4-how-to/85744-add-currency-to-google-rich-snippets?start=20#145352 "Hi,  I've noticed when Google displays my products my item is listed in US Dollars - I'm assuming this is because I'm not giving google a rich snippet to say it should be in Australian Dollars (AUD).  So far i've worked out google is getting the snippet price from this field:  It it possible to somehow easily add AUD or similar into this code? I'm reasonably familiar with PHP/javascript and can do basic modification - if you could at least point me towards the files where I could edit this I'd appreciate it :)  I fear having the &quot;US&quot; currency listed in my google results will drive domestic customers away who are my main target base.  An example of one of my pages is here:   www.geekbyte.com.au/index.php/component/...blood-splatter-apron  I'm also happy to hard-code it into my site somehow to get this info correctly displayed")*

Hi,

Regarding the website "schema.org", the tag should be "princeCurrency".
[ schema.org/priceCurrency](http://schema.org/priceCurrency)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1NzQ0LWFkZC1jdXJyZW5jeS10by1nb29nbGUtcmljaC1zbmlwcGV0cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")**
- [![Mitrax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8602-mitrax "View Mitrax's Profile")
- [ Offline](/forum/user/8602-mitrax)

Less More

- Posts: 76
- Thank you received: 5
- [](http://www.mitrax.com.au)
-

12 years 9 months ago [\#145353](#145353) by [Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")  Replied by *[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")* on topic *[Add currency to google rich snippets](/forum/4-how-to/85744-add-currency-to-google-rich-snippets?start=20#145353 "Hi,  I've noticed when Google displays my products my item is listed in US Dollars - I'm assuming this is because I'm not giving google a rich snippet to say it should be in Australian Dollars (AUD).  So far i've worked out google is getting the snippet price from this field:  It it possible to somehow easily add AUD or similar into this code? I'm reasonably familiar with PHP/javascript and can do basic modification - if you could at least point me towards the files where I could edit this I'd appreciate it :)  I fear having the &quot;US&quot; currency listed in my google results will drive domestic customers away who are my main target base.  An example of one of my pages is here:   www.geekbyte.com.au/index.php/component/...blood-splatter-apron  I'm also happy to hard-code it into my site somehow to get this info correctly displayed")*

Thank Jerome,

I tried that as well but it didn't seem to work either .. I'll try again and get back to you.

Regards
Robb

---

MItrax Trading
[ www.mitrax.com.au](http://www.mitrax.com.au)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1NzQ0LWFkZC1jdXJyZW5jeS10by1nb29nbGUtcmljaC1zbmlwcGV0cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")**
- [![Mitrax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8602-mitrax "View Mitrax's Profile")
- [ Offline](/forum/user/8602-mitrax)

Less More

- Posts: 76
- Thank you received: 5
- [](http://www.mitrax.com.au)
-

12 years 9 months ago [\#145355](#145355) by [Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")  Replied by *[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")* on topic *[Add currency to google rich snippets](/forum/4-how-to/85744-add-currency-to-google-rich-snippets?start=20#145355 "Hi,  I've noticed when Google displays my products my item is listed in US Dollars - I'm assuming this is because I'm not giving google a rich snippet to say it should be in Australian Dollars (AUD).  So far i've worked out google is getting the snippet price from this field:  It it possible to somehow easily add AUD or similar into this code? I'm reasonably familiar with PHP/javascript and can do basic modification - if you could at least point me towards the files where I could edit this I'd appreciate it :)  I fear having the &quot;US&quot; currency listed in my google results will drive domestic customers away who are my main target base.  An example of one of my pages is here:   www.geekbyte.com.au/index.php/component/...blood-splatter-apron  I'm also happy to hard-code it into my site somehow to get this info correctly displayed")*

Hi Jerome,

The property priceCurrency doesnt show up on the structured data test tool either.

Regards
Rob

---

MItrax Trading
[ www.mitrax.com.au](http://www.mitrax.com.au)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1NzQ0LWFkZC1jdXJyZW5jeS10by1nb29nbGUtcmljaC1zbmlwcGV0cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

12 years 9 months ago [\#145364](#145364) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add currency to google rich snippets](/forum/4-how-to/85744-add-currency-to-google-rich-snippets?start=20#145364 "Hi,  I've noticed when Google displays my products my item is listed in US Dollars - I'm assuming this is because I'm not giving google a rich snippet to say it should be in Australian Dollars (AUD).  So far i've worked out google is getting the snippet price from this field:  It it possible to somehow easily add AUD or similar into this code? I'm reasonably familiar with PHP/javascript and can do basic modification - if you could at least point me towards the files where I could edit this I'd appreciate it :)  I fear having the &quot;US&quot; currency listed in my google results will drive domestic customers away who are my main target base.  An example of one of my pages is here:   www.geekbyte.com.au/index.php/component/...blood-splatter-apron  I'm also happy to hard-code it into my site somehow to get this info correctly displayed")*

I invite you to read the documentation of Google on the rich snippet for products:
[ support.google.com/webmasters/answer/146750?hl=en](https://support.google.com/webmasters/answer/146750?hl=en)

> Non-visible text
>
> In general, Google will use only marked-up data that is visible to the user. Hidden data will be ignored. However, in a few circumstances, it can be useful to provide both a machine-readable and a human-readable version of your content. For example, while the text string "Elvis's birthday" is significant to a great many human readers, it's not as meaningful to search engines as 1935-01-08. Similarly, human readers can infer the meaning of the $ symbol, but it can be useful to specifically tell search engines whether your prices are in pesos or dollars.
>
> Google recognizes specific machine-readable values for the following Product tags:
>
> category
> priceValidUntil
> currency
> price
> identifier
> condition
> The following example describes the condition of an item, providing Google with the machine-readable value used while displaying a text equivalent (Previously owned but in excellent condition) to the human reader.
>
> &lt;span itemprop="condition" content="used"&gt;Previously owned but in excellent condition&lt;/span&gt;
> Use the meta tag to specify content that is not visible on the page in any way. For example, to indicate to Google that your price is in USD, do this:
>
> &lt;meta itemprop="currency" content="USD" /&gt;

which is exactly what my modification adds to your pages. If the tool of Google doesn't pick it up, maybe it's a caching issue on their end until they reprocess the page ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1NzQ0LWFkZC1jdXJyZW5jeS10by1nb29nbGUtcmljaC1zbmlwcGV0cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")**
- [![Mitrax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8602-mitrax "View Mitrax's Profile")
- [ Offline](/forum/user/8602-mitrax)

Less More

- Posts: 76
- Thank you received: 5
- [](http://www.mitrax.com.au)
-

12 years 9 months ago [\#145368](#145368) by [Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")  Replied by *[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")* on topic *[Add currency to google rich snippets](/forum/4-how-to/85744-add-currency-to-google-rich-snippets?start=20#145368 "Hi,  I've noticed when Google displays my products my item is listed in US Dollars - I'm assuming this is because I'm not giving google a rich snippet to say it should be in Australian Dollars (AUD).  So far i've worked out google is getting the snippet price from this field:  It it possible to somehow easily add AUD or similar into this code? I'm reasonably familiar with PHP/javascript and can do basic modification - if you could at least point me towards the files where I could edit this I'd appreciate it :)  I fear having the &quot;US&quot; currency listed in my google results will drive domestic customers away who are my main target base.  An example of one of my pages is here:   www.geekbyte.com.au/index.php/component/...blood-splatter-apron  I'm also happy to hard-code it into my site somehow to get this info correctly displayed")*

Nicolas,

Agree

&lt;meta itemprop="priceCurrency" content="USD" /&gt;

is exactly what is needed but it appears it needs to be nested in offer.

Acknowledging that I have hardcoded the currency for test purposes , the following appears to resolve my issue.

[ ![h8d978d5.png](/forum/attachment/15530) ](/forum/attachment/15530 "h8d978d5.png")

Regards
Rob

---

MItrax Trading
[ www.mitrax.com.au](http://www.mitrax.com.au)

- [ ![h8d978d5.png](/forum/attachment/15530) ](/forum/attachment/15530 "h8d978d5.png") [ ](/forum/attachment/15530?download=1 "h8d978d5.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1NzQ0LWFkZC1jdXJyZW5jeS10by1nb29nbGUtcmljaC1zbmlwcGV0cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

12 years 9 months ago [\#145403](#145403) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add currency to google rich snippets](/forum/4-how-to/85744-add-currency-to-google-rich-snippets?start=20#145403 "Hi,  I've noticed when Google displays my products my item is listed in US Dollars - I'm assuming this is because I'm not giving google a rich snippet to say it should be in Australian Dollars (AUD).  So far i've worked out google is getting the snippet price from this field:  It it possible to somehow easily add AUD or similar into this code? I'm reasonably familiar with PHP/javascript and can do basic modification - if you could at least point me towards the files where I could edit this I'd appreciate it :)  I fear having the &quot;US&quot; currency listed in my google results will drive domestic customers away who are my main target base.  An example of one of my pages is here:   www.geekbyte.com.au/index.php/component/...blood-splatter-apron  I'm also happy to hard-code it into my site somehow to get this info correctly displayed")*

Hi,

Mmm. That's interesting... meta tags are usually added to the head of the page, not inside the body. That's the first time I see a meta tag used like that. They should add that information on their documentation as it's clearly non trivial.

I'll do the necessary modifications, thanks for the feedback.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1NzQ0LWFkZC1jdXJyZW5jeS10by1nb29nbGUtcmljaC1zbmlwcGV0cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")**
- [![Mitrax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8602-mitrax "View Mitrax's Profile")
- [ Offline](/forum/user/8602-mitrax)

Less More

- Posts: 76
- Thank you received: 5
- [](http://www.mitrax.com.au)
-

12 years 9 months ago [\#145427](#145427) by [Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")  Replied by *[Mitrax](/forum/user/8602-mitrax "View Mitrax's Profile")* on topic *[Add currency to google rich snippets](/forum/4-how-to/85744-add-currency-to-google-rich-snippets?start=20#145427 "Hi,  I've noticed when Google displays my products my item is listed in US Dollars - I'm assuming this is because I'm not giving google a rich snippet to say it should be in Australian Dollars (AUD).  So far i've worked out google is getting the snippet price from this field:  It it possible to somehow easily add AUD or similar into this code? I'm reasonably familiar with PHP/javascript and can do basic modification - if you could at least point me towards the files where I could edit this I'd appreciate it :)  I fear having the &quot;US&quot; currency listed in my google results will drive domestic customers away who are my main target base.  An example of one of my pages is here:   www.geekbyte.com.au/index.php/component/...blood-splatter-apron  I'm also happy to hard-code it into my site somehow to get this info correctly displayed")*

Nicolas,

It is a very unusual placement of a meta tag and like yourself I have never seen it before.

The troubleshooting tips on google help pages prompted me to think about it but I have since watched the video at the top of this page which seems to confirm the nesting requirement.

[ support.google.com/webmasters/answer/146750?hl=en](https://support.google.com/webmasters/answer/146750?hl=en)

Thanks for your help on this one..

Kind Regards
Rob

---

MItrax Trading
[ www.mitrax.com.au](http://www.mitrax.com.au)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1NzQ0LWFkZC1jdXJyZW5jeS10by1nb29nbGUtcmljaC1zbmlwcGV0cz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.077 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
