I am working on a service booking website and below is a customer scenario:

i) A customer arrives at the site, views the various services and clicks the "make a booking link" for a particular service.

ii) They are redirected, a view of all available services of that type (product with time/date field & service_type_id) is then generated.

iii) The customer selects the timeslot suited and clicks on a "Book now" button (overidden "Add to Cart"), the Review page is skipped and they are redirected to the checkout page

On the checkout page I am trying to dynamically add suggested services that compliment their current selection. The problem I am having is how to dynamically add this checkout pane?

Currently I am using rules to detect what service has been added to cart, using entity has the field (service_type_id) & a data comparison to allow me to know what added service type I should suggest. I am trying to use commerce extra panes to create and display the content.

I am just wondering what is the best way to go about dynamically adding panes based on the contents of the cart?

I imagine I will have to write a series of rules that enable/disable checkout panes based on the carts contents but am hoping there is a simpler way to get the functionality I am looking for?

Allowing for the display of extra panes to be integrated with conditionals derived from rules would be a very handy feature for a variety of uses.

Any thoughts/help appreciated.

Kind regards, Ruairi

1 Answer 1


You may want to follow this issue: http://drupal.org/node/1122386

it develops Rules based pane visibility.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.