This is a discussion on Product Attribute Prices Getting Rid of Extra Chars in (+$8) within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi, i've got a page where the prices are entirely driven by the attributes. The client wants me to get ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Hi, i've got a page where the prices are entirely driven by the attributes. The client wants me to get rid of the extra parenthesis and plus sign in the list of attributes. I tried digging around but it was taking me a ridiculous amount of time to isolate the code. Does anybody know how to do this? |
|
#2
| ||||
| ||||
| Ah ha! Answered my own question.... this is ms2 max Change /includes/classes/pad_base.php from: if ($products_options['options_values_price'] != '0') { $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'])) .') '; Change to: if ($products_options['options_values_price'] != '0') { $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'])) .' '; ----------------------- Rock On OSCNerds |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| product prices not showing on product page | Dumb_Question | osCMax v2 Installation issues | 16 | 03-24-2006 09:03 PM |
| Extra Box on Top of New Product of the Month | jimmyliu | osCommerce 2.2 Modification Help | 0 | 04-14-2005 05:23 AM |
| Product prices are all $0 | adam231 | osCommerce 2.2 Installation Help | 4 | 10-21-2004 02:08 AM |
| No product prices in new install? | Kristine | osCMax v1.7 Installation | 3 | 04-02-2004 11:06 AM |
| one product 3 prices | Dumb_Question | osCommerce 2.2 Modification Help | 6 | 01-05-2003 03:51 PM |