Questions tagged [sku]

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

Filter by
Sorted by
Tagged with
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
31 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
0 votes
0 answers
35 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
  • 250
0 votes
2 answers
47 views

Is there a script that would identify records with spaces in SKU via PhpMyAdmin?

Magento 2.4.5-p1 I am getting the Error when browsing products which I think has to do with the fact that some of the products I imported from Magento 1.x have SKUs with spaces. Is there a script I ...
Allysin's user avatar
  • 250
0 votes
1 answer
27 views

return special price to blank value

I am trying to return the special price that some products have to the value that they had by default "blank value" or eliminating the value that these have, I want to do it loading template ...
Erick Vernaza's user avatar
0 votes
2 answers
50 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
0 votes
0 answers
55 views

Magento 2 -custom field Product Price in admin

how can create new field sku,price,sale price and a button update price dynamically, admin have option set and update price dynamically. i have tried below code etc/adminhtml/system.xml.? help me how ...
Irshad Magento's user avatar
0 votes
0 answers
152 views

Magento2 admin , how can create new custom product field "sku,"price", "sale price" and a button for "update price" dynamically

I want when admin select custom field product sku, able to Change price, sale price and a button for update price dynamically. I created only field by etc/adminhtml/system.xml but unable to its ...
Ahmad Magento player's user avatar
0 votes
0 answers
19 views

how to update or delete category tree data

The query is the following. I want to update this field in magento, but only accept or replace the new values ​​to be entered with the values ​​that already exist, doing it massively using a template, ...
Erick Vernaza's user avatar
0 votes
2 answers
260 views

Magento 2.4.3 - How to show SKU on category page?

Is there a way to make SKU show on the Category page?
Jan-petter Havna's user avatar
0 votes
1 answer
136 views

what does this error mean and how to solve it "message":"Products \"%1\" and \"%2\" have the same set of attribute values.","parameters"

I did an upload and the simple skus were created, but the configurable sku shows this error and is not created. What does it mean and how can I fix it?
Erick Vernaza's user avatar
1 vote
1 answer
398 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
0 votes
2 answers
959 views

Get product using SKU with respect to the store data using Magento 2 REST API

I use the core API /V1/products/:sku to get the product using the SKU. for example, I have 2 stores, one in English and another in Japanese. My API Endpoint is like http://local.mystore.com/storefront/...
Sathya's user avatar
  • 508
0 votes
1 answer
431 views

how can we export SKU with ID in magento2

I want to export sku with magento id. https://prnt.sc/njkYD1jkJrH0 I am trying to find how to export Product ID with a matching SKU
kiran's user avatar
  • 597
0 votes
2 answers
54 views

Stock update Issue

Running into a problem when updating stock on a configurable product. Basically when one of my stock hits 0 and I do a mass stock update the qty will change but the simple product will remain out of ...
James's user avatar
  • 1
2 votes
2 answers
381 views

How to change the Product NAME and SKU permanently in quote_item table when it is added to cart?

How to do this? I am using checkout_cart_product_add_after event. EDIT: After I did it like this <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
Mohmad Ashik M A's user avatar
2 votes
2 answers
988 views

Can we show Sku in shopping cart in magento 2

I wan to display the sku in the shopping cart. https://prnt.sc/lYQhd5uqcTo-
kiran's user avatar
  • 597
1 vote
0 answers
35 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
3 votes
3 answers
523 views

Search by SKU in Magento not working properly

Over 3000 of our SKUs contain special characters such as "-", "/", "&". The problem is when we try to search regular SKU (e.g. ABC123) on the front end it returns the ...
Raghib's user avatar
  • 31
0 votes
1 answer
144 views

Magento 2 - Adding part number to Invoice and sales > orders > view page

I am trying to added part numbers into the invoice and order view pages. SKU numbers are pretty useless when picking stock when its all part numbers. I have not been able to find someone who has been ...
Jesse's user avatar
  • 1
0 votes
1 answer
406 views

Magento 2 : Create comma seperated sku filter for custom product grid

I am using Magento ver. 2.4.4. I have a custom grid, displaying the below fields data. item_id, rma_id ,product_sku ,order_item_id ,reason_id resolution_id ,condition_id. I want to create a ...
Hamendra Sunthwal's user avatar
1 vote
0 answers
380 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
0 votes
1 answer
477 views

How do i create a stock level report in magento?

I need to get a stock report from Magento. what do we have in stock? what SKUs - what Qty. how do I do this?
Ben Hawley's user avatar
0 votes
1 answer
16 views

Forced rename update function (sku number input > url key input)

How do I code a function that force sku input data into url-key input data everytime I update a simple product or groupe product? This code work only on product creation but I want it to work on ...
i37Ow's user avatar
  • 3
0 votes
1 answer
741 views

How can we resolve the sales order filter with sku gaves "Something went wrong with processing for sku colum....." in Mageto 2

The Sales Order Grid Not Working And It's Gives this kind of error when search by sku "Something went wrong with processing the default view and we have restored the filter to its original state....
Jay Parmar's user avatar
2 votes
1 answer
1k views

Following products with requested skus were not found:

