Category: WooCommerce

  • Development and Deployment Workflow for WooCommerce Sites

    Development and Deployment Workflow for WooCommerce Sites

    At Universal Yums our team manages a high scale WooCommerce site (6+ million orders). I always enjoy hearing how other teams manage their development and deployment workflow, and thought I’d share what works well for us. Version Control We keep the entire site (excluding WordPress core files) in version control. It might seem odd to…

  • Building a WooCommerce Customer Dashboard in React

    Building a WooCommerce Customer Dashboard in React

    At Universal Yums we decided to rebuild our customer dashboard in React. The dashboard is where customers go to make changes to their subscription, view their orders, update payment information, etc. Since it contains a lot of interactive elements, it felt like a good place to drop in React and avoid a lot of unnecessary…

  • WooCommerce: Prevent Order Items from Returning to Stock

    WooCommerce: Prevent Order Items from Returning to Stock

    Stock from orders can get added back to inventory for a variety of reasons: order was refunded, order was switched back to pending, or item was removed from an order. Generally, this is what you would want WooCommerce to do. But in certain specific cases you may want to ensure stock is never returned to…

  • Workflow Tip: Make Processing Orders Editable

    Workflow Tip: Make Processing Orders Editable

    The line items in WooCommerce orders are only editable when the order is in a “Pending” or “On Hold” status. In general this makes sense. If an order is processing, it means the payment has already been accepted and any line item changes would likely require a refund (using the refund functionality) or a new…

  • WooCommerce: How to Remove the Order Notes Field on Checkout

    WooCommerce: How to Remove the Order Notes Field on Checkout

    In WooCommerce, an optional “Order Notes” field is generally shown at the bottom of the checkout page. You can easily remove this field using a plugin or with custom code. Remove with a Plugin The free plugin Checkout Field Editor (Checkout Manager) for WooCommerce allows you to edit, remove or add fields in the checkout…

  • WooCommerce: How to Remove the Phone Number Field on Checkout

    WooCommerce: How to Remove the Phone Number Field on Checkout

    If a customer’s phone number is not required for orders or support, removing the phone number field is a great way to simplify the checkout form. You can either do this with code or a plugin, depending on what you are more comfortable with. Remove with a Plugin The free plugin Checkout Field Editor (Checkout…

  • Guide: WooCommerce Order Data

    Guide: WooCommerce Order Data

    WooCommerce stores order records in the posts table and its associated data in the postmeta table by default. To access and update order data, WooCommerce offers a number of helper methods.

  • Code Snippet: Remove the Cart from the Storefront Theme Header

    Code Snippet: Remove the Cart from the Storefront Theme Header

    The cart is hooked in using the storefront_header action. To remove it: If you’d like to remove it from just the home page (or other specific pages), you can use a conditional statement: