Skip to main content

Developer needed - Print Button

More
14 years 1 month ago #61412 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.

More
14 years 1 month ago #61492 by Xavier
Hi SilverD442,

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
Powered by Kunena Forum