I'm using Magento 2.4.3 and have sold an item, but when I go to ship it, I get this error "Following products with requested skus were not found: Prod-P1234". The product exists with that ...
Chris's user avatar
  • 634
1 vote
1 answer
56 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
0 votes
1 answer
67 views

Magento 2 Get Product By First 6 digit SKU

As stated in the title, I want to be able to get Product by only the first 6 digit SKU no Full SKU No : 1350022021000 First 6 Digit SKU : 135002 I have done the code below to test if able to get the ...
Mohd Farhan Bin Ramli's user avatar
0 votes
1 answer
354 views

How to get product list by multiple categories with multiple SKUs in Magento 2.3.5

I'm trying to get product collection by Multiple Category Ids with Multiple SKUs. The result has been coming wrong. I can't understand where I'm wrong. The code is given below <?php namespace ...
Ankan Bhadra's user avatar
0 votes
1 answer
42 views

Admin input value is not accessible after adding the order increment ID while executing the command

I created a custom CLI command where I have to delete the order Items using the Order Increment ID, Item SKU. I used the ask() method after executing the command php bin/magento webkul:orderDelete ...
Manoj Jarial's user avatar
0 votes
1 answer
52 views

Product is not showing when I enter SKU in the URL bar (www.mysite.com/sku)

I have enabled the Amasty_ElasticSearch module, when I put SKU in the site URL, It shows an error 404 message. Like this : (www.mysite.com/sku). But I have another Site where It brings me the product ...
Jasvir Singh's user avatar
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
0 votes
2 answers
57 views

How do I remove a product page SKU in Magennto2

how to remove sku on product page in magento2
sq y's user avatar
  • 127
0 votes
1 answer
55 views

Overriding the addtocart button for third-party api

I am new to Magento2 and currently working on a project where some products can be custom-designed via a separate API. So when the add-to-cart button is clicked, instead of adding the product to the ...
Jagaya's user avatar
  • 13
1 vote
0 answers
55 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
0 votes
0 answers
206 views

Recently Viewed Widget - need product sku for image src

My product images are served from https://website-list.s3.amazonaws.com/xxxxxx.jpg where xxxxxx is the product sku. I have created a module to change the Image URL on several templates, following the ...
rodolphesalis's user avatar
0 votes
1 answer
325 views

how to get sku in template

I want get sku <?php echo __('Product code') . ": " . $item->getSku(); ?> This is my code, it not work <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING....
HuanTH's user avatar
  • 135
0 votes
1 answer
715 views

get product Id using product SKU

I am trying to get the product Id but below are given the conditions through which I want to get Id of the product. I have SKU of the product. but using that sku I want to get Id of that product. It ...
Muhammad Ali's user avatar
0 votes
2 answers
153 views

php code to generate sku in magento 1.9.3

We have a mass import &update module installed in our magento 1.9.3.10, but the products in the import feed do not have skus. Therefore we need a php script to enable us to generate sku when ...
Irina Filip's user avatar
0 votes
0 answers
58 views

Magento 2: which event fires before a product gets added into cart on the admin side?

When an admin wants to reorder an item I want to check whether that item is enabled or disabled and if its disabled I want to skip that product based on its SKUs from adding into my cart. Which event ...
Shivani Singh's user avatar
0 votes
0 answers
105 views

Can we display discontinued products in website?

Can we display discontinued sku? I have a some SKU’s in my website, but after some time it's discontinued, but people still search for it. I've seen this feature in many websites showing discontinued ...
kiran's user avatar
  • 597
0 votes
1 answer
421 views

How to align the SKU column in invoice pdf?

In generated pdf for the invoice, I have the name of the products overlapping the SKU column , I have changed some code but I don't really know how to get rid of this problem , if anyone can help me ...
coding mv's user avatar
  • 129
1 vote
1 answer
1k views

I need to show the product sku in two places on the product page in Magento 2

I'm trying to show the product sku in two different places on the product page. Is this possible and if so how can I do it? The sku is currently further down the page but I would also like to display ...
totneschap's user avatar
0 votes
1 answer
4k views

How to get parent sku from child sku magento 2

I have a child SKU in an array and I need to get all the parents from the existing child SKUs from the array. Can everybody help me ? Thanks
Robinio's user avatar
  • 771
0 votes
1 answer
365 views

Remove trailing and first space from sku

I have Magento 2.2.2. Some SKU products contain a trailing space. How to using data patch or MySQL database query which will remove all leading and trailing spaces from SKU products.
Alice's user avatar
  • 148
0 votes
1 answer
1k views

add the sku to the url key Magento 2

I want to rewrite the url of product from www.example.com/product-name.html To www.example.com/SKU.html Someone can help me? The products we sell are unique, but share the same name. So when we add ...
gill's user avatar
  • 329
2 votes
1 answer
421 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
  • 626
0 votes
0 answers
19 views

error comming while add to cart using textarea in magento 2.3.5

I am facing this kind of error while creating module for custom add to cart in magento 2.3.5. So can anyone have idea then please share with me. Thank you in advance.
Deep Shah's user avatar
  • 555
1 vote
0 answers
195 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,286

1
2 3 4 5 6