View Single Post
  #5  
Old 04-16-2009, 12:15 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Remove Product SKU & Pricing Information 4.2

You can add this option to your admin General 'Config -> Appearance' section by single MySQL query in 'Patch/Upgrade' section:
Code:
INSERT INTO `xcart_config` ( `name` , `comment` , `value` , `category` , `orderby` , `type` , `defvalue` , `variants` , `validation` ) VALUES ( 'Show_SKUnPricing', 'enable to display SKU and pricing info', 'Y', 'Appearance', '10', 'checkbox', 'Y', '', '' );

then you have to check the value $config.Appearance.Show_SKUnPricing in templates :
Code:
{if $config.Appearance.Show_SKUnPricing eq 'Y'} {include file="file1"} {else} {include file="file2"} {/if}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote