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

MODIFICATOR DETAIL

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-16-2005, 03:22 PM
 
carp1.com carp1.com is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: London UK
Posts: 60
 

Default MODIFICATOR DETAIL

Hi


How do I make the mofificator detail hidden from the customer

Please see
http://www.carp1.com/product.php?productid=16368&cat=320&page=1

I do not want the customer to see the % calculations for the pricing for different sizes.

Thanks
Terry
__________________
Carp1.com
Linux Operating System
Apache Server
X- Cart 4.3.0
Reply With Quote
  #2  
Old 01-16-2005, 03:51 PM
 
balinor balinor is offline
 

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

Default

Comment out this piece of code in /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}

Note that this is a global change. If you want other products in your shop to show price or % in the options, you will have to write specific {if} statements.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-18-2005, 04:10 AM
 
carp1.com carp1.com is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: London UK
Posts: 60
 

Default

Thanks for you help
__________________
Carp1.com
Linux Operating System
Apache Server
X- Cart 4.3.0
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 12:11 PM.

   

 
X-Cart forums © 2001-2020