Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sku]

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

0
votes
0answers
9 views

Echo SKU to product page (from Mageworx Advanced Product Options Suite) M2.3

Not sure if anyone can help, but basically I am trying to find a way to echo the SKU of the selected custom option (using Mageworx Advanced Product Options Suite) to the product page, either in the ...
0
votes
0answers
13 views

Sku format : Illegal sku com.ibm.as400.access

I've got this error with my Sku : com.ibm.as400.access.ExtendedIllegalArgumentException: javaValue (33005-Ambiance sobre): Length is not valid. [] [] what could cause the error? (it's on a custom ...
1
vote
0answers
11 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 < ...
0
votes
0answers
20 views

how to deduce the name of product from sku when creating a product magento 2

I have disabled the auto generated SKU so SKU is independent from name but in advance I want a new functionality when adding the sku 10014100 for example i will do a request in some table to ...
1
vote
0answers
44 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 ...
2
votes
3answers
40 views

How to export all customers based on ordered items SKU?

How to find all customers who ordered a certain SKU ?
1
vote
0answers
22 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 ...
1
vote
0answers
46 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 ...
1
vote
1answer
59 views

How to remove SKU from product name in search results?

How can I remove SKU from product name in search results? In category view, product name is without SKU but when I search for some product, the results is including SKU in product name.
6
votes
1answer
152 views

Magento 2 REST - SKU to items on cart totals API response is not available, How to get SKU in response API

Magento 2 Rest API of cart totals doesn't provide SKU, Which is necessary for any operation like extension_attributes /rest/V1/carts/mine/totals The return array of Items is array (size=21) ...
0
votes
0answers
29 views

Looking for a report by product SKU of items sold - bundle items by SKU

Hoping to be able to pull a report of items sold by SKU, with bundle items sold listed individually. Right now I am able to pull a report of items sold in a period of time, however bundles are ...
1
vote
2answers
352 views

Magento 2: How to move breadcrumbs and sku before product title?

I am trying to move breadcrumb and SKU to show above the product title using xml. Like <move element="breadcrumbs" destination="product.info.main" before="page.title.wrapper" /> But ...
0
votes
2answers
85 views

Magento2, How to pass product data as query string in Url using JSON template? Custom Module

I am trying to get product name, product SKU, Quantity in Url such that when I write 1 in Url 1-50 products should display, when writing 2 as page number 51-100 products should display. And data goes ...
1
vote
1answer
633 views

Undefined variable: /vendor/magento/module-catalog/Controller/Adminhtml/Product/Save.php while save configurable product in magento2

When I save configurable product with big length sku then error showing "0":"Notice: Undefined variable: product in /MASKED_DIR/2018-08-06_12-56-07/htdocs/vendor/magento/module-catalog/...
4
votes
4answers
421 views

How to get product images based on its sku?

I implemented a custom module Company/Module. In the controller folder i have upload.php file. I need to modify this file to display the output in a tabular form with sku and product image. Please ...
0
votes
1answer
104 views

How to get product images which are associate with its sku?

I want to upload a csv file which contains product sku and i want to get product images which are associated with that sku.please help me out.thanks in advance.
2
votes
2answers
49 views

Auto generate SKU for products that do not have one in Magento 1.9

Is it possible to generate skus for all products that do not have already one?
0
votes
1answer
28 views

Custom SKU pattern

I want to create an custom SKU pattern that is somthing like this: {attribute set id}{auto number} and I want it to be at least 5 numbers long. For example: 05004 where the 05 is for the ...
0
votes
1answer
61 views

Magento 2 stop Magento updating the SKU on duplicate

When I try to create a product with an SKU the same as one that already exists Magento allows the creation but changes the SKU to be xxx-1. Is there a way to stop this?
0
votes
1answer
87 views

Magento2 How can I choose multiple products by SKU?

How can I choose multiple products by SKU in a widget?
1
vote
1answer
117 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 ...
1
vote
1answer
129 views

How to display Name, Thumbnail Image, Price, Add-to-cart Button On CMS PAGE?

I need to display all my products like, Sku Name Price Thumbnail Add-to-cart(Button) How can i get all above details on CMS Page? Note : Add-To-Cart Error
1
vote
1answer
130 views

How can I add a SKU column in the Best Seller Product Report

How can I add a SKU column in the Best Seller Product Report.
0
votes
0answers
23 views

Regenerate product IDs

I've been searching high and low for a tutorial on how to regenerate product IDs by SKU on Magento 2.2.2 Everything I have come across so far has been regarding URLs. Does anyone know how to ...
1
vote
1answer
47 views

What is the best way to save a list of SKU in the admin to use in frontend as an array?

I need to create a list of SKU separated by commas (sku1,sku2) to use them in the frontend of the site as a global variable. I tried adding it as an attribute per product and I also tried to create a ...
2
votes
2answers
367 views

increase length of sku in magento 2

