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.
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.
Posted 27 February 2017 - 03:31 PM #2
Posted 28 February 2017 - 06:52 AM #3
Default Social buttons module can show these tags.
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.
Product pages etc are fine.
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
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
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?
Posted 09 January 2019 - 01:39 PM #10
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
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?
https://www.facebook.com/digitalsave/
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
Posted 20 December 2020 - 04:03 PM #15
As far as I understand 4.12.1 has open graph integrated, but for some reason I do not find lines
"og:description" price in stock included? Where do I check this in code?
Posted 21 December 2020 - 06:33 AM #16
In 4.12 check the fn_seo_get_schema_org_markup_items function (app/addons/seo/func.php)
Posted 21 December 2020 - 07:58 AM #17
Its in the list, but not shown in view source page for some reason. Have no were to check since cs-cart demo does not have any of og: lines in view source..
$product_item = [ '@context' => 'http://schema.org/', '@type' => 'http://schema.org/Product', 'name' => fn_seo_get_schema_org_product_name($product_data), 'sku' => fn_seo_get_schema_org_product_sku($product_data), 'gtin' => fn_seo_get_schema_org_product_feature($product_data['schema_org_features'], 'gtin'), 'mpn' => fn_seo_get_schema_org_product_feature($product_data['schema_org_features'], 'mpn'), 'brand' => fn_seo_get_schema_org_product_brand($product_data), 'description' => fn_seo_get_schema_org_product_description($product_data), 'image' => fn_seo_get_schema_org_product_image($product_data), 'offers' => [], ];
Posted 21 December 2020 - 01:36 PM #18
Have you tried to debug the $product_item array?