Upsells show on checkout but not in cart
-
Hi,
This is directly related to another closed thread: https://www.ads-software.com/support/topic/upsell-wont-show-in-cart-but-shows-in-checkout/
I’ve just spent quite a while debugging this and I’m very surprised to see that this might be the intended behaviour.
Firstly, when the modal cart is disabled, a load of other options are removed since they are not needed, but the main option to show upsells on the cart page remains and can be toggled on and off.
If it isn’t possible, then why leave that option there?When I check the source of the cart page, I see the placeholder for the items and it shows up in the correct place according to the admin settings.
<div class=”wc-timeline-cart-upsell”></div>
But the fragment to add the content only shows when the modal cart is enabled.I see in app/WooActions.php:537 that there is a check to see if we are on the cart page already. So it seems an odd decision if this is intentional as I would have thought that the checks and output would almost be identical to the output for the checkout page.
So is this really intentional?
Regards,
Rob
- The topic ‘Upsells show on checkout but not in cart’ is closed to new replies.