We use magento 2.2.2 and we need a longer SKU. We set "const SKU_MAX_LENGTH = 255;" in the file module-catalog/Model/Product/Attribute/Backend/Sku.php but it does not work
0
votes
0answers
36 views

Magento 2 : Change of SKU name to number

We would like to replace SKU in magento 2 currently in SKU instead of the number is the product name, and we have a problem in google analyst. How to change SKU to id number once? Possibly how to ...
0
votes
2answers
208 views

How can I stop Magento from appending SKU?

So I have a bunch of products with custom options and I would like to stop Magento from appending those other SKUS for these orders. This is how it shows: SKU1-CUSTOMOPTION1SKU-CUSTOMOPTION2SKU How ...
2
votes
0answers
42 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 ...
0
votes
2answers
54 views

How can I search by remove ' - ' from my SKU?

I have sku like this '1-83574148-0'. when I searched with keyword '1835741480' . It's no result . How can I search by remove ' - ' from my SKU ?
0
votes
1answer
181 views

Magento 2 Restrict SKU Characters

I am using Magento 2.2.2. I want to restrict the number of SKU characters to be entered in the Admin Product Detail Page. How to achieve this.
1
vote
1answer
184 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?
1
vote
1answer
599 views

Magento 2.2 How to add product sku to order confirmation email?

I am working on a new site using Magento 2.2. This is my first project using Magento 2. Can anyone guide me how to add the product SKU to the order confirmation email? When I go to Backend -> ...
1
vote
0answers
16 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.
1
vote
1answer
477 views

Shopping Cart Price Rule - By Using selected SKU Free Shipping Not Working?

I using default UPS, USPS, FEDEX, DHL Courier services, How can i give selected products sku free shipping, how to do that? Workout: Using selected sku's for free shipping not working? Note : In ...
2
votes
0answers
153 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.
0
votes
1answer
192 views

Display a link if SKU exists

I'm trying to add a link to an order confirmation email. The link should only display if SKU 2133 exists. The problem when SKU 2133 exists it displays SKU 2133 does not exist. Before adding the ...
5
votes
3answers
3k views

What is the difference between Product ID and SKU?

What is the difference between Product ID and SKU in Magento 2?
2
votes
1answer
102 views

Call the product to the home page using a SKU or ID Magento 2

I'm trying to develop an extension. I want to select a product SKU in the admin to be able to display the product on the home page. app\code\My\Mpanel\etc\adminhtml\system.xml app\design\frontend\...
1
vote
2answers
49 views

Access product sku within app/design/frontend/theme/Magento_Catalog/templates/product/price/amount

Is there a way to get the product sku within the app/design/frontend/theme/Magento_Catalog/templates/product/price/amount.phtml file? I need to retrieve the product sku value there, because i want to ...
1
vote
2answers
783 views

update Sku in using catalog_product_save_after in magento 2

I try set new sku using catalog_product_save_after event, its continuously run this observer, But Not save the sku value. events.xml: <event name="catalog_product_save_after"> <observer ...
1
vote
1answer
733 views

Magento 1.9 — Add SKU column to Sales Orders Report

I am trying to add a SKU column to the Sales > Orders column. After looking at the article below, I was going to change the copy of core sales order grid (app/code/local/Mage/Adminhtml/Block/Sales/...
1
vote
1answer
26 views

Verify product availability by SKU

I've a form in which I'm using ajax to get product sku and quantity from user. I successfully got those entered data in form to my custom module's controller. Now I need to verify that user's ...
0
votes
1answer
157 views

Product SKU based on manufacturer

I would like to generate the product SKU automatically for every product created in admin panel. I have found this extension which works to generate the SKU based on product name and it's category, ...
1
vote
2answers
1k views

Magento2 Auto Increment SKU

I am willing to get product SKU value to auto-increment in Magento 2. For example the last product created sku was 100001 then the next product would be 100002 and so on.
2
votes
1answer
619 views

Safely update SKU from DB Magento2

In a store of mine, built on Magento 2.1.x I need to perform a bulk update on product SKUs. I am thinking about doing an UPDATE directly on the DB, on the catalog_product_entity table, since I ...
1
vote
1answer
21 views

Products in Magento - SKUs from a category

Would you have any way to get product SKUs from a category? For example, I have a category with id = 13 and I need to get the SKUs of these products dynamically, so I can do checks that I created in ...
5
votes
3answers
5k views

Magento 2 - get special price of product by product id or sku

I need to get the special price of a product by product Id or Sku. Let's say I have an existing product with Id '21' and Sku 'test-21'. This information is provided in my custom block class, how can ...
0
votes
2answers
340 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 ...
0
votes
1answer
74 views

How to make SKU# visible on frontend?

I want to make SKU# visible on website. I found directions to update list.phtml and view.phtml. It says to go to app\design\frontend\rwd\default\template\catalog\product\view.phtml. Please advise ...