Developer needed - Print Button

  • Posts: 10
  • Thank you received: 0
11 years 7 months ago #61412

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #61492

Hi SilverD442,

You can edit the view: "product / show_default" in HikaShop > Display > Views
And at the top of this file, try to add:

<?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.065 seconds
Powered by Kunena Forum