View Single Post
  #2  
Old 02-02-2007, 09:49 AM
 
taylork taylork is offline
 

Newbie
  
Join Date: Jan 2007
Posts: 3
 

Default Re: Adding Printable Version to Embeded Static Pages

Okay - I got the answer from X-Cart. Maybe this will help somebody else out.

It's VERY easy! I copied and pasted and all was well...
___________________
Unfortunately, standard X-Cart does not support such functionallity - printable version for embeded static pages.

However since X-Cart has open source code it can be customized to meet your needs. You can modify the cart by yourselif, please follow the instruction below to implement the feature you need:

1. Modify the "<xcart_dir>/skin1/head.tpl" template, replace the following code:

{if (($main eq 'catalog' && $cat ne '') || $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'}

with this one:

{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || $main eq 'pages' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}

__________________
Taylork
______________
X-Cart Version 4.0.19
Reply With Quote