osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Product Attribute Prices Getting Rid of Extra Chars in (+$8)

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 ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-03-2006, 01:33 PM
Dubious's Avatar
Member
 
Join Date: Feb 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Dubious
Default Product Attribute Prices Getting Rid of Extra Chars in (+$8)

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-13-2006, 01:22 PM
Dubious's Avatar
Member
 
Join Date: Feb 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Dubious
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -8. The time now is 08:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design