I am getting these errors when accessing the giftcard page (they are the indented lines):

" Rule Commerce pricing attributes calculation fires. [edit]
0 ms Rule Commerce pricing attributes calculation fires.
0.074 ms Evaluating the action commerce_pricing_attributes_calculate_adjusment. [edit]
2.492 ms Unable to get a data value. Error: Unable to get the data property currency_code as the parent data structure is not set.
7.193 ms Unable to evaluate action commerce_pricing_attributes_calculate_adjusment. [edit]
9.461 ms Unable to get variable commerce_attribute_adjustment, it is not defined.
11.78 ms Unable to evaluate action commerce_line_item_unit_price_add. [edit]
11.825 ms Rule Commerce pricing attributes calculation has fired.
19.908 ms Evaluating conditions of rule Unset the price of disabled products i

on top of which the page is missing the add to cart buttons and the form displays in an odd collapsed way when the page is first opened. If you select a giftcard amount the form suddenly corrects itself. I don't know if all this is connected....

Try it here to see the collapsed form: http://goo.gl/bcVc15

Any help would be highly appreciated.

Comments

dpolant’s picture

Status: Active » Postponed (maintainer needs more info)

Which giftcard page are you referring to?

I have not tested this module much with the pricing attributes module, although I don't see why it would interfere.

mardale’s picture

I reinstalled the module to see if anything changed, but it didn't - though the add to cart button has returned. Here's the new page: http://www.wildlife-workshop.co.uk/node/67

I have used this module before without issues, but the installed modules were so different I couldn't begin to work out if the problem was an incompatibility issue.

mardale’s picture

Status: Postponed (maintainer needs more info) » Active
dpolant’s picture

Title: Unable to get a data value » Rules errors on giftcard page - Commerce Attributes compatibility
dpolant’s picture

Priority: Critical » Normal
dpolant’s picture

Status: Active » Closed (won't fix)

I'm closing this one. It seems like Commerce Attributes is the culprit since it's rule is the one generating the wrapper error. It probably needs better error checking on line item wrappers when trying to do stuff with them - this is a common hiccup in modules that manipulate line items in checkout.