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)
-   -   Removing the (+XX) on the product variant dropbox (https://forum.x-cart.com/showthread.php?t=21266)

xcarter 04-22-2006 02:36 AM

Removing the (+XX) on the product variant dropbox
 
Hi guys,

I've done a fair bit of searching and can not find the answer to this.

How do I remover the + or - figures on the product variant dropbox of an item??

Example: Small Vase
Medium (+$25.00) <------
Large(+$35.00) <-------these in brackets.

Thanks a lot.

balinor 04-22-2006 03:46 AM

Remove this bit of code in /modules/Product_Options/customer_options.tpl:

{if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} ({if $o.modifier_type ne '%'}{include file="currency.tpl" value=$o.price_modifier display_sign=1}{else}{$o.price_modifier}%{/if}){/if}

xcarter 04-22-2006 08:49 AM

Brilliant.

Worked perfectly.

Thanks.

koolie 06-14-2006 06:02 AM

Excellent
 
Great bit of code removal...helped me a ton

X-Cart 4.0.18 LIVE


All times are GMT -8. The time now is 10:34 PM.

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