george505
Forum Replies Created
-
Hi Kellymetal,
Thank you for the suggestions. I went on to try them out but the solutions doesn’t for my page.
Tried the snippet at https://www.webroomtech.com/disable-coupons-in-woocommerce/. It removed the coupon code field totally but the validating of the coupon was still executed.
Also as per https://docs.woocommerce.com/document/template-structure/. I copied the cart.php to the child theme and totally removed the part about coupon code. It also removed the coupon code field totally, yet the validating of the coupon was still executed.
Not really sure where the validating of the coupon code exist in the codes…
Thank you again
Hi Rupinder,
Thank you for your reply.I actually tried various ways to skip the cart page.
1. At Woocommerce, I deleted the “cart” page and then at the Woocommerce setting, set the cart page as blank.
2. Use plugins to skip the cart page; eg. “Disable cart page for WooCommerce”, “WooCommerce Single Page Checkout”, “Woocommerce one page checkout and layouts”
3. Adjust tthe functions.php to hide the coupon code in cart pageHowever somehow or another the checking of coupon is still being executed at the cart page, and since I have set coupon as mandatory (thru codes in functions.php). All those steps above resulted in and error message that is preventing the opening of the checkout page.
Just wondering if you have another way to skip the cart page? Would really appreciate it.
Thank you again Rupinder…