| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
og:image for social media sharing | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
og:image for social media sharing
Hi all,
Trying to find a simple way of creating a dynamic og:image for my Xcart store pages. For product X, we want a relevant image, another for product Y etc. Easy to do a static one that's the same across the whole site (surprisingly even that's not a standard output of Xcart), but it's a dynamic one I'm after. Anyone done this before or know of an easy way to do this? Thanks!
__________________
Xcart 5.2.15 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: og:image for social media sharing
Actually, XC5 does populate the og:image meta tag with image created from the product picture - check this page: https://demostore.x-cart.com/dota-2-sniper-plush.html
And you can adjust the og: tags for a product (see the "Open Graph meta tags" field when editing a product). Is this working for your site?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: og:image for social media sharing
Strange. I don't have that feature: https://www.sturdrinks.eu/shop/goodness-green-apple.html?category_id=2
Do you know which version of Xcart 5 was it released in?
__________________
Xcart 5.2.15 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: og:image for social media sharing
Do you have this module installed and enabled?
https://market.x-cart.com/addons/go-social.html
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#5
|
|||||||
|
|||||||
Re: og:image for social media sharing
Aha! No I don't. Activating that now.
__________________
Xcart 5.2.15 |
|||||||
#6
|
|||||||
|
|||||||
Re: og:image for social media sharing
That's fixed it on product pages but it's not adding any tags to category pages and the shop homepage. What could cause that? I've cleared the aggregation cache and widget cache with no effect.
__________________
Xcart 5.2.15 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: og:image for social media sharing
It should work - as far as I see, in the source code of the 5.2.x version of the module, there is the code that render Open Graph meta tags for categories and SimpleCMS pages: XLite\Module\CDev\GoSocial\Model\Category and XLite\Module\CDev\GoSocial\Model\Page
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#8
|
|||||||
|
|||||||
Re: og:image for social media sharing
Thanks. What do you think could be stopping it working on my site?
__________________
Xcart 5.2.15 |
|||||||
#9
|
|||||||||
|
|||||||||
Re: og:image for social media sharing
Unfortunately, I can't guess this. You need someone to check this on your server.
Did you contact our support staff? https://secure.x-cart.com/
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#10
|
|||||||
|
|||||||
Re: og:image for social media sharing
Hi ! I have the same problem (it's not adding any tags to category pages and the shop homepage) but support says I have to update the product to 5.3, that they are not supporting 5.2 (even though its a bug). Is there any way to fix this ?
__________________
X-Carting since 2006 |
|||||||
|
|||
X-Cart forums © 2001-2020
|