The more price of the attributes don't work.

  • The option for this price format is enabled at admin/store/settings/products
  • The more price doesn't show up
  • More price is not added to the cart

All help is welcome!!

Comments

longwave’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Looks like you have some custom theming going on there? What if you change to Bartik theme? Also, have you definitely configured custom prices for those attribute options? (you did not include a screenshot from your product options edit page)

jawi’s picture

StatusFileSize
new78.63 KB

screenshot from your product options edit page

jawi’s picture

Screenshot of bartik theme.
Pricing not their.

jawi’s picture

StatusFileSize
new108.5 KB
new108.81 KB

When we are using the costum price fields, the attribute more price doesn't display and these more price isn't added.

We are using this rule with a custom discount field:

$item->price = floor((float)$item->list_price - (float)$item->list_price*(float)$item->field_disount_percentage['und'][0]['value']/100 + $item->price);

When using the standard rule:
$item->price = $item->price;
The attribute more price are ok!

Any idea how comes?

http://31.3.101.171/~idc/?q=nieuw_kantoormeubilair/bureau-bravo-c

longwave’s picture

Where are you putting that code - contrib module, custom module, Rules? There is nowhere in Ubercart core to enter custom PHP like that.

jawi’s picture

custom price module

longwave’s picture

Project: Ubercart » Ubercart Custom Price
Version: 7.x-3.x-dev » 7.x-1.x-dev
Component: Other » Code

Moving to uc_custom_price queue

cyu’s picture

I'm not familiar with the D7 version of uc_custom_price, but in D6 I believe you would have needed uc_attribute_tokens ( http://drupal.org/project/uc_attribute_tokens ) to set up a custom price rule that took into account attribute adjustments. That module hasn't been upgraded to D7.

Outside of that, I have no clue how changing the price rule from:

$item->price = $item->price;

to

$item->price = floor((float)$item->list_price - (float)$item->list_price*(float)$item->field_disount_percentage['und'][0]['value']/100 + $item->price);

could remove the price adjustments from the display of your product.

jawi’s picture

Issue summary: View changes

removed writing errors