Title: Woocommerce checkout page function customization
Last modified: June 4, 2017

---

# Woocommerce checkout page function customization

 *  [buildwebguide](https://wordpress.org/support/users/buildwebguide/)
 * (@buildwebguide)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/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: [http://freelancingrevolution.com/markis/checkout/](http://freelancingrevolution.com/markis/checkout/)
 * Any ideas?

The topic ‘Woocommerce checkout page function customization’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [buildwebguide](https://wordpress.org/support/users/buildwebguide/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/woocommerce-checkout-page-function-customization/)
 * Status: not resolved