Allow both Cart and Checkout page to regenerate Cart

Please allow both the Cart and/or Checkout page to be used to re-generate the Cart in WooCommerce.

Currently only the value returned by wc_get_cart_url() is allowed which ignores the other.

e.g. /cart/?wck_rebuild_cart=… and /checkout/?wck_rebuild_cart=…

File affected: /includes/wck-cart-functions.php


The current URL check on line #82 and the page refresh URL check on line #124 require rework to support this.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer