You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks guys for this plugin, thats save hours of life :)
now the issue :
Seems when a variant is disabled, he's still appears in the block
<!-- BEGIN BLOCK | event name: "dedi_sylius_seo_plugin.rich_snippets", block name: "dedi_seo_metatags", template: "@DediSyliusSEOPlugin/Shop/Header/_richSnippets.html.twig", priority: 0 --><scripttype="application/ld+json">[{"@context":"https://schema.org","@type":"Product","name":"Product","description":null,"gtin13":"7610137298367","offers":[{"@type":"Offer","url":"http://127.0.0.1/fr_FR/products/test-1017","priceCurrency":"CHF","price":"20.0","availability":"https://schema.org/InStock"},{"@type":"Offer","url":"http://127.0.0.1/fr_FR/products/test-1017","priceCurrency":"CHF","price":"5.9","availability":"https://schema.org/InStock"}// <== We dont want u, u r disabled]}]</script>
here, there is only one variant enable for this product (the second is disable, and must not appears on product page). There is a config for this ? or need a pr to fix this ?
The text was updated successfully, but these errors were encountered:
cbastienbaron
added a commit
to cbastienbaron/sylius-seo-plugin
that referenced
this issue
Jul 3, 2024
Hi 🖖 ,
First, thanks guys for this plugin, thats save hours of life :)
now the issue :
Seems when a variant is disabled, he's still appears in the block
here, there is only one variant enable for this product (the second is disable, and must not appears on product page). There is a config for this ? or need a pr to fix this ?
The text was updated successfully, but these errors were encountered: