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

#   Pinterest Rich Pins

##

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

Less More

- Posts: 49
- Thank you received: 1
-
-

11 years 4 months ago [\#206365](#206365) by [ahacreative](/forum/user/36037-ahacreative "View ahacreative's Profile")  *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#206365 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")* was created by *[ahacreative](/forum/user/36037-ahacreative "View ahacreative's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.27
-- Browser(s) name and version -- : Firefox 36.0.4
-- Error-message(debug-mod must be tuned on) -- : N/A

Hi,

This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to "pin" products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.

Here is the meta tags example:

&lt;meta property="og:title" content="Name of your product" /&gt;
&lt;meta property="og:type" content="product" /&gt;
&lt;meta property="og:price:amount" content="1.00" /&gt;
&lt;meta property="og:price:currency" content="USD" /&gt;

The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.

Any ideas on how/where to accomplish this?

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

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

Less More

- Posts: 49
- Thank you received: 1
-
-

11 years 4 months ago [\#206370](#206370) by [ahacreative](/forum/user/36037-ahacreative "View ahacreative's Profile")  Replied by *[ahacreative](/forum/user/36037-ahacreative "View ahacreative's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#206370 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

Please disregard the above question. I've found a solution. ITPMeta Extension for Joomla:

[ extensions.joomla.org/extension/itpmeta](http://extensions.joomla.org/extension/itpmeta)

Just install the package, then enable the plugin. Once inside the component, make sure to update the library for it. Seems like this will work!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc4MDctcGludGVyZXN0LXJpY2gtcGlucz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

11 years 4 months ago [\#206368](#206368) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#206368 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

Hi,

These tags are meta tags, and thus need to be added in the header of the page, not in the middle of it.
The title and type tags (and others like the URL, the image, etc) are actually already added to the header of the product pages by the HikaShop social networks plugin if you have the Facebook like button activated as Facebook require them for their like button.
So you would just have to add the amount and currency tags and it should work.
The best would be to modify the file plugins/system/hikashopsocial/hikashopsocial.php and add the extra meta tags to the ones already added by the plugin.

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

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

Less More

- Posts: 31
- Thank you received: 2
-
-

10 years 6 months ago -  10 years 6 months ago [\#239087](#239087) by [drfenning](/forum/user/31596-drfenning "View drfenning's Profile")  Replied by *[drfenning](/forum/user/31596-drfenning "View drfenning's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#239087 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

What did you put for "content" in the price field to get it to pull global content from hikashop?

Last edit: 10 years 6 months ago by [drfenning](/forum/user/31596-drfenning "View drfenning's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc4MDctcGludGVyZXN0LXJpY2gtcGlucz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

10 years 6 months ago [\#239102](#239102) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#239102 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

Hi,

The price is not loaded in the social plugin. So you would first need to call the getPrices function of the class.currency of HikaShop on $element and then you could get the price from Code:

$element-&gt;prices[0]-&gt;price_value

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

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

Less More

- Posts: 31
- Thank you received: 2
-
-

10 years 6 months ago [\#239311](#239311) by [drfenning](/forum/user/31596-drfenning "View drfenning's Profile")  Replied by *[drfenning](/forum/user/31596-drfenning "View drfenning's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#239311 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

thanks, but this is greek to me. :S

is this within hikashop code or in the ITP meta "content" field?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 6 months ago [\#239327](#239327) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#239327 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

Hi,

This is within HikaShop code, more precisely in the "hikashopsocial" plugin.
It require PHP knowledges.

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

- **[Masters](/forum/user/46422-masters "View Masters's Profile")**
- [![Masters's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46422.jpg)](/forum/user/46422-masters "View Masters's Profile")
- [ Offline](/forum/user/46422-masters)

Less More

- Posts: 24
- Thank you received: 0
-
-

9 years 4 months ago -  9 years 4 months ago [\#273282](#273282) by [Masters](/forum/user/46422-masters "View Masters's Profile")  Replied by *[Masters](/forum/user/46422-masters "View Masters's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#273282 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

Hi there, I know this is an old post, but relevant still... I followed the instructions in

/plugins/system/hikashopsocial/hikashopsocial.php

and added the new lines Code:

if(isset($types[ (int)$plugin-&gt;params['fb_type']])) $this-&gt;meta['property="og:type"']='&lt;meta property="og:price:amount" content="$element-&gt;prices[0]-&gt;price_value" /&gt; '; if(isset($types[ (int)$plugin-&gt;params['fb_type']])) $this-&gt;meta['property="og:type"']='&lt;meta property="og:price:currency" content="USD" /&gt; ';

But for some reason still is not acknowledging the information for Pinterest Rich Pins... thoughts?

Last edit: 9 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc4MDctcGludGVyZXN0LXJpY2gtcGlucz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 years 4 months ago [\#273302](#273302) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pinterest Rich Pins](/forum/26-product-category-display/877807-pinterest-rich-pins#273302 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Firefox 36.0.4 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi,  This isn't necessarily a problem. I do have a questions though. Pinterest recently unveiled Rich Pins. Rich Pins allow users to &quot;pin&quot; products from a website and get real-time pricing, availabilty, etc. It requires the use of OG tags or meta tags on the individual product page.  Here is the meta tags example:       The only way I can even think to add something like this to individual products is in the description. However, Hikashop/Joomla strips the tags out upon saving. Even when using Sourcerer to insert the code.  Any ideas on how/where to accomplish this?")*

Hi,

If you've added your code in the same function where you have the others $this-&gt;meta meta data variables that are set, note that they will only be added if you have the facebook button display enabled in the settings of the plugin.
Would that be the reason ?
Also, the lines Code:

if(isset($types[ (int)$plugin-&gt;params['fb_type']]))

means that your meta data will only be added if you've selected a type in the type setting of the plugin. So please check on that or remove these "if"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc4MDctcGludGVyZXN0LXJpY2gtcGlucz90bXBsPW1hcmtkb3du) 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.066 seconds

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