Questions tagged [sku]

Question related to Magento products' SKUs. It is an identification code that helps track the item for inventory.

93 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
1 answer
2k views

How to get the product id and SKU code of the product selected

I am using a plugin to enable notify me (Out of stock) feature, the plugin is working properly but the problem is it is taking the core product id and storing it in the backend, even after I select a ...
Akshay Vasu's user avatar
3 votes
1 answer
129 views

I want some extra fields on magento 2.1.2 api

What I get : http://example.com/index.php/rest/V1/categories/263/products [{ "sku": "20130", "position": 1, "category_id": "263" }, { "sku": "20134",...
Om Infowave Developers's user avatar
3 votes
1 answer
2k views

Dynamically update SKU of configurable product

I have a configurable product with many options. How can I update the sku based on selected options? I have followed this answer, but I am stuck at the JavaScript part. I try to get the this.config....
ps202's user avatar
  • 160
3 votes
0 answers
294 views

Unique SKU for Product entity (Mage2)

Why SKU field in product table (catalog_product_entity.sku - VARCHAR(64)) does not have UNIQUE index (just simple INDEX for searching) and uniqueness is provided by PHP code? Postfix "-1" is added ...
Alex Gusev's user avatar
  • 2,009
2 votes
1 answer
426 views

How to get product custom attribute by using sku or ID in Magento 2?

