Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Remove pricing from option dropdown

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-29-2008, 08:54 PM
 
webcitz webcitz is offline
 

Member
  
Join Date: Apr 2008
Posts: 10
 

Default 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?
__________________
X-Cart Version Posted in Each Topic
(varies based on client website involved)
Reply With Quote
  #2  
Old 07-29-2008, 11:11 PM
 
jhug jhug is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 31
 

Default 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?
__________________
4.1.9 x-cart
4.4.4 in dev
Reply With Quote
  #3  
Old 07-30-2008, 03:52 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Remove pricing from option dropdown

It is...that is modules/product_options/customer_options.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 07-30-2008, 10:04 AM
 
webcitz webcitz is offline
 

Member
  
Join Date: Apr 2008
Posts: 10
 

Default 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.
__________________
X-Cart Version Posted in Each Topic
(varies based on client website involved)
Reply With Quote
  #5  
Old 07-30-2008, 10:10 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 07-30-2008, 11:33 AM
 
webcitz webcitz is offline
 

Member
  
Join Date: Apr 2008
Posts: 10
 

Default 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.
__________________
X-Cart Version Posted in Each Topic
(varies based on client website involved)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020