X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Disable display of Tax, Discount and Shipping (https://forum.x-cart.com/showthread.php?t=2513)

maniac 04-30-2003 12:27 PM

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.

shan 04-30-2003 01:17 PM

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 *}

maniac 05-04-2003 11:06 AM

Thanks.

I'll do that.

I was just curious if there was one place that would change it globally...

parmar 05-09-2003 08:55 AM

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}


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.