Topic-icon Share button Easy-Tags

Active Subscriptions:

None
10 years 1 week ago #43225 by kyteasdale
I've set up the Share Button with easy tags so I can import then to hikashop product layout, and having a few issues. The Pinterest one wont show at all, the facebook will only show one layout, the google+ one wont remove the box count. I followed the documentation as listed - copied and pasted the details but will not change!
<div style="float: left; margin-left: 10px;">{JFBCShare layout=button}</div>
<div style="float: left; margin-left: 10px;">{SCTwitterShare data-count=none}</div>
<div style="float: left; margin-left: 10px;">{SCPinterestShare}</div>
<div style="float: left; margin-left: 10px;">{SCGooglePlusOne data-count=none}</div>

Seen a few posts over the last few years saying Hikashop support coming soon but can't find anything - is there anything? or in development? My concern right now is that I'd like my product image used in the og:image tag - with all aspects of JFB/SC. Right now it pulls in every image in the page, and I don't know how to force the product image.

site in dev - orangereel.co
The topic has been locked.
Support Specialist
10 years 1 week ago #43233 by alzander
Replied by alzander on topic Share button Easy-Tags
The SCPinterestShare tag needs an image setting. Without it, Pinterest won't show the button since they won't have an image to share.. and since their whole service is image based, that's required. So, you'd need to update that to:
{SCPinterestShare image=http://yoursite.com/link-to-image.jpg}

The Google+ doesn't have a 'data-count' option. Please check out the JFBConnect -> Social -> Examples admin area for all the proper settings. Specifically, you should set annotation=none

Also, for some of those issues, please update to JFBConnect v6.0.4. There were some issues with parsing the tags in v6.0.3 and earlier that may be part of the problem. Simply download the new package from this site and install it like it was new. All your settings will be automatically saved and you won't need to re-configure anything.

Finally, for HikaShop integration in general, we have a Profile plugin in development right now and it should be included in the 6.1 release, planned for next month. Automatically adding the social buttons to HikaShop products won't likely be until at least the 6.2 release this summer.

I hope that helps get you going,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 1 week ago #43256 by kyteasdale
Replied by kyteasdale on topic Share button Easy-Tags
Followed all your steps - though the facebook share wont show as button or anything but it's current state.
The topic has been locked.
Support Specialist
10 years 6 days ago #43303 by alzander
Replied by alzander on topic Share button Easy-Tags
Sorry for the delay. You found a bug in our code. Not sure if this is something Facebook changed or we missed. To fix the layout property to properly work for the share tag, please edit the following file:
/components/com_jfbconnect/libraries/provider/facebook/widget/share.php
Around line 26, you'll see:
$tag .= $this->getField('layout', null, null, '', 'data-layout');
Change that the data-layout to data-type, like below:
$tag .= $this->getField('layout', null, null, '', 'data-type');
We'll definitely have this fix in the next release as well.

I hope that helps, but if you have any other questions, just let me know!

Thanks,
Alex
The topic has been locked.