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)
-   -   Product Options (https://forum.x-cart.com/showthread.php?t=14904)

rossco 06-30-2005 08:31 AM

Product Options
 
Hi

I have a lot of products with options that lead to different prices. That's fine an easy to do but what I dont like is the way that when selecting the option xcart shows either the increased price or a % increase alongside the option in the drop down box.

Anyone know how to get rid of that?

Thanks

Allan

balinor 06-30-2005 08:41 AM

Yep, just remove this bit of code from modules/Product_Options/customer_options.tpl:

Code:

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

rossco 07-06-2005 11:15 PM

Cheers.....works a treat 8)

Mr Bob 07-26-2005 03:53 PM

Ah, love the search button. I found out what the template file was, but didn't really under what that snippet of code meant, so I took part of the code, searched for it, and my answer came up.


All times are GMT -8. The time now is 03:53 PM.

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