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

#   How to show a Joomla Print/Email icon on Product P

##

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

Less More

- Posts: 32
- Thank you received: 1
-
-

13 years 8 months ago [\#89200](#89200) by [Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")  *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#89200 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")* was created by *[Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")*

Hi,

How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.

The product page is in div format.

Thanks in advance for your help.

Regards,

Dennis

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#89377](#89377) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#89377 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")*

Hi,

You have to edit the view "product / show_default" to add an email button.
We actually have no options for that.

If I remember well, this question has already been posted on our Forum, try to use the search in the forum to find that post.
You will maybe find how to do that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 32
- Thank you received: 1
-
-

13 years 8 months ago [\#90670](#90670) by [Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")  Replied by *[Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")* on topic *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#90670 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")*

Hi,

I've extensively searched the forum, Google, bing and can't find how to do as you suggested. Can you show me, please?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#90810](#90810) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#90810 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")*

Hi,

Yes sure. You have to edit the view "product / show_default" and add the code: Code:

if($tmpl != 'component'){ $popup = hikashop_get('helper.popup'); echo $popup-&gt;display( '&lt;span class="icon-32-print" title="'. JText::_('HIKA_PRINT').'"&gt;&lt;/span&gt;'. JText::_('HIKA_PRINT'), 'HIKA_PRINT', hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;element-&gt;product_id,true), 'hikashop_print_cart', 760, 480, '', '', 'link' ); }else{ $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"); }

In the "if($tmpl != 'component')" you can put all the element not wanted for the print view.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 32
- Thank you received: 1
-
-

13 years 8 months ago [\#91080](#91080) by [Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")  Replied by *[Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")* on topic *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#91080 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")*

Hi Xavier,

Thank you for your effort, but this did not work. Besides, I really would like an Email Icon or Email Text to recommend the item to a fried on the Product Page. Is this possible as it is on a Joomla Article?

Thanks again,

Dennis

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

13 years 8 months ago [\#91332](#91332) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#91332 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")*

Hi,

Thanks to try with that code: Code:

&lt;?php $tmpl = JRequest::getString('tmpl','??'); if($tmpl != 'component'){ $popup = hikashop_get('helper.popup'); echo $popup-&gt;display( '&lt;span class="icon-32-print" title="'. JText::_('HIKA_PRINT').'"&gt;&lt;/span&gt;'. JText::_('HIKA_PRINT'), 'HIKA_PRINT', hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;element-&gt;product_id,true), 'hikashop_print_cart', 760, 480, '', '', 'link' ); }else{ ?&gt; &lt;script&gt; window.addEvent('domready', function() {setTimeout(function(){window.focus();window.print();setTimeout(function(){hikashop.closeBox();}, 1000);},1000);}); &lt;/script&gt; &lt;?php } ?&gt;

For the email it's a bit more complex.
You have to create a new view to display a contact form to fill the desired email, then on the product page link to this form and give the product id, then on the email form add a button submit, which will call a function to send the email.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 32
- Thank you received: 1
-
-

13 years 8 months ago [\#91439](#91439) by [Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")  Replied by *[Duchesne](/forum/user/13177-duchesne "View Duchesne's Profile")* on topic *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#91439 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")*

Thank you, but how do you create a new view for the email function on the Product Page?

Dennis

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14279
-
-

13 years 8 months ago [\#91609](#91609) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to show a Joomla Print/Email icon on Product P](/forum/4-how-to/78168-how-to-show-a-joomla-print-email-icon-on-product-p#91609 "Hi,  How do you show a Joomla 2.5 Print/Email icon on a Product Page? They show fine on a Joomla Article page but not on the product page.  The product page is in div format.  Thanks in advance for your help.  Regards,  Dennis")*

You should use such component to do that:
[ extensions.joomla.org/extensions/content...rk-a-recommend/13584](http://extensions.joomla.org/extensions/content-sharing/bookmark-a-recommend/13584)
Otherwise, it would require to ask a developer to do that project for you as it's really complex if you're not a developer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTY4LWhvdy10by1zaG93LWEtam9vbWxhLXByaW50LWVtYWlsLWljb24tb24tcHJvZHVjdC1wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.090 seconds

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

[](#top)
