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
0
votes
0 answers

Format products and variations SKU on woocommerce wordpress product page

I want to show only the first 5 digits of the composed SKU for products, here's the context: Main product SKU: 12345 Variation SKU: 67890 SKU showed on product page: 12345-67890 I want to show only the first (main product) SKU number: this is what…
0
votes
0 answers

Product model numbers (SKU) missing on website front in OpenCart 3.0.2.0 (Theme Journal2)

OpenCart 3.0.2.0 (Theme: Journal2) Despite the fact that no actions were taken on the site, model numbers suddenly began to disappear. When I open the product list, the numbers are visible, but if you go to the next page of products, the numbers…
0
votes
1 answer

Can't get variation attributes from orders filtered with products attribute in woocommerce

in woocommerce my-account, i want to show all sells related to a variation attribute. In my case the attribute is the artiste name. I want to show the size/quantity and name of buyer for each order of each product related to the artist. if size is…
Keusta
  • 11
  • 4
0
votes
1 answer

Automatically create Woocommerce SKU with save_post hook

I need to create a unique SKU that is made up of 3 custom taxonomies any time a new product is saved, but having trouble getting at the custom taxonomies. This is what I have so far: add_action( 'save_post', 'set_sku', 10,3 ); function set_sku(…
Sean Doherty
  • 2,273
  • 1
  • 13
  • 20
0
votes
1 answer

How to debug and improve memory consumption on PowerBI Embedded service

I am current using PowerBI Embedded service from azure with an A1 unit, which is constantly reaching peak memory consumption and thus causing errors in the visualization of production reports. 1) Is there any way to identify which…
0
votes
1 answer

Is it recommended to use characters like this one " / " for SKU's in Woocommerce?

Is it recommended to use characters like this one " / " and spaces for SKU's in Woocommerce? I wonder if it will have or create an impact on speed or can bring other issues? Can anyone please let me know it if that is OK? Thank you
0
votes
2 answers

Trying to fix SKU numbers from 55A_3 to A55_3 with PHP in SQL

I have SKU numbers imported from a CSV file into SQL DB. Pattern look like: 55A_3 345W_1+04B_1 128T_2+167T_2+113T_8+115T_8 I am trying to move all the letters in front of the numbers. like: A55_3 W345_1+B04_1 …
0
votes
1 answer

Magento 1.9.1 - Custom Module to update log file after checkout specific SKU product

I am using Magento 1.9.1 and I would like to write in a custom log file after user place an order with specific SKU product. I followed some tutorial explain how to create module but I can't run it in any way. First of all I created in…
0
votes
2 answers

WooCommerce: Display SKU number in admin side Order listing page custom column

I have added a custom column in Woocommerce admin side order listing page to display Ordered item Products name and total Quantity like this -> [http://prntscr.com/p11rdl] by using the following code: add_filter('manage_edit-shop_order_columns',…
Ketan
  • 579
  • 3
  • 11
  • 31
0
votes
1 answer

Stripe API create SKU

I need to create a SKU via stripe API. The problem is in inventory field. Stripe api response is: 'error' => [ 'message' => 'Invalid hash', 'param' => 'inventory', 'type' => 'invalid_request_error' ] My php code is: $endPoint =…
André Castro
  • 1,527
  • 6
  • 33
  • 60
0
votes
1 answer

How to change the Add To Cart Woocommerce button to a customized URL that pulls in the product SKU and Quantity#

In my Woocommerce store, I want to change all of the 'Add to Cart' buttons to an external URL that dynamically pulls in the product's SKU and Quantity. The URL would be something similar to this: https://www.custom-url.com/{SKU}/{QUANTITY} This is…
0
votes
2 answers

Excel: formula to identify missing sku

I have a list of 1500 sku. Currently we have an active inventory of 450 sku. I am looking for an excel formula that will identify when the sku inputed is not an active sku of the 450. I have tried various IF functions, but having a hard time…
0
votes
1 answer

Magento 1.9 if SKU Code Equals... code example not working - help :D

I am trying to check if sku first character equals then show a custom option value. here is the code if (strpos($sku_code, 'F') == 0) { $select->setValue($configValue); } Using this code works in the desired effect that it changes the value…
0
votes
2 answers

How do I show only the WooCommerce SKU number?

For example, my SKU number is "ZKY-KDN-KTP-167754" I want to show only number "167754" and hide the letters. Without deleting. Is it possible?
0
votes
2 answers

Get the product variations skus from a variable product in WooCommerce

I am trying to get an array of skus from variable products in woocommerce. Each variation has its own sku, and I have also set an overall sku for the product that encompasses all variations (in the inventory tab) So for simple products this code…
Brian Duncan
  • 115
  • 3
  • 12
1 2 3
8 9