og: tag for first image #297
Replies: 2 comments
-
|
I am not working with that widget so I am not 100% sure about the implementation. Do you have to have a graph tag in the head? Or is the a custom link that can be done in the body of the html? They would both be custom template modifications and I would probably try to use js from the product detail template to update the graph tag in the head. You can set the graph tag in a custom os_FrontOfficePageHeader.cshtml. Then you can update the image url using js from within a custom ProductDisplayDetail.cshtml template. You may also be able to accomplish the task by only modifying the ProductDisplayDetail and appending the head with a graph tag by using js. If someone knows a better way then hopefully they'll speak up. |
Beta Was this translation helpful? Give feedback.
-
|
That was really helpful, Thanks again |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have added a pinterest share button to each product, however it is only pulling the sites logo. Can you advise how I can assign the open graph tag to the first image assigned to the product?
Thanks
Roger
Beta Was this translation helpful? Give feedback.
All reactions