View Single Post
  #6  
Old 04-25-2009, 03:02 PM
 
kalonji kalonji is offline
 

Member
  
Join Date: Aug 2007
Posts: 15
 

Default Re: Remove Product SKU & Pricing Information 4.2

Quote:
Originally Posted by Victor D
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}

That won't work as i need this to be done at the product level..as some products will need this information displaying.
__________________
xcart 4.2 Gold
Fashion Mosaic Blue.
Unix Hosted
Reply With Quote