Disable/Enable commerce panes with Execute custom PHP code in Rule Action
Hi All,
I am using Drupal Commerce 7.x-1.3 and Rules 7.x-2.1.
I have regular Product and custom line item types using 'commerce_custom_product' and 'commerce_fieldgroup_panes' and
depending on line item types I need to Disable/Enable 'Shipping information' and 'Order Fieldgroup' panes using Execute
custom PHP code in Rule Action.
Google gave me some links, for e.g.,:
http://drupal.org/node/1122386
http://drupal.org/node/1228342
But I could not make out how/which PHP code I could use in Execute custom PHP code to Disable/Enable the panes.
Any help will be much appreciated.
Thnaks,
Comments
anyone?