Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

pad_single_radioset + price


Recommended Posts

Hye everybody !

I've installed a QTPro 4.3 on a OSCSS 1.2.1 (CSS version of OSCommerce MS2 RC1)

For what i want, it seems to be the same with QTPro 4.51.


I use the pad_single_radioset option to show only the option in stock.

For the moment, i've got this :

(radio button) option 1 (+2 euros), option 2 (+5 euros)


But, i would like to have this :

(radio button) option 1, option 2, (+7 euros)


I think i must modified the file pad_base.php (near line 296)

function _build_attributes_array


I've find the solution to hide the price after the option like this :



insted of this :

$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($this->products_tax_class_id)) .')';


but now, i would like to add the TOTAL option price at the end and i don't know how.


Can anyone help me !


Sorry for my poor english...


Edit : displaced subject here : http://www.oscommerce.com/forums/index.php?sho...p;#entry1321713

Edited by Dipsy29
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...