I have created a custom attribute for product in Magento 2. But how to get that value by sku or id in Magento 2 ? I have got the product id by $product = $this->productRepository->get($...
Prits's user avatar
  • 625
2 votes
0 answers
897 views

Search by SKU not working in magento 2.3

I am facing some problems while searching with SKU in the catalog search. I have already turned on "Use in Search" and "Visible in Advanced Search" fields for SKU product attribute. However, when I ...
Shabeersha Salim's user avatar
2 votes
0 answers
62 views

Magento 2: Not transferring Item Name to paypal

is there a way for the PayPal express checkout module to not transmit the Item title/name to PayPal? Example: Current Status: Item name transmitted to pp: Leggings 3/4 legs whatever blah blah Size L ...
Da Chilla's user avatar
2 votes
0 answers
252 views

How to prevent adding same item into wish list twice in magento 2.1.9

I need to prevent users adding same item into user wish list. I could find an answer here .But i'm not able to implement it. please help me with the implimentation.
ren's user avatar
  • 365
2 votes
1 answer
473 views

Add product sku in URL

How can I dynamically change the url of a product? Now I got this url www.domain.com/product-name.html I need to add SKU, to my url like this: www.domain.com/product-name-SKU.html
Ivan Palma's user avatar
2 votes
2 answers
2k views

Display Child Product SKU in Product Page

I am using Magento 2. I would like to display child product SKU in Main product page while user clicks on configurable Swatches. I am trying to gather information from below file. public_html\vendor\...
abu abu's user avatar
  • 744
2 votes
1 answer
2k views

Dynamically updating the sku on the product page of a configurable product based on selected options

I've successfully got the attributes to update dynamically for the SKU on the product page based on the simple product selected (through help found on the web). I'm now trying to apply this logic to ...
Andy's user avatar
  • 21
2 votes
0 answers
956 views

frontend search by custom option sku

I know out of the box the Magento search allows you to search by product sku. This is working fine on our site. However, if you have a product with a custom option that appends to the sku, searching ...
Krista's user avatar
  • 96
2 votes
1 answer
649 views

How Can I Apply TAX Rule Based On Individual SKU Wise - Taxable Goods

I need to apply the tax rate for my all products with the unique tax rate, Tax rate different from each other, I mean all products have the own tax rate. How can I solve it?
user avatar
2 votes
2 answers
2k views

Passing sku code value to TrustPilot product review

hope someone can help. I'm trying to set up a 3rd party review platform (TrustPilot) for our Magento 1.9 CE store, using Ultimo theme. There is a product review box which will display individual ...
Bill V's user avatar
  • 21
1 vote
0 answers
20 views

Search with - does not give results?

Magento 2.4.6 Searching a SKU like abc123 works ok, but as soon as a "-" is included like abc123-456, it does not find a single product. Why is that? I am using elasticsearch. Can the search ...
user4095519's user avatar
1 vote
1 answer
32 views

How to add a stock availabilty and sku next to price of the product on product page in magento 2?

How to add a stock availabilty and sku next to price of the product on product page in magento 2 ? Please answer this briefly because i am new in magento 2. Also do we have to create a particular ...
Chicky's user avatar
  • 11
1 vote
1 answer
457 views

New Order Email Template for Specific Product Type / Sku in Magento 2

We are looking for a solution whereby if a customer orders a specific product or product type, they will receive a different order confirmation (new order) email. The standard confirmation emails ...
James's user avatar
  • 11
1 vote
0 answers
40 views

Search filter for SKU

In search bar when I search with SKU at that time suggetion popup appears. Please guide me how can I overwrite search auto suggetion popup with new filter about SKU search
Nedislav Kolev's user avatar
1 vote
0 answers
384 views

Magento 2 - Fulltext search Product SKU / Product Name in Sales Order Grid

I'm a newbie, new to magento 2. Please guide me here: I want to search fulltext product sku and product id in grid order. I have now added the product sku and product id to the grid, the filter is ...
Phukhoi Nguyen's user avatar
1 vote
1 answer
57 views

Magento2 - 2 catalogs with the same SKU products

Is it possible to create 2 independent catalogs that will have products with the same SKU? Store1 - catalog1 (SKU1, SKU2, SKU3) Store2 - catalog2 (SKU1, SKU2, SKU3) Or it's never going to work? SKU ...
Slava's user avatar
  • 11
1 vote
1 answer
1k views

Get SKU of simple product after selecting options of configurable product

How can I get the SKU of a simple product on a configurable product, after options are selected? I tried this solution but I get various errors and issues which make me think it is outdated. Magento 2 ...
Jagaya's user avatar
  • 13
1 vote
0 answers
56 views

Is it possible to export single product by sku?

I want to export a single product using SKU and I'm wondering if it is possible at all. If anyone has done, please let me know
Hgresa's user avatar
  • 11
1 vote
0 answers
196 views

Magento 2 How to Update Product Saleable qty using programmatically with Magento standard code

How to Update Product Saleable qty using programmatically with Magento standard code ? i am able to update product quantity using below code - protected $_stockRegistry; public function __construct( ...
sumeet bajaj's user avatar
  • 1,296
1 vote
0 answers
23 views

Intercept Default field values

Talking about Default Field Values, I'd like to intercept and edit those autogenerated values. I'd like to do this for: Sku URL key E.g. Product name: My Beautiful Product Autogenerated SKU: m-btfl-...
KaMZaTa's user avatar
  • 205
1 vote
0 answers
103 views

Magento 2.3 Edit Configuration product added SKU undefined

I have added Product and parent products save When I Edit Configurable products Select Attribute Values and add more parent products Then next Select Skip image uploading at this time Step 4: Summary-...
Akshay Kamble's user avatar
1 vote
0 answers
435 views

Magento 2 exclude products from catalog price rules

I'm facing this problem. I have around 70 products in different categories and different attributes sets, but with the same common attribute (SKU). I have 3 catalog price rules which applies ...
Oscar Vazquez's user avatar
1 vote
3 answers
786 views

How To Add Item Sku's and Product Names To Magento 2.2.7 Sales Order Grid

I have modified the order grid layout by adding this code in: vendor/magento/module-sales/view/adminhtml/ui_components/salesordergrid.xml <column name="order_items" class="Magento\Sales\Ui\...
Steve Bien-Aime's user avatar
1 vote
0 answers
120 views

How does SKU number is generating in Magento 2?

I would like to know how Magento 2 generates SKU number? While checking Mask for SKU in admin, there is filled as {{name}}. So when I create a product, the SKU automatically filled with the product ...
Siva's user avatar
  • 1,120
1 vote
0 answers
16 views

Divide orders based on order number and items ordered

I'm trying to figure out a way to do this: Compare order if it has multiple items with this same SKU it will be given a different status. for instance order : 555 has 3 items all with sku 565 < ...
Krzysztof Linetty's user avatar
1 vote
0 answers
222 views

Magento 2.2: How to display price block on product detail page in a custom theme

I want to display the price and SKU in the product detail page. I've set luma as a parent theme. I am getting SKU under product-info-price div on frontend but not getting price. here is my layout file ...
Bhakti Thakkar's user avatar
1 vote
0 answers
72 views

how to display product sku in custom admin grid in magento2

hello everyone I want to display the product SKU in custom admin grid I have column displaying in it now I want to display the data of it index.xml <column name="sku"> <argument ...
Ashish Ramchandani's user avatar
1 vote
0 answers
450 views

Magento 2 catalog search for SKU with dot not working

our SKU's have dot's like: "120.00085" If I search this string I get all products with "120.XXXX". But the product with exact this SKU is not at the first position in the results. Is there any ...
Michael's user avatar
  • 71
1 vote
1 answer
607 views

Display Product Sku in Child Products - Magento 2.2.3

On our Magento site, we have it so it displays the SKU under the main product title, but if there are child listings, possibly for different configurations of the product' the sku isn't appearing. I ...
Josh Allport's user avatar
1 vote
1 answer
453 views

Magento 1.9.2.3, Shopping Cart Rule are not working properly

Currently I am facing issue regarding Shopping Cart Rule in Magento 1.9.2.3. I have apply rule on just Single Product SKU but somehow it applies on other product as well. Don't know whats Wrong?
Crumby's user avatar
  • 41
1 vote
0 answers
26 views

Creating a 2 product kit for a specific combined price

We want to be able to offer our customers kits. If you buy one of the following top SKU and one of the following bottom SKU you get the kit for a set price. How do we setup this in our promotions.
stacey's user avatar
  • 11
1 vote
2 answers
713 views

Help to bulk update SKUs and Cost Prices

Good morning I am migrating my product portfolio from Magento 1 to Magento 2 and I need to bulk upload new SKU codes and new cost prices from an XL or CSV file how do I do this? Also on Magento 2 ...
A Royle's user avatar
  • 11
1 vote
0 answers
35 views

Link Product A and Product B to the same product with unique SKU and discret stock

like my Title says we want to link a product A and B to the same product. At this point, we aren't using at our Magento 2 shop a Configurable Product to select a specified product only to create ...
Andrew K.'s user avatar
1 vote
0 answers
50 views

ChannelGrabber Issues: Identical SKU's for Variants

I'm having an interesting issue with a new retail shop that's being set up. At the moment my client has a vast name for themselves on ebay and amazon and are looking to expand on this. As such, we've ...
Daniel Ruxton's user avatar
1 vote
0 answers
359 views

Multiple SKU to share one inventory?

The scenario is as follows: I sell unisex clothes. As a result I used a Gender attribute on the product page to allow the customer the option of seeing a male model wearing the item and a female ...
mutt ilda's user avatar
1 vote
1 answer
37 views

If I add a product to my cart, is there a way to track that sku on all pages?

I have been trying this to retrieve them and it works fine on Product detail pages. $data = array(); // PDP if ($module === 'catalog' && $controller === 'product' && $action === 'view'...
Head Way's user avatar
1 vote
0 answers
49 views

I'm pulling the style number for configurable products instead of the sku (simple) in my data array

For u2 it populates the style number and I'm trying to pull the sku/upc. Here's what i have: if ($module === 'website_checkout' && $controller === 'onepage' && $action === '...
thismethod's user avatar
1 vote
1 answer
259 views

Trying to get product Id at checkout

I'm trying to get the product Id's/SKU's after a customer has hit the purchase button with no success. $om = \Magento\Framework\App\ObjectManager::getInstance(); $checkout = $om->get('Magento\...
N. Mantel's user avatar
1 vote
1 answer
306 views

Cannot import with NEW SKU

I have a multistore and have just added a new store and gone to upload the new products as I usually do however this time the upload won't work with new SKUs. I already had about 5 products in the ...
Keith's user avatar
  • 11
1 vote
0 answers
261 views

Push an array of all sku's on a category page into my $data = array();

I want to list all sku's on a category page in a data array. Currently if i'm on a product detail page i can push the sku into my data array like this: if ($module === 'catalog' && $...
Head's user avatar
  • 177
1 vote
1 answer
138 views

Echo SKU Option to front-end Magento Syntax

I'm Hannah a jeweller from Kent, United Kingdom. I am developing my website and I have hit a roadblock, I was wondering if anyone could point me in the right direction please? I am using the latest ...
Hannah Ja's user avatar
1 vote
0 answers
183 views

Pull Configurable SKU instead of Simple Product SKU in Transactional Emails and Invoices

Is it possible to have Magento pull the SKU of a configurable product instead of the individual simple product SKU in transactional emails and on invoices?
Dan's user avatar
  • 21
0 votes
1 answer
19 views

how to update the SKU values

Magento Verrion: 2.4.3-p1 Problem: I tried to update the products weight value in the admin panel. I changed the weight value 1.2kgs(current) => 2.8kgs(preffereable) and press the save&exit ...
celina alwin's user avatar
0 votes
0 answers
37 views

How to identify products with any of the illegal characters in SKU?

Magento 2.4.5-p1 I have imported some products from Magento 1.9 into my Magento 2.x and now I have the issue where I get the following Error when viewing products in the Admin panel: Something went ...
Allysin's user avatar
  • 260
0 votes
2 answers
57 views

Update SKU using entity ID in import

I am trying to update sku using entity id and it's working but issue is when i try to order that product from the front-end it shows "There are no source items with the in stock status". ...
Kapil Pandya's user avatar
0 votes
1 answer
33 views

Upgraded to Magento 2.4.5-p1. Our SKUs are 13 digits. Search won't return anything unless SKU length is 9 or less. Any ideas?

Search won't return anything unless SKU length is 9 or less. Any ideas ?
RoboxFuze's user avatar
  • 109