Closed (fixed)
Project:
Commerce Rules Extra
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Aug 2013 at 09:41 UTC
Updated:
10 Oct 2014 at 06:50 UTC
Jump to comment: Most recent
Comments
Comment #1
MarcElbichon commentedNew changes :
Need upgrade of your rules.
Comment #2
timlie commentedI get following errors with the new functionality (Added product_display term search to search terms in product_display rather than in products):
Notice: Undefined index: context in commerce_rules_extra_node_from_line_item() (rule 29 sites\all\modules\commerce_rules_extra\includes\actions\commerce_rules_extra_node_from_line_item.inc).
Notice: Trying to get property of non-object in commerce_rules_extra_rules_condition_has_terms() (rule 104 sites\all\modules\commerce_rules_extra\includes\conditions\commerce_rules_extra_rules_condition_has_terms.inc).
Condition does not work.
Any solutions?
Comment #3
MarcElbichon commentedDo you use commerce product bundle ?
If so, have a look to #2083307: Line-item->data context not saved to line-item. Causes Rules action 'Get the referencing node from the line item' to fail.
Comment #4
MarcElbichon commentedNew features :
Comment #5
jon pollard commentedHi, I am also getting an error when trying to apply discounts to a taxonomy of the product display here is the error:
It's a shame this doesn't work as this is killer functionality!
Comment #6
MarcElbichon commentedHave a look to #2127567: Get referenced node undefined index
Comment #7
jon pollard commentedI had seen that issue, it forwards to this issue, which is an issue for "product commerce bundle" - a module which I am not using.
https://drupal.org/node/2083307
To try and debug this I set up a fresh Commerce Kickstart install and I am getting the same error. Maybe this is an issue with something else running in kickstart?
Comment #8
MarcElbichon commentedCan you open a new issue for this ?
Can you print_r($line_item) just before line 29 in /var/www/commerce-kickstart/sites/all/modules/commerce_rules_extra/includes/conditions/commerce_rules_extra_rules_condition_has_terms.inc ?
Comment #9
perignon commentedVersion 2.x will be out in beta soon. Refactoring all the code at the moment plus running through as much testing as possible.
Comment #10
perignon commented