Jump to content

Edit History

pixelicous

pixelicous

Well i thought i had it going.. but i don't

But it is still moving forward.. Hopefully soon i will be able to post a complete solution.

The following got my social buttons to share correctly and for seo to be a bit better. still having itemprop missing stuff.

On 5/7/2020 at 12:33 PM, PS.6thFNGR said:

Replace the template.tpl Data with this. If the quote is breaking the lines, just see at GitHUb: https://github.com/PrestaShop/PrestaShop/issues/19017

Somebody over at that link recommended to download the classic rocket theme.

From that theme, you need to copy microdata-jsonld.tpl to your theme (same location as that original file)
I also copied pagination-seo.tpl (same location as that original file)

Then open the file /themes/your theme/templates/_partials/head.tpl
Under head_seo block include the following close to the {/block} closing tag

{include file="_partials/microdata-jsonld.tpl"}
{include file="_partials/pagination-seo.tpl"}

You might need additional modifications that i'm not aware or, or maybe you are using a theme that overrides something so it blocks it.

 

EDIT: Well the above seems to be true, on product pages the search console shows far better results, the only missing fields i have are for actualy fields i didnt fill, like SKU (which is reference number on product page).

The problem is that all other products on that page (if you have addition products shown below), or even at the homepage, only the "Type" "name" and "price" gets filled in. WIll probably fix it.. so i will follow up on this.

 

pixelicous

pixelicous

Well i thought i had it going.. but i don't

But it is still moving forward.. Hopefully soon i will be able to post a complete solution.

The following got my social buttons to share correctly and for seo to be a bit better. still having itemprop missing stuff.

On 5/7/2020 at 12:33 PM, PS.6thFNGR said:

Replace the template.tpl Data with this. If the quote is breaking the lines, just see at GitHUb: https://github.com/PrestaShop/PrestaShop/issues/19017

Somebody over at that link recommended to download the classic rocket theme.

From that theme, you need to copy microdata-jsonld.tpl to your theme (same location as that original file)
I also copied pagination-seo.tpl (same location as that original file)

Then open the file /themes/your theme/templates/_partials/head.tpl
Under head_seo block include the following close to the {/block} closing tag

{include file="_partials/microdata-jsonld.tpl"}
{include file="_partials/pagination-seo.tpl"}

You might need additional modifications that i'm not aware or, or maybe you are using a theme that overrides something so it blocks it.

 

pixelicous

pixelicous

I followed 

On 5/7/2020 at 12:33 PM, PS.6thFNGR said:

Replace the template.tpl Data with this. If the quote is breaking the lines, just see at GitHUb: https://github.com/PrestaShop/PrestaShop/issues/19017

Somebody over at that link recommended to download the classic rocket theme.

From that theme, you need to copy microdata-jsonld.tpl to your theme (same location as that original file)
I also copied pagination-seo.tpl (same location as that original file)

Then open the file /themes/your theme/templates/_partials/head.tpl
Under head_seo block include the following close to the {/block} closing tag

{include file="_partials/microdata-jsonld.tpl"}
{include file="_partials/pagination-seo.tpl"}

You might need additional modifications that i'm not aware or, or maybe you are using a theme that overrides something so it blocks it.

Once i did that, everything is golden, even social media share buttons started to actually share the image!

 

×
×
  • Create New...