Checkout: Changing Payment method ignores bundled products visibility settings
-
I want to support the thread at https://ww.wp.xz.cn/support/topic/bundled-products-become-visible-after-changing-payment-method-in-checkout/ .
WordPress forum rules prevented me from posting in that existing thread, so I need to create my own for the exact same problem.When I have a bundle in my cart, and I change the payment method in the checkout, an AJAX request is sent to /wp-json/wc/store/v1/checkout?__experimental_calc_totals=true&_locale=site . This request ignores all visibility settings from the Product Bundles plugin. Any plugin setting from “Hide bundles products on cart and checkout page” leads to the updated HTML to look different from the initial appearance after page load.
This leads to customer confusion, because either there are suddenly more products in their order items overview (the total sum of course is the same, but since I wanted the bundled products to be hidden, they suddenly pop up after changing the payment details) or if I decide to don’t hide the bundles products, the bundle price value and the bundled products price values will display differently after changing the payment method.
You must be logged in to reply to this topic.