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)
-   -   Remove pricing from option dropdown (https://forum.x-cart.com/showthread.php?t=41435)

webcitz 07-29-2008 08:54 PM

Remove pricing from option dropdown
 
Does anyone know what file I should look at in order to remove the (+$xx.xx) pricing information from the product options dropdown in the storefront area?

jhug 07-29-2008 11:11 PM

Re: Remove pricing from option dropdown
 
Do you have a link or a screenshot of what you are referring to? I thought pricing was not in a drop down in the storefront?

balinor 07-30-2008 03:52 AM

Re: Remove pricing from option dropdown
 
It is...that is modules/product_options/customer_options.tpl

webcitz 07-30-2008 10:04 AM

Re: Remove pricing from option dropdown
 
Hello,

Thank you for the suggestions. I tried looking in the customer_options.php file, but didn't find anything relevant in there. I've looked through other posts relating to modifying these dropdowns and other people have referred other people to that file.

Would you be so kind as to give me a hint on what needs to be changed in that area? Thank you for your time and willingness to respond.

balinor 07-30-2008 10:10 AM

Re: Remove pricing from option dropdown
 
Not php, tpl. You never want to edit the php files unless you have to. In the skin1 folder. Look for this bit of code and remove/comment it out.

{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 plain_text_message=1}{else}{$o.price_modifier}%{/if}){/if}

webcitz 07-30-2008 11:33 AM

Re: Remove pricing from option dropdown
 
Worked perfectly, thank you very much for the help. I will keep the TPL files in mind for any future suggestions I see on this board for various modifications.


All times are GMT -8. The time now is 10:17 AM.

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