Video: (Loom | Free Screen & Video Recording Software | Loom)
I can’t open the checkout page in Bricks. I am taken directly to the shopping cart.
I’ve noticed this before on another site and someone in Kevin’s Inner Circle had the same problem
Video: (Loom | Free Screen & Video Recording Software | Loom)
I can’t open the checkout page in Bricks. I am taken directly to the shopping cart.
I’ve noticed this before on another site and someone in Kevin’s Inner Circle had the same problem
Okay, I can open the page in Bricks if there is something in the shopping cart… I think that should also work without it, shouldn’t it?
Hi Tobias,
Thanks so much for your report!
By default, the WooCommerce Checkout page redirects you back to the (empty) Cart page in case there are no products in the Cart - whether you use Bricks or not
WooCommerce provides us with two filters that we can use to disable this default behavior:
`add_filter( ` `'woocommerce_checkout_redirect_empty_cart'` `, ` `'__return_false'` `);`
`add_filter( ` `'woocommerce_checkout_update_order_review_expired'` `, ` `'__return_false'` `);`
However, this also applies to the normal visitor who visits your site, which is probably not desired in most cases.
Best regards,
timmse
WooCommerce is just a nightmare
Thank you very much for this information