Page 3 of 3
Re: Facebook Product share
Posted: Sat Apr 17, 2010 4:27 pm
by gavin m
OK, looks like the product.tpl (\catalog\view\theme\default\template\product) was missing:
Code: Select all
<tr>
<td colspan="2"><a name="fb_share"></a></td>
</tr>
after
Code: Select all
<?php } else { ?>
<?php echo $text_no_rating; ?>
<?php } ?></td>
</tr>
This is the product.tpl from the oc_1.4.7 folder in you download tar.gz. You may want to check the download.
Once I had added this, the button appeared. will do some testing now, but it looks good to me!
Re: Facebook Product share
Posted: Sat Apr 17, 2010 4:43 pm
by gavin m
Seems to be working fine once that was added.
Pics are fine, text is fine. All looks ace.
Nice module!!
Re: Facebook Product share
Posted: Mon May 31, 2010 8:27 pm
by rossradiation
I am having a strange problem trying to create a
Post this product to facebook type link
I always get an error
Product Not Found
This is the link I am using
http://www.facebook.com/sharer.php?u=ht ... uct_id=360
for the product
http://www.ruffnready.com.au/store/inde ... uct_id=360
What am I doing wrong?
Any help would be appreciated
cheers
Ross
Re: Facebook Product share
Posted: Sun Jul 11, 2010 3:39 pm
by tezosman
Hi Guy's,
I have tried everything on this thread and cannot get the Facebook share working properly.
When the user clicks on share it does open the "Post to profile" window come up, however, there is no product image or any other information coming through.
Does anyone have an example of how they got it working?
Cheers
Re: Facebook Product share
Posted: Fri Jul 30, 2010 11:44 am
by PreSiDent
May be this code can help you share product to facebook
Demo :
http://grosirnesia.com (First, select product and find description tab)
Step 1 :
Copy and put this script on your product desc (or other place/position)
Code: Select all
<a href="http://www.facebook.com/sharer.php" name="fb_share" type="button_count">Share to Facebook </a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
Step 2 :
Open catalog/view/theme/default/template/common/header.tpl
Find :
Code: Select all
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
Replace with :
Code: Select all
<fb:share-button class="meta">
<meta name="medium" content="mult"/>
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
</fb:share-button>
this sholud be work
Re: Facebook Product share
Posted: Sun Aug 01, 2010 7:49 am
by SteveSherry
Only 1 small change to this:
PreSiDent wrote:
Step 2 :
Open catalog/view/theme/default/template/common/header.tpl
Find :
Code: Select all
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
need to replace this code instead:
Code: Select all
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
Re: Facebook Product share
Posted: Thu Aug 26, 2010 11:54 am
by felizone
no works for my site, i cannot see the item images attached in the facebook pop up window.
And the link seems not work in facebook.
I cannot see item pages by access the link.
Any one can help?
Thanks,
Felix
Re: Facebook Product share
Posted: Sat Aug 28, 2010 4:51 pm
by ifone_developer
@president: tanx a lot for ur code and explanation. But am facing the same problem still.
I can see title, thumbnail and the corresponding link but not the description which i aim for.
Is there any other changes to be done??? On admin side or somewhere???
Re: Facebook Product share
Posted: Fri Oct 22, 2010 1:37 am
by Loeffen
Nice! Like this works!
Re: Facebook Product share
Posted: Sun Mar 27, 2011 4:11 am
by miste83
PreSiDent wrote:May be this code can help you share product to facebook
Demo :
http://grosirnesia.com (First, select product and find description tab)
Step 1 :
Copy and put this script on your product desc (or other place/position)
Code: Select all
<a href="http://www.facebook.com/sharer.php" name="fb_share" type="button_count">Share to Facebook </a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></p>
Step 2 :
Open catalog/view/theme/default/template/common/header.tpl
Find :
Code: Select all
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
Replace with :
Code: Select all
<fb:share-button class="meta">
<meta name="medium" content="mult"/>
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
</fb:share-button>
this sholud be work
Does it really works??? What version do you have? Thanks.
It would be nice to make a module to share the products....
Re: Facebook Product share
Posted: Tue Apr 05, 2011 6:27 pm
by headwise
I want to purchase your product so can you explain me that what is your project name and what is your product price.
multilingual seo
Re: Facebook Product share
Posted: Sat Jun 25, 2011 5:38 pm
by debbiekipt
Hi Guys
Many thanks for this - I am new to FB and not a coder but in starting to add the code one step at a time to my products I find it seems to work when I ONLY use step one?
This is great!!
So my question is why would I need to also do step 2 and 3? What are the advantages, if any?
All images, description etc show when I only add code from step one to my pages and it sends fine when I 'share'
Obviously as a none coder, if it works simply with step one code, I prefer to just do that :-)
Many thanks again!
Re: Facebook Product share
Posted: Tue Oct 06, 2015 12:33 am
by hostbridge
hello, you know if there is any solution to the version 1.6.4?
Re: Facebook Product share
Posted: Fri Oct 09, 2015 4:51 pm
by debbiekipt
If you mean V 1.5.6.4 hostbridge, it seems not :-(
The fix above which worked for me in 2011 does not in 2015 after upgrading to 1.5.6.4