Quote:
Originally Posted by kellie spicknell
hi all
i want to put a link on facebook to my product so as it shows the pic and description, but cant work it out
anyone?
|
Ecwid is an AJAX application, it means that products, categories and all the other content of your store is delivered to a visitor dynamically using JavaScript. This allows you to easily use your Ecwid storefront on numerous web sites, blogs and social networks simultaneously, never care of system upgrades or other boring technical stuff and deliver your store to your clients faster than other shopping carts can.
When you share your product link, Facebook requests the content of the page to be shared and surrounds the placed link with downloaded text and images. However Facebook cannot parse JavaScript code which represents the product on that page and parses the other parts of the page instead. That is why Facebook could not add the appropriate description and photo to the link you tried to share.
This can be easily resolved and there are two ways to do it. Which one you use depends on where you want a shared product link to be placed - on your personal Facebook page or on any other Facebook page.
1. As you probably know the easiest way to share some content on your personal page in Facebook is to use a related ‘like’ button. Such button can be displayed on an Ecwid product page if the ‘Show like buttons’ option is enabled in your Ecwid Control Panel (System Settings / Social Tools / Like Button). When it is enabled, sharing a product URL on your personal Facebook page is as simple as clicking the ‘Like’ button on a product page inside your Ecwid store. Please notice that the built-in ‘Like Buttons’ functionality is available for Silver plan accounts only. Thus you need to upgrade to be able to use it.
2. The method above cannot be used if you want to share a product link on another Facebook page. For being able to do it you can use the following simple solution.
Instead of an actual product details page address use the following one for placing in Facebook:
http://app.ecwid.com/sharer?ownerid=<store ID>&productid=
<product ID>
where
<store ID> should be replaced with your Ecwid store ID, which can be found in your Ecwid Control Panel (
http://kb.ecwid.com/w/page/15853282/...)
and
<product ID> should be replaced with the ID of the product you want to share. The following document describes how a product ID can be found:
http://kb.ecwid.com/w/page/23947812/...
When you share such URL, the Facebook will request a special page from Ecwid that contains all the necessary data about the product in the format Facebook understands, so the link will be accompanied with the right description and picture of your product.
I hope it helps.
If my understanding of your question isn’t right, then please describe the issue in more details.
UPDATE: it is now possible to share your products on Facebook right from your control panel (no special link is required):
http://kb.ecwid.com/w/page/60502675/...