WooCommerce: Hide “Private” Products From The Shop Page

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:13 de setembro de 2023
  • Tempo de leitura:4 minutos de leitura

WooCommerce admins and store managers can set the product visibility to “Private“. This is helpful if they need to hide certain products from the public, while keeping them available for manual invoicing or other purposes. The problem, however, is that if admins or store managers are logged in, private WooCommerce products (as well as private…

Continue lendoWooCommerce: Hide “Private” Products From The Shop Page

WooCommerce: Apply Discount to Cheapest Cart Item

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:6 de setembro de 2023
  • Tempo de leitura:4 minutos de leitura

If you run WooCommerce store promotions, this little snippet will help you with that. For example, how to run a “Buy 2 products, get one half off” or a “Buy 3 products, get the cheapest one for free” campaign? The trick behind this workaround is to find the cheapest item by looping through the cart,…

Continue lendoWooCommerce: Apply Discount to Cheapest Cart Item

WooCommerce: Set Customer Default Tax Location

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:6 de setembro de 2023
  • Tempo de leitura:4 minutos de leitura

The WooCommerce settings allow you to define the default customer tax location (“Calculate tax based on” -> “Shop base address“). In this case, when a guest customer enters the checkout, tax will be calculated based on the store address. The problem is that this option is unusual – businesses require the “Calculate tax based on”…

Continue lendoWooCommerce: Set Customer Default Tax Location

WooCommerce: How to Generate a Proof of Income When Self-Employed

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:4 de setembro de 2023
  • Tempo de leitura:5 minutos de leitura

If you’re self-employed, proving your income can seem like an impossible task. Traditional employees have their pay stubs and W2 forms to easily verify their earnings, but what about those treading the path of independent work or owning a business? By understanding how to generate proof of income effectively, you maintain optimal financial transparency and…

Continue lendoWooCommerce: How to Generate a Proof of Income When Self-Employed

WooCommerce: Count Variation Sales (Shortcode)

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:30 de agosto de 2023
  • Tempo de leitura:4 minutos de leitura

We’ve already studied how to display the number of sales for a given product ID via a shortcode – however that solution won’t work for a variation ID, because WooCommerce only counts the “parent product” sales. We need a different workaround in this case. This will require we either query the orders that contain such…

Continue lendoWooCommerce: Count Variation Sales (Shortcode)

WooCommerce: “New Order” Email Recipient Based on Billing Country

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:30 de agosto de 2023
  • Tempo de leitura:4 minutos de leitura

The amazing thing about WooCommerce is that you can override any setting with a few lines of code. In today’s example we will try to code a solution where the “New Order” WooCommerce email will be delivered to a custom recipient based on the billing country. This could be helpful when the WooCommerce store is…

Continue lendoWooCommerce: “New Order” Email Recipient Based on Billing Country

WooCommerce: Hide SubCategory Products On Product Category Pages

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:23 de agosto de 2023
  • Tempo de leitura:4 minutos de leitura

You’d think that this was a core WooCommerce setting – it’s not. In fact, from the WordPress “Customizer“, you can set the product category page display to “Show products” only, “Show subcategories” only, or “Show subcategories and products” (see screenshot below). But these 3 options, in my opinion, could and should do much better. For…

Continue lendoWooCommerce: Hide SubCategory Products On Product Category Pages

WooCommerce: Display Long Description Instead Of Short One @ Single Product Page

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:23 de agosto de 2023
  • Tempo de leitura:4 minutos de leitura

Especially when you migrate from a different ecommerce platform to WooCommerce, you may end up placing or importing content in the wrong place. A lot of confusion, for example, arises when a new WooCommerce store owner needs to understand the difference between the “Long” and the “Short” description. Well, the “Long description” is the one…

Continue lendoWooCommerce: Display Long Description Instead Of Short One @ Single Product Page

WooCommerce: Why Hire an Agent for Dropshipping From China

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:21 de agosto de 2023
  • Tempo de leitura:5 minutos de leitura

Navigating the landscape of WooCommerce can be made significantly easier with a dropshipping agent, especially when sourcing products from China. A dropshipping agent operates as the vital linkage in your business chain. Essentially, they manage transactions between you and your supplier. Their duties range from handling product sourcing to managing stock and ensuring quality control.…

Continue lendoWooCommerce: Why Hire an Agent for Dropshipping From China

WooCommerce: Limit Daily Sales For Cheap Products (Anti-Spam)

  • Autor do post:
  • Categoria do post:Woocommerce
  • Última modificação do post:16 de agosto de 2023
  • Tempo de leitura:5 minutos de leitura

We could call this the “WooCommerce Anti-Spam Without a Plugin” series, while I attempt to fight against bad humans and very bad bots who love attacking the Business Bloomer checkout page with spam orders and fake user registrations. My first attempts were (1) My Account registration anti-spam honeypot, (2) Checkout anti-carding-attack honeypot, and (3) Reducing…

Continue lendoWooCommerce: Limit Daily Sales For Cheap Products (Anti-Spam)