Hi there,

I want to re-open "http://drupal.org/node/843094#comment-4754420" as I am having the same issue but none of the fixed listed work.

Have a D6/Ubercart 2.2 install with PPTs used to automate the SKUs of products, however when I save product node's the Sell Price is always reset to £0.00. I cannot save a price for any product.

Does anyone know of a solution to this as I am completely stuck!

Many thanks

Harry

Comments

LukM’s picture

Subscribe

stefan.r’s picture

Version: 6.x-1.12 » 6.x-1.x-dev
Issue summary: View changes
Status: Active » Closed (duplicate)

Fixed in latest dev as sell_price code has been changed to:

  switch ($class_settings['sp']) {
    case 1:
      $form['base']['prices']['sell_price'] = array(
        '#type'  => 'hidden',
        '#value' => $class_settings['sp_settings'],
      );
      break;
    case 2:
      if ($class_settings['sp_settings'] && !$form['base']['prices']['sell_price']['#default_value']) {
        $form['base']['prices']['sell_price']['#default_value'] = $class_settings['sp_settings'];
      }
      break;
    default:
      break;
  }