hi all.
i have a drupal commerce installation without the cart module (users can buy 1 product only and they are directly redirected to checkout) but i noticed that commerce_checkout_redirect_redirect_anonymous_submit() assumes that the cart module is installed without being declared as a dependency.
it seems that a if (module_exists('commerce_cart')) statement is needed,
thank you.

Comments

  • Commit ce91270 on 7.x-2.x by vasike:
    Issue #2233415 by lorenx, vasike: Commerce Cart dependency instead of...
vasike’s picture

Status: Active » Fixed

@lorenx: i think you're right and it seems this module at this moment couldn't work without cart module installed.

So i did a commit, changing the dependency from Commerce Checkout to Commerce Cart.

Unfortunately, for you, to use this module, you'll have to enable the Cart module.
But i think you can avoid the cart page with a redirection.

Thank you Sir

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.