OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Removing The "+" Plus Sign From Available Options On Products (product Attributes)
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Installation and Configuration
urbanbricks
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 smile.gif)
urbanbricks
Found it!!

catalog/product_info.php

LOCATE:
CODE
$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:
CODE
. $products_options['price_prefix']


AND YOU ARE LEFT WITH:
CODE
$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 smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.