- Posts: 10
- Thank you received: 0
Developer needed - Print Button
- SilverD442
-
Topic Author
- Offline
Less
More
14 years 1 month ago #61412
by SilverD442
Developer needed - Print Button was created by SilverD442
I am using HikaShop as a cataloug. I would like customers to be able to print the products (as a spec sheet) but at the top of this page i would like our logo.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #61492
by Xavier
Replied by Xavier on topic Re: Developer needed - Print Button
Hi SilverD442,
You can edit the view: "product / show_default" in HikaShop > Display > Views
And at the top of this file, try to add:
You can edit the view: "product / show_default" in HikaShop > Display > Views
And at the top of this file, try to add:
Code:
<?php if(JRequest::getString('tmpl','view')=='component'){?>
<!-- You logo -->
<div class="product_view_print"><img src="" alt="Your LOGO"/></div>
<?php }else{ ?>
<a title="<?php echo JText::_('HIKA_PRINT');?>" class="modal" rel="{handler: 'iframe', size: {x: 760, y: 480}}" href="<?php echo JURI::current()."/tmpl-component"; ?>">
<span class="icon-32-print" title="<?php echo JText::_('HIKA_PRINT'); ?>">
</span>
<?php echo JText::_('HIKA_PRINT'); ?>
</a>
<?php } ?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.213 seconds