Postponed (maintainer needs more info)
Project:
Ubercart Custom Price
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2012 at 14:43 UTC
Updated:
4 Apr 2013 at 09:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
longwaveLooks 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)
Comment #2
jawi commentedscreenshot from your product options edit page
Comment #3
jawi commentedScreenshot of bartik theme.
Pricing not their.
Comment #4
jawi commentedWhen 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
Comment #5
longwaveWhere are you putting that code - contrib module, custom module, Rules? There is nowhere in Ubercart core to enter custom PHP like that.
Comment #6
jawi commentedcustom price module
Comment #7
longwaveMoving to uc_custom_price queue
Comment #8
cyu commentedI'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:
to
could remove the price adjustments from the display of your product.
Comment #8.0
jawi commentedremoved writing errors