X-Cart 4.0.0 How to make any page printable?
Hello,
Is there a way to make any page printable. Say I want to make the Privacy statement printable, how would I go about doing that, I have no idea where to start. Any Suggestions or Comments would be Great!!! Thanks in advance, Mike W. |
General Settings >> Appearance Options >> Enabled printable version of categories and products pages in customer area
|
BUMP
Anyone figure out how to make printable static pages? |
Code:
{if (($main eq 'catalog' && $cat ne '') || $main eq 'pages' || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'} this bit is found in head.tpl just added this bit Code:
|| $main eq 'pages' |
Shan,
My personal saviour. MOVE TO CUSTOM MODS! :) |
You will need to make the following change to the bottom of pages.php
Code:
# Assign the current location line You are adding this line Code:
$smarty->assign("printable", $printable); |
All times are GMT -8. The time now is 09:12 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.