WoodMart, subscription products issue
-
Hello,
I have the following issues with the woodmart theme:
1. If I add a product that has woocommerce-subscriptions active, I have an error on the checkout page:
Warning: Invalid argument supplied for foreach() in /home/r106689cama/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-cart.php on line 996
– I have checked this with other theme and the Warning is not displayed.
2. If you buy the subscription products from the products page, the card is not updated and the right slider is not displayed and you need to refresh the page to work.
Hello,
Try to disable “AJAX Add to cart” option in Theme Settings -> Single product -> Add to cart and see how it works.
Kind Regards
Hello,
Thank you, I have made the change, and issue 2 is fixed.
But Issue 1 is still reproducing.
Try to disable a custom layout for the checkout page. You can do this in Dashboard -> WoodMart -> Layouts -> Checkout. Let me know if it helps.
Kind Regards
Hello,
No, the issue is still there.
Hello,
I have disabled it and it is working.
Thank you all is clear now.
You are always welcome. Let me know if there is anything else I can help you with.
Kind Regards