[Skip to main content](#vessel-content)

#   Add Print and Email To Hikashop Social Plugin

##

- **[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")**
- [![lionelmnr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4601-lionelmnr "View lionelmnr's Profile") Topic Author
- [ Offline](/forum/user/4601-lionelmnr)

Less More

- Posts: 18
- Thank you received: 0
-
-
-
-

14 years 1 month ago [\#71556](#71556) by [lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")  *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#71556 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")* was created by *[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")*

Hi

Is there a way I can add a print and email button to the social media plugin.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 1 month ago [\#71625](#71625) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#71625 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

I think that it can be done in the plugin file in "youSite/administrator/components/com_hikashop/extensions/plg_content_hikashopsocial/hikashopsocial.php" in the function "onAfterRender()" you can add what you want in the var $html, you can add the buttons after the code "if($plugin-&gt;params) $html.=$this-&gt;_addFacebookButton( $plugin);"

This requires knowledge of php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")**
- [![lionelmnr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4601-lionelmnr "View lionelmnr's Profile") Topic Author
- [ Offline](/forum/user/4601-lionelmnr)

Less More

- Posts: 18
- Thank you received: 0
-
-
-
-

14 years 1 month ago [\#71626](#71626) by [lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")  Replied by *[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")* on topic *[Re: Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#71626 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi

Unfortunately my knowledge of php is very limited and I wont be able to pull this off. If anyone can or will please let me know I think its necessary to have a print and email button per product.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Batas](/forum/user/9486-batas "View Batas's Profile")**
- [![Batas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9486-batas "View Batas's Profile")
- [ Offline](/forum/user/9486-batas)

Less More

- Posts: 72
- Thank you received: 4
-
-

14 years 1 week ago [\#76370](#76370) by [Batas](/forum/user/9486-batas "View Batas's Profile")  Replied by *[Batas](/forum/user/9486-batas "View Batas's Profile")* on topic *[Re: Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#76370 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

I guess you were talking about print and email buttons on product page, not on social plugin?
In that case I agree with you, it would be really nice for customers to print out product description easily in that way. Not every site visitor is clever enough to print out desirable site through menu...

I understand that support guys are really busy but maybe you will find a free minute to post on how to do that?
Thank you in advance!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")**
- [![lionelmnr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4601-lionelmnr "View lionelmnr's Profile") Topic Author
- [ Offline](/forum/user/4601-lionelmnr)

Less More

- Posts: 18
- Thank you received: 0
-
-
-
-

14 years 1 week ago [\#76371](#76371) by [lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")  Replied by *[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")* on topic *[Re: Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#76371 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi

What I meant by the social plugin is for the print and email button to display next to them. I agree users wont print it out the usual way but with a button right there I think it will make them want to especially the email feature. Hopefully someone will do it before I figure out php myself haha ![B)](/media/kunena/emoticons/9.png "B)")

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 1 week ago -  12 years 1 month ago [\#76590](#76590) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#76590 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

Here is an example of a print icon that you can add in a HikaShop view : Code:

&lt;?php $popup = hikashop_get('helper.popup'); $url = hikashop_currentURL()."/print-true/tmpl-component"; $html. = $popup-&gt;display( '&lt;span class="icon-32-print" title="'. JText::_('PRINT_PRODUCT').'"&gt;&lt;/span&gt;'. JText::_('HIKA_PRINT'), 'PRINT_PRODUCT', $url, 'hikashop_print_product', 760, 480, '', '', 'link' ); ?&gt;

And in the file "components/com_hikashop/views/product/view.html.php" at the beginning of the function "show()" add this code : Code:

$print = JRequest::getVar('print',''); if($print){ $js = "window.addEvent('domready', function() {setTimeout(function(){window.focus();window.print();setTimeout(function(){hikashop.closeBox();}, 1000);},1000);});"; $doc = JFactory::getDocument(); $doc-&gt;addScriptDeclaration("\n&lt;!--\n".$js."\n//--&gt;\n"); //JHTML::script('mootools.js', JURI::base(true) .'media/system/js/'); if(!HIKASHOP_J30) JHTML::_('behavior.mootools'); else JHTML::_('behavior.framework'); }

If you are not using the SEF, use:
$url = hikashop_currentURL()."&amp;print=true&amp;tmpl=component";
instead of:
$url = hikashop_currentURL()."/print-true/tmpl-component";

If you want this button in the product page, put the first code in the view "product / show_default" via the menu Display-&gt;Views and replace the code:
$html. = $popup-&gt;display(
by:
echo $popup-&gt;display(
in that code.

Last edit: 12 years 1 month ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [nicashdown](/forum/user/2793-nicashdown "View nicashdown's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")**
- [![lionelmnr's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4601-lionelmnr "View lionelmnr's Profile") Topic Author
- [ Offline](/forum/user/4601-lionelmnr)

Less More

- Posts: 18
- Thank you received: 0
-
-
-
-

14 years 1 week ago [\#76639](#76639) by [lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")  Replied by *[lionelmnr](/forum/user/4601-lionelmnr "View lionelmnr's Profile")* on topic *[Re: Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#76639 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi Xavier

I did as you said and adding the code to the "components/com_hikashop/views/product/view.html.php" in the function "show()" is fine but when I add the top code to the product/show_default view page the product page comes up blank. I tested this on two separate sites and same result.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

14 years 1 week ago -  14 years 1 week ago [\#76830](#76830) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#76830 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

The code that Xavier wrote is for HikaShop 2.0
The "popup helper" or the HIKASHOP_J30 constant are in HikaShop 2.0 and are not in previous version.
I think that's why you're having a blank page.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 14 years 1 week ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

The following user(s) said Thank You: [nicashdown](/forum/user/2793-nicashdown "View nicashdown's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile")
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

11 years 7 months ago [\#198728](#198728) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#198728 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

I just put this code and it works perfectly.

Now I want to know if there is any way to customize the code to make the logo look Store in printing.

Thank you very much.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

11 years 7 months ago [\#198739](#198739) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#198739 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

If you want to change the logo, you can add custom CSS code on your website for the CSS class icon-32-print

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile")
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

11 years 7 months ago [\#198838](#198838) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#198838 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi Nikolas.

Excuse my English but I probably misspoke.

What I need is that when a visitor print product page, printing contains the logo of the store at the head of the sheet.

Is it possible?

Thank you very much from now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#198855](#198855) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#198855 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

It will be related to your template and to CSS.
You can create CSS rules for the "print" media and then change the look at the content.
Thanks to that, you can display a different header for the page.
But that kind of customization is not related to HikaShop.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile")
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

11 years 7 months ago [\#199008](#199008) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#199008 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Jerome Thanks for your reply. I commented that articles of Joomla are printed with logo. HikaShop products are printed without logo.

Reviewing the difference between print links have:

[ www.turismodelprado.tur.ar/brasil/aereo/product/2-imbassai#](http://www.turismodelprado.tur.ar/brasil/aereo/product/2-imbassai#) (the logo is not printed)

But if I put the following url, yes printed with logo:

[ www.turismodelprado.tur.ar/brasil/aereo/...ponent&amp;print=1&amp;page=](http://www.turismodelprado.tur.ar/brasil/aereo/product/2-imbassai?tmpl=component&print=1&page=)

How would you modify the code shown in this thread (above) for the url is generated in this way?

Thank you very much from now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 6 months ago [\#202315](#202315) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#202315 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

So you can use the code given in a previous post and jsut replace: Code:

$url = hikashop_currentURL()."/print-true/tmpl-component";

By: Code:

$url = str_replace('#','',hikashop_currentURL()); $url .= "?tmpl=component&amp;print=1&amp;page=";

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile")
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

11 years 4 months ago -  11 years 4 months ago [\#207328](#207328) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#207328 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hello. The above code worked perfectly today. I just upgraded to HikaShop Starter: 2.5.0 and no longer works.

Printed page is not displayed as a popup. It is shown below all with scrolls (I attach capture).

I would appreciate much I indicated that I edited to function properly again. Thank You.

[ ![capture.jpg](/forum/attachment/25358) ](/forum/attachment/25358 "capture.jpg")

- [ ![capture.jpg](/forum/attachment/25358) ](/forum/attachment/25358 "capture.jpg") [ ](/forum/attachment/25358?download=1 "capture.jpg")

Last edit: 11 years 4 months ago by [vilo](/forum/user/7826-vilo "View vilo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

11 years 4 months ago [\#207329](#207329) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#207329 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

This issue indicates that your template is not compatible with the bootstrap popups system. Fixing the template is a solution but you can simply modify the "popup mode" setting of the Hikashop configuration to "mootools" and that should circumvent the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile")
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

11 years 4 months ago [\#207422](#207422) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#207422 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Nicolas thank you very much! It worked perfectly!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile")
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

10 years 1 month ago [\#251455](#251455) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#251455 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi. This fix is no longer working with Joomla 3.6.2 and 2.6.4 Starter Hikashop.

How should now be to modify the code?

Thank you very much from now

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 1 month ago -  10 years 1 month ago [\#251458](#251458) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#251458 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Hi,

What do you mean ? What fix are you talking about ?
The popup mode ?
How did you configure it ? And what error do you have ?
On which page do you have the problem ? Could you provide a link ?

Last edit: 10 years 1 month ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[vilo](/forum/user/7826-vilo "View vilo's Profile")**
- [![vilo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7826.jpg)](/forum/user/7826-vilo "View vilo's Profile")
- [ Offline](/forum/user/7826-vilo)

Less More

- Posts: 86
- Thank you received: 2
-
-

10 years 1 month ago [\#251538](#251538) by [vilo](/forum/user/7826-vilo "View vilo's Profile")  Replied by *[vilo](/forum/user/7826-vilo "View vilo's Profile")* on topic *[Add Print and Email To Hikashop Social Plugin](/forum/4-how-to/71556-add-print-and-email-to-hikashop-social-plugin#251538 "Hi  Is there a way I can add a print and email button to the social media plugin.  Thanks")*

Nicolas:

Each time you update Hikashop, I edit the file components / com_hikashop / views / product / view.html.php and add this code line in about 1059 after "show ()":

Code:

$print = JRequest::getVar('print',''); if($print){ $js = "window.addEvent('domready', function() {setTimeout(function(){window.focus();window.print();setTimeout(function(){hikashop.closeBox();}, 1000);},1000);});"; $doc = JFactory::getDocument(); $doc-&gt;addScriptDeclaration("\n&lt;!--\n".$js."\n//--&gt;\n"); //JHTML::script('mootools.js', JURI::base(true) .'media/system/js/'); if(!HIKASHOP_J30) JHTML::_('behavior.mootools'); else JHTML::_('behavior.framework'); }

Well, the thing is that this latest version of Hikashop, this file has changed.

"Show ()" is approximately in line 1169. And when I put the code page (frontend) is blank.

If I take the code, everything returns to normal.

Something is happening that this code no longer works.

I apologize because I can not give you an example, as I had to get the code.

Thank you very much and I hope your answer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcxNTU2LWFkZC1wcmludC1hbmQtZW1haWwtdG8taGlrYXNob3Atc29jaWFsLXBsdWdpbj9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.116 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
