close
  • Security Tips for WooCommerce

    Security Tips for WooCommerce

    There’s a few important security measures I would recommend for any WooCommerce website based on the experiences I’ve had at Universal Yums and running other ecommerce websites. Two Factor Authentication Most WordPress and WooCommerce breaches start with compromised credentials. Attackers gain access through weak passwords, reused credentials from other sites, or phishing schemes. The best…

  • How to A/B Test Pricing in WooCommerce

    How to A/B Test Pricing in WooCommerce

    If your WooCommerce site gets significant traffic and conversions, A/B testing different pricing for products can be a great gather data on how a pricing change will impact overall sales.

  • WooCommerce Subscriptions: Reduce churn from failed renewals

    WooCommerce Subscriptions: Reduce churn from failed renewals

    When WooCommerce Subscriptions generates a renewal, it attempts to charge the payment method associated with that subscription. If that payment method fails, the renewal order is set to a pending status and the customer is notified via email that their renewal failed. Ideally your customer wants to stay subscribed, in which case they will follow…

  • Updating to High Performance Order Storage (HPOS) for High Scale WooCommerce Shops

    Updating to High Performance Order Storage (HPOS) for High Scale WooCommerce Shops

    Universal Yums had over 10 million order and subscription records when we transitioned to High Performance Order Storage. Due to our scale, we took a slightly custom migration path for the data, but everything else was very straightforward.

  • WooCommerce: Generate a local database from staging data

    WooCommerce: Generate a local database from staging data

    At Universal Yums we have over 100GB of customer data in our database. This is too much to work with locally, but we still need to have a local database with settings, pages and posts from our site for doing development work. Before updating to use High Performance Order Storage, it was very difficult to…

  • WooCommerce HPOS: Address Table Deadlocks

    WooCommerce HPOS: Address Table Deadlocks

    At Universal Yums we generate ~120,000+ renewal orders on the 1st of every month. Before updating to HPOS we were able to process ~12-15k orders per hour without any action scheduler failures. After switching to WooCommerce HPOS, ~25% of our renewals failed during our first renewal cycle. The action scheduler logged this error “WordPress database…

  • Address Validation in WooCommerce

    Address Validation in WooCommerce

    At Universal Yums we ship over 100,000 packages each month. When printing shipping labels, we’d always have a few hundred rejected by the carrier as invalid. This meant we had to reach back out to the customer to get a corrected address or see if we could resolve the issue ourselves, which added time to…

  • How to add a metabox to the orders screen in WooCommerce

    How to add a metabox to the orders screen in WooCommerce

    Adding a metabox to the WooCommerce orders screen is a bit different High Performance Order Storage (HPOS). If you want to support both HPOS and the legacy order system, here’s how to do it. Link to code on GitHub: https://gist.github.com/devinsays/0988711df0a43d7911693c8c4b2dc1d7