Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing The "+" Plus Sign From Available Options On Products (product Attributes)


Guest

Recommended Posts

I have products with multiple options and prices... however I don't want the users drop down box to have "Option Description (+$8.00)". I want it to say "Option Description", and for the price to update automatically once the options are selected.

 

My main concern is removing the "+" plus sign...I have already located a contribution that has a javascript command to update prices.

 

Thanks!

 

(ps, when you reply please explain everything to me as though I were 4 years old...I'm still a newbie :))

Link to comment
Share on other sites

Found it!!

 

catalog/product_info.php

 

LOCATE:

$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';

 

REMOVE:

. $products_options['price_prefix']

 

AND YOU ARE LEFT WITH:

$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';

 

 

 

 

This will remove the "+" plus sign from the user drop down box on product options (attributes).

 

Yay :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...