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)
-   -   How to remove "Our Price" (https://forum.x-cart.com/showthread.php?t=42823)

screeny 10-07-2008 05:48 AM

How to remove "Our Price"
 
Disclaimer: This is a tip I received from tech support that my designer asked, and I'm simply passing it on to the forums. If you want to know why I'm doing this, read here: http://forum.x-cart.com/showthread.php?t=42824. I'm not a web designer/developer, and I don't know anything about programming the back-end of X-Cart. My version of X-Cart is 4.1.10, so this tip may not work if you use a different version. If you have any questions about this tip, I can't answer them, but reply anyway and hopefully someone more knowledgeable will respond.

=======

You should modify the "<xcart_dir>/skin1/customer/main/products_t.tpl" file, just find following code:

<font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</font><br /><font class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</font>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if}

and replace it with this one:

{* <font class="ProductPrice">{$lng.lbl_our_price}: *}{include file="currency.tpl" value=$products[product].taxed_price}</font><br /><font class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</font>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if}

balinor 10-07-2008 09:43 AM

Re: How to remove "Our Price"
 
That code is incorrect, it should be:

Code:

<font class="ProductPrice">{* {$lng.lbl_our_price}: *}{include file="currency.tpl" value=$products[product].taxed_price}</font><br /><font class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</font>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if}


All times are GMT -8. The time now is 09:39 AM.

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