Questions tagged [sku]

SKU stands for Stock Keeping Unit, and is a product or service identification code that helps track the item for inventory. This tag relates to Questions regarding identification systems usually used to track inventory.

SKU stands for Stock Keeping Unit, and is a product or service identification code that helps track the item for inventory. This tag relates to Questions regarding identification systems usually used to track inventory.

132 questions
2
votes
1 answer

WooCommerce Display Product Variations SKU

I am using WooCommerce and I'm trying to display product variation SKUs on the product page below the product title. I managed to find this code, which works but displays the SKU in the wrong place: // Display product variations SKU and GTIN…
Ricky Bailey
  • 133
  • 2
  • 7
2
votes
0 answers

Creating combinations sku product C#

I've to figure out how to generate SKUs for a product with a certain number (x) of attributes and each attribute has a certain number (y) of values. For example: A t-shirt has the following attributes: Color Size Gender Sleeve And the values for…
TuanNV
  • 21
  • 1
  • 3
2
votes
2 answers

Ruby - Merge CSV duplicate columns with same SKU

I have created a CSV file about my eshop that contains multiple items with different SKUs. Some SKUs appear more than once because they can be in more than one category (but the Title and Price will always be the same for a given SKU).…
2
votes
1 answer

Replace product name by SKU in Woocommerce admin orders pages

Again, and it will be my last question on this topic (I apologize if I asked too much questions), I would like to replace the Product name by the SKU only in Woocommerce --> Orders --> Order Details in the backend admin of WordPress. I didn't find…
2
votes
1 answer

Replace product title by the SKU in Woocommerce single product page

I am using Woocommerce and on the Product pages I would like to display the SKU instead of the product title. I've tried this code: add_action( 'woocommerce_single_product_summary', 'custom_before_title' ); function custom_before_title() { …
2
votes
2 answers

Query InApp purchases within my Android app

I have an Android app where users can buy 1 inapp product to unlock some features. I've read extensively the guide at: https://developer.android.com/google/play/billing/billing_library_overview#java I understand that in order to let users buy the…
2
votes
1 answer

Generate the product variations SKUs from Woocommerce parent variable SKU

In WooCommerce I would like to generate the product variations SKUs from the parent variable product SKU like: Variable Product sku: 1200 1st Product Variation SKU: 1200-01 2nd Product Variation SKU: 1200-02 3rd Product Variation SKU: 1200-03 … and…
Neil Fender
  • 75
  • 1
  • 10
2
votes
1 answer

Add a new custom default ordering catalog option in Woocommerce

I am trying to get the default order of Woocommerce to be order by SKU. I have changed the order in the woocommerce settings and added SKU like this: function sv_add_sku_sorting( $args ) { $orderby_value = isset( $_GET['orderby'] ) ? wc_clean(…
Litsher - Nathan
  • 265
  • 1
  • 5
  • 18
2
votes
2 answers

Get the Url of a product from its SKU in WooCommerce

The question is simple, if I know the SKU of my product and nothing else, how can I retrieve the url/permalink to that item? This is commonly useful for third party integration.
PraviM
  • 21
  • 1
  • 3
2
votes
4 answers

Get WooCommerce product SKU in product pages meta box

I have a custom meta box in the backend of WooCommerce. Currently I have it setup to display some data from the single product page. I've used to display the title of the product and I've used to…
minemindmedia
  • 293
  • 2
  • 5
  • 19
1
vote
1 answer

Add all order items SKU to order number in Woocommerce

i have this code that prefixes the product name into the order number through functions.php but i want to change it to add the SKU instead. Also it would be good, if the quantity of each SKU would be inserted as well. Something…
jojo1243
  • 17
  • 5
1
vote
3 answers

SKU update on WooCommerce product

I need to update the SKU of a WooCommerce product but nothing I tried works. I'm trying to update the SKU of a product. I build a new select custom field (´´id=>'_leadlovers_integration_product'´´ on the code below) on the inventory settings with…
1
vote
1 answer

Get related products SKUs in WooCommerce

We want to show a section called "complete the look" in WooCommerce. We are using PureClarity to do that. PureClarity asked us to extend the WooCommerce feed by adding a code snippet in functions.php to add related peoducts SKUs under…
user19935890
1
vote
1 answer

Greying out product variations based on stock quantity and SKU

I have a variable product with 2 different variations. Both variations use inventory at the product level. The stock is at 3 and I have the following two variations: Buy with 1 credit Buy with 3 credits The stock of the product is 3 and when…
user2812779
  • 193
  • 3
  • 19
1
vote
1 answer

How to distinguish regular organizations from non-profit ones with Google API?

We have an app that's getting license info about our clients' Google organizations. We've been using SKU IDs before but now we've faced with non-profit organization and Google support says there's no SKU IDs for nonprofits. We've been investigating…
AfanEvgOda
  • 15
  • 1
  • 3
1
2
3
8 9