Converting Woo Commerce dropdowns into Radio Buttons

I'm having trouble converting the variation dropdowns into radio buttons a woocommerce enabled site. I've tried the answer found here but I can't seem to make this solution work. I've also tried...

Woocommerce - custom variable product options

smart people I have what might be a challenge at least for me anyway. I'm using Woocommerce for ecommerce site but need to customize the Variable Product options to include more relevant variation...

Creating WooCommerce Analytical report with SQL

I just recently moved to WooCommerce platform and need to build SQL in MySQL to run my own analytical reports. For example, I need report that shows total number of sales per sku, per country in...

Disable WooCommerce SKU on Product Page

I have a WooCommerce store and I don't want to display the SKU on any single product page. Looking at their code, I found this filter: /** * Returns whether or not SKUS are enabled. * @return...

Products filters for get_posts function

Making Search functionality for wooCommerce Products and watching how function get_posts( $args = null ) works, I see that setting args like $args = array( 's' ...

Woocommerce Custom Product Loop Post Per Page Issue

I have created a custom product loop using "WP_Query" to display Woocommerce product data in Table and its working fine. But 'posts_per_page' => -1, is not showing all the products from sample...

Python unable to make connection with woocommerce rest api

I am working on a woocommerce rest api in which I am passing the product data from mongodb using python. I wrote a script for the same. First time the script ran successfully and passed two...

WordPress: WooCommerce email_order_items_table remove price

I’m new to PHP and also new to WooCommerce. I want to edit the woo-custom-emails plugin. As a user I have the possibility to set {email_order_items_table} in my text which outputs the product...

Add a barcode field to Product Inventory in WooCommerce

I would like to add a Barcode Field under my SKU code field in my Inventory settings of my Product. I'd like to use this as I'm working with WooCommerce POS and based on the barcode field I could...

Add and save admin product variations custom field in Woocommerce

So I've got the following code which makes me add a Barcode field to the Inventory Options of a product. Now I also want to add this to each variations so I can easily add Variation Products when...

Show SKU on cart and checkout pages in Woocommerce 3

I would like to display SKU on cart (Under product column ) and checkout page. I searched SO, but all answers are for old versions of WooCommerce and non of them is for 3.x. How can I show SKU on...

How to move the SKU on a woocommerce wordpress site?

I am looking for some woocommerce help. I am building a website for video downloading. and the client is very specific where he wants things in the shop. on default, the SKU is on the bottom and...

Trouble integrating Woocommerce order details into Google Sheet with Google App Script API

I have an API that automatically pulls new order details from my Woocommerce store into a Google Sheet. It seems to be working however, it has failed to pull the first 7 orders into my google...

Move the variation description to the Woocommerce product variable description

What I am trying: Show the Variation Description of the Child of a Variable Product on single product page in the product tab description area. In WooCommerce and variable products the parent has...

Get some order and order items data in Woocommerce emails

I am currently customising the emails that customers receive after a purchase on my website (customer-processing-order, customer-completed-order etc etc). I have copied the email folder from...

Updating product stock programmatically in Woocommerce 3

I need so help. I'm trying to update the woocommerce product stock quantity programmatically. We have a vendor feed to us through some JSON. I can read the stock from the feed and can pull the...

Create programmatically a product using CRUD methods in Woocommerce 3

I'd like to create a new Woocommerce product programmatically with PHP code and I have tried it with the Woocommerce 3 CRUD methods: //Woocommerce CRUD $objProduct = new...

Adding a conditional to mustache/php

Consider: <?php /** * Single variation display * * This is a javascript-based template for single variations (see https://codex.wordpress.org/Javascript_Reference/wp.template). * The values...

WooCommerce: Add/display Product or Variation custom field everywhere

Currently using WordPress 5.1.1 and WooCommerce 3.5.7. My WooCommerce store has around 500 products, made up of simple and variable products. Each product naturally has a SKU, but each product...

Moving Product Meta to Additional Information Tab

I need to move the Product Meta content from under the "Add to Cart" button to the "Additional Information" Tab, I want it to display similar to the attribute as the client wants to move this...

WordPress: Populate list field with WooCommerce products in Gravity Forms

I want to let users select products in a form. To do that, I need to dynamically populate a form with published WooCommerce produts. I found a solution to populate a select field with WooCommerce...

How to add a (second) custom sku field to WooCommerce products?

We needed another field in our products for Prod ref/Cat numbers and I found the bit of code below which works perfectly. I now need to add a second field for Nominal Codes used by the accountants...

WooCommerce search for multiple orders

With inspiration in this post - https://stackoverflow.com/questions/49437051/woocommerce-admin-product-search-multiple-skus/61770224 I am trying add a search for multiple orders to WooCommerce Is...

Search product with woocommerce REST API by sku

I have to create a service in order to publish products to a wordpress via woocommerce REST API. We are creating products in site by using the batch update "function". All nice and fine, but I...

Redirect product SKU from Url to the related product in WooCommerce

I have a WooCommerce store and I would like to basically redirect product SKU from Url to the related product. So for example for the Url domain.com/product/SKUID, user should be redirected to the...

Display all the variants with custom data in WooCommerce additional informations tab in a single table row

I have one product with multiple variants, and I'd like to display all the variants (not attributes) with their relative SKU in the additional informations tab, like so: Based on Display in...

Delete product if SKU does not exist in csv when importing with the woocommerce built-in CSV importer

I am using the woocommerce plugin of wordpress to build a shop. It seems that the built-in CSV importer has no option to delete products which are not in the CSV file used to create / update the...

Update WooCommerce product stock from csv

Combining this topic https://stackoverflow.com/questions/62812359/update-woocommerce-product-price-and-stock combined with fgetcsv and fopen My goal is to update the stock of the products on a...

How to disable tax being charged on shipping in WooCommerce?

I have configured my Woo-based shop to NOT charge any taxes on shipping: I do have a table for Zero Tax rate configured: however it still does during the checkout: as is apparent in the...

Add product SKU to Stripe order description with 'Stripe for Woocommerce'

I'm using Stripe for Woocommerce https://wordpress.org/support/plugin/woo-stripe-payment/ I need to change the order description that appears in the stripe Dashboard so it includes the SKU of the...