Woocommerce checkout page function customization
-
In my woocommerce e-shop, in the checkout page, my visitor must select the preferable billing_shop from a drop down list. However, I want to set two variables that based on them, the COMPLETE ORDER option will be displayed or not.
IF
1) Billing shop is OPTION B AND
2) Time is after 1am THEN Deactivate the COMPLETE ORDER button and show a message: Sorry, our shop is closed after 1am.I think that the code should start like this:
if ($order->billing_shop== …..
Check out page is here:
https://freelancingrevolution.com/markis/checkout/Any ideas?
- The topic ‘Woocommerce checkout page function customization’ is closed to new replies.