Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Facebook Open Graph Tags - Where To Place? Rate Topic   - - - - -

 

Posted 27 February 2017 - 03:08 PM #1

Hello

 

I have these tags I want to add for blog posts.  Where would I add these?  I tried to add into the post using HTML editor but does not work.

 

<meta property="og:title" content="The Nokia 3310 is back!" />
<meta property="og:type" content="article" />
<meta property="og:image" content="http://www.digitalsa...331-header.jpg"/>
<meta property="og:url" content="http://www.digitalsa...okia-3310.html"/>
<meta property="og:description" content="The Nokia 3310 is back - read about what we learned from the World Mobile Congress now"/>
<meta property="fb:admins" content="10154989022652248"/>


 

Posted 27 February 2017 - 03:31 PM #2

Does anything like this exist for CS Cart?

 

https://www.numinix....book-open-graph



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18934 posts

Posted 28 February 2017 - 06:52 AM #3

Default Social buttons module can show these tags.


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 28 February 2017 - 12:23 PM #4

Hello

 

The problem I have relates to blog pages.  When shared on Facebook (or run through the FB debugger) no image is used.  I get these warnings.

 

Capture.jpg

 

Product pages etc are fine.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18934 posts

Posted 28 February 2017 - 12:47 PM #5

Please edit the following file

 

design/themes/THEME/templates/addons/blog/hooks/pages/page_content.pre.tpl


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 28 February 2017 - 04:15 PM #6

So what would I edit in here to fix those FB errors?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18934 posts

Posted 01 March 2017 - 07:27 AM #7

So what would I edit in here to fix those FB errors?

 

As far as I can see, this page has tags from Social buttons module. Looks like it is required to rework the module a little bit to fix these errors


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 09 January 2019 - 01:12 PM #8

Resurrecting this thread.  The FB debugger has been working fine for a while, scraping images etc from the page appropriately.  Unfortunately it will no longer pull correct images through for blog posts.  Product pages are fine.

Has anyone got a solution for this problem?  Where do I add the meta property tags for each individual blog post - specifically the <meta property="og:image" tag.

Thanks



 

Posted 09 January 2019 - 01:16 PM #9

I know it needs to go in the page HEAD code - but how can I edit head code for each individual page/post rather than the entire site head code?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18934 posts

Posted 09 January 2019 - 01:39 PM #10

Please pay attention to our Open Graph addon

 

https://www.ecom-lab...aph-add-on.html


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 09 January 2019 - 02:17 PM #11

How do you use for blog posts?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18934 posts

Posted 10 January 2019 - 05:30 AM #12

How do you use for blog posts?

 

Blog posts can be set up in the Pages section since they are just pages with own type


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 10 January 2019 - 02:27 PM #13

Thanks, I've bought it.  Only issue is its put's a white box (highlighted in yellow) around the image for Facebook, how can I fill the box? 

Capture.jpg

https://www.facebook.com/digitalsave/



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18934 posts

Posted 11 January 2019 - 06:22 AM #14

In the source code of the blog page I do not see code of our module. Please contact us in our HelpDesk


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.