Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Share icons not showing in default product view

Share icons not showing in default product view 10 years 11 months ago #4454

Hi there, apologies if this has already been covered, I've done a quick search and come to a blank.

I'm using Pure 3.6, the product view is currently set as default and for the life of me I can't seem to get the 3 icons: Facebook, Twitter, Bookmark & Share to show on the product page.

The Facebook like icon is showing, and the share icons do show in quick view, but not on the main product.

I'm using VM 2.0.20.b
Joomla 2.5.11

The site is currently in development but here's a link:
www.jamodomedia.co.uk/uptonwines/index.php/red-wine/rioja-reserva-2007-berberana-detail

Many thanks and hope you can help!
Neil
The administrator has disabled public write access.

Share icons not showing in default product view 10 years 11 months ago #4456

Hi there, just a quick update,

I've replaced in default.php
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
								<a class="addthis_button_preferred_1"></a>
                                <a class="addthis_button_preferred_2"></a>
                                <a class="addthis_button_compact"></a>
							</div>
                            script type="text/j-avascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f734d3509f75765"
/script
                        </div>

With:
<!-- AddThis Button BEGIN -->
 
<div class="addthis_toolbox addthis_default_style "> 
script type="text/j-avascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f734d3509f75765">
/script
 
<a class="addthis_button_preferred_1 addthis_button_facebook at300b addthis_button_email" title="Facebook" href="#">
<span class="at16nc at300bs at15nc at15t_facebook at16t_facebook"><span class="at_a11y">Share on facebook</span></span></a>
 
<a class="addthis_button_preferred_2 addthis_button_twitter at300b addthis_button_print" title="Tweet" href="#">
<span class="at16nc at300bs at15nc at15t_twitter at16t_twitter"><span class="at_a11y">Share on twitter</span></span></a>
<a class="addthis_button_compact at300m" href="#">
<span class="at16nc at300bs at15nc at15t_compact at16t_compact">
<span class="at_a11y">More Sharing Services</span></span></a>
 
<div class="atclear"></div>
<div class="atclear"></div>
</div>
</div>

For note I've removed the <> from script code above so I can post in this forum.

Now this has worked to a degree... It's now showing the 3 social share icons, however on click it's going to the top of the page (i believe it should be activating the script)
The administrator has disabled public write access.

Share icons not showing in default product view 10 years 11 months ago #4460

Hi,

Sorry - you've lost me-- why are you doing these changes - it should work out of the box
e.g. test.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=39&virtuemart_category_id=2&Itemid=475

I know this code for this part can be a little flaky if there are cart custom fields but the boss has explained a bit more here

www.flexiblewebdesign.com/forum-virtuemart-2-template-flexiblemart-support/158-disable-visual-buttons#645
The administrator has disabled public write access.

Share icons not showing in default product view 10 years 11 months ago #4462

Well that's the thing, It's not working out of the box as the demo link you have supplied is also missing the 3 share icons (see screen grab image of your demo).

There's also no custom fields set on my site.

The code I've used was actually taken from your 'Quick View' page as this does show the share icons.

Kind regards
Neil
Attachments:
Last Edit: 10 years 11 months ago by N Copeman.
The administrator has disabled public write access.

Share icons not showing in default product view 10 years 11 months ago #4463

It should look like this (see grab)
Attachments:
The administrator has disabled public write access.

Share icons not showing in default product view 10 years 11 months ago #4528

Do we have any news on this?
The administrator has disabled public write access.

Share icons not showing in default product view 10 years 11 months ago #4533

Hi, this small snippet of code is taken directly from addthis site:
It isn't really supported by us - if it doesn't work then it means normally there is a javascript error on that page.

I have just checked www.jamodomedia.co.uk/uptonwines/index.php/basic-selection/red-wine/rioja-reserva-2007-berberana-detail and they are showing fine?
Attachments:
The administrator has disabled public write access.

Share icons not showing in default product view 10 years 11 months ago #4538

Hi, yes they are showing, only after I changed the code myself (see second post). The code on the products page was replaced with the code from the 'Quick View' page. Only then did the icons show, however on click, instead of sharing the content, you're navigated back to the top of the page (#) (using Safari).

The icons on the 'Quick View' page work fine, they share the content when clicked.... (Which is why I replaced them on the product page).
Last Edit: 10 years 11 months ago by N Copeman.
The administrator has disabled public write access.
Time to create page: 0.095 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo