If the [download_cart] shortcode is used on the same page as the [download_checkout] shortcode and an item is removed from the cart using the "remove" facility in [download_cart], the information output by [download_checkout] isn't updated.
To reproduce
Create a checkout page and use the [download_checkout] shortcode in the content area
Create a sidebar area in the newly created checkout page and use the [download_cart] shortcode
Add a few items to the cart
Visit the checkout page and try to remove one of the items using the "remove" facility in the sidebar provided by [download_cart]
You will notice the item is removed from the sidebar area which is controlled by [download_cart] but the item isn't removed from the main content area which is controlled by [download_checkout]
Interestingly, if you use the "Remove" facility provided by [download_checkout], the item is removed from both the sidebar area and the main content area. In this case the "Remove" button works well.
If the
[download_cart]
shortcode is used on the same page as the[download_checkout]
shortcode and an item is removed from the cart using the "remove" facility in[download_cart]
, the information output by[download_checkout]
isn't updated.To reproduce
[download_checkout]
shortcode in the content area[download_cart]
shortcode[download_cart]
You will notice the item is removed from the sidebar area which is controlled by
[download_cart]
but the item isn't removed from the main content area which is controlled by[download_checkout]
Interestingly, if you use the "Remove" facility provided by
[download_checkout]
, the item is removed from both the sidebar area and the main content area. In this case the "Remove" button works well.