Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Disable display of Tax, Discount and Shipping

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-30-2003, 12:27 PM
 
maniac maniac is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 97
 

Default Disable display of Tax, Discount and Shipping

I have a very simple store which will not require tax, shipping or have discount coupons.

Can I easily disable the display of these items throughout the entire store?

Thanks.
Reply With Quote
  #2  
Old 04-30-2003, 01:17 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you could simply comment out the parts that you dont want to show by using the following code in your template files

{* ANYTHING HERE IS NOT SHOWN *}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 05-04-2003, 11:06 AM
 
maniac maniac is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 97
 

Default

Thanks.

I'll do that.

I was just curious if there was one place that would change it globally...
Reply With Quote
  #4  
Old 05-09-2003, 08:55 AM
 
parmar parmar is offline
 

eXpert
  
Join Date: Apr 2003
Location: London, UK
Posts: 286
 

Default

Quote:
Originally Posted by shan
you could simply comment out the parts that you dont want to show by using the following code in your template files

{* ANYTHING HERE IS NOT SHOWN *}

I have the same dilema. Is it ok just to delete those line which controls the Discount and Tax items from the /customer/main/cart_totals.tpl?
I have deleted below from the tempalte file, will it cause any problems?

<font class=FormButton>{$lng.lbl_discount}:</font> <font class=ProductPriceSmall>{include file="currency.tpl" value=$cart.discount}</font>{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$cart.discount}




<font class=FormButton>{$lng.lbl_tax}:</font> <font class=ProductPriceSmall>{if $login ne "" or $config.General.apply_default_country eq "Y"}{include file="currency.tpl" value=$cart.tax_cost}</font>{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$cart.tax_cost}{else}n/a{/if}
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:20 AM.

   

 
X-Cart forums © 2001-2020