moh
1
Hi, I'm trying to add opengraph to my site. I've just enabled the Social buttons addon which adds everything I need this except for product id.
I've tried adding this to custom html section on the Product page in Layouts:
But it doesn't work. Any ideas how I can get the product id for each product page?
Thanks!
Hello
Did you clear cache after changes ?
Best regards
Robert
moh
3
Yeah instead of
content="7506" for example
it actually shows:
content="{$product.product_id}">
on each page. how do I get it to show the individual product id?
thanks
Hello
Please send link where could i see him.
Best regards
Robert
You cannot use SMARTY code in the HTML description of products.
For example, use My changes addon and index:meta hook to add required data