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
0
votes
1answer
637 views

Magento 2 error - Product with Sku: prodotto not found in the catalog. - and the product exists

I have only one product in the catalog with sku "prodotto". The product is in the default category, it is also visible on frontend (I can see it and browse to it on frontend), it is in stock, it has ...
0
votes
1answer
767 views

change sku for all products

I import more than 2000 products in magento but I have a problem, I don't know what is the reason but now at the end of each sku appear _1 is there any way to remove this for all skus?
1
vote
2answers
951 views

Magento : White Space Around Sku

I am facing an error while updating product price because of extra white space around sku code. Any one know how can I remove that space from all product sku code.
0
votes
1answer
133 views

SKU Construction [closed]

What are the best practices for building SKU identifiers? I was reading on one e-commerce site requirements and they say "if the product vary in size or color, they are not to have separate numbers". ...
0
votes
1answer
990 views

basic product repository save not work in cron - magento2

I tried the below code in custom controller and cron job method [just load and save] after that I felt some issues $product = $this->productRepository->getById(548); $this->productRepository-...
0
votes
1answer
330 views

Exclude one SKU from all cart price rules at once

I'm having trouble with this subject. I have one new SKU, where I would like none of my cart price rules to apply. Can somebody help me with this? It's a bit urgent :-)
1
vote
1answer
465 views

Exclude one SKU from all price rules

I have one SKU I would like to exclude from all my price rules, so none of the price rules can be used on this specific SKU. But I have no idea how to do it. Can you please help?
0
votes
2answers
1k views

How to get all SKU's of simple products?

I have too many child products. I would like to see all child product's sku. Any one help me to get all simple product sku.
0
votes
0answers
39 views

Blank order detail page after rename product SKU in magento 1.8

When I rename product's SKU which product customer has ordered. After that when I go to order detail page that is showing only information tab only nothing else These are the security patches ...
1
vote
1answer
394 views

How Can I Bulk Import ShoppingCart Price Rule SKU'S into Conditions And Actions

I want to add bulk SKU's in Conditions and Actions, is any possible to bulk import sku's to Conditions and Actions, Screen Shots:
1
vote
0answers
46 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 ...
3
votes
1answer
37 views

Numeric SKUs being rounded frontend

Odd one, we have an SKU that is 063.665. Frontend however under additional information it shows as 63.67. So it strips the leading 0 and rounds the end. Does anyone know how I can stop this ...
1
vote
3answers
2k views

How can I Get Sku In Products Ordered Reports

I want display sku at products ordered reports page, how can i get sku ?
0
votes
1answer
1k views

“Product with specified super products SKU not found in rows:…” when reimporting just exported products to empty database

I exported all my single and configurable products to .csv and emptied my database of all products afterwards. I am now trying to reimport those same products using the just created .csv file. ...
3
votes
1answer
126 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",...
-1
votes
1answer
1k views

How to get WishList Product sku's or id's in phtml in Magento 2?

How can I get a customer wishlist product id's or sku's collection in phtml file in magento 2.
1
vote
0answers
134 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 ...
1
vote
1answer
36 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'...
1
vote
0answers
48 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 === '...
4
votes
1answer
2k views

Error Duplicating Product Magento 2.1.2?

After updating my Magento installation from 2.0.x to 2.1.2 I cannot duplicate products. Suppose I try to duplicate a product with SKU number '10', duplication then yields the following error: ...
4
votes
3answers
5k views

How to get specific sku product on search in magento 2?

In search bar when i am searching a product using sku (MY-PRODUCT-101), It displays all the product whose sku is having prefix (MY-PRODUCT-XXX) , But i only want it to fetch whose sku is (MY-...
1
vote
1answer
1k views

Magento 2 How to get Product details in CMS block using product id or SKU?

How to get product details in CMS Block using product Id or SKU in Magento 2.
2
votes
1answer
184 views

Magento is not showing error if I set duplicate SKU

I have a requirement where I have to update Magento products from outside of Magento code (a CodeIgniter project). Everything is working perfectly, but, one thing is wrong, if I save 2 products with ...
3
votes
5answers
2k views

How to get Magento2 product with REST if sku has slash?

Does anyone have an idea about how to get a product with slash through the rest api ? I have a product with sku 100/1. The closest I have gotten is to call: get /rest/V1/products/100%252f1 But it ...
2
votes
3answers
3k views

How to create coupon for specific SKU

Magento 1.xx can easily make a coupon for specific SKU, why the SKU disappear on Magento 2.xx
0
votes
1answer
593 views

“sku” in checkout config provider. magento 2

I have something like this in my custom js file to fill an array of items with checkout config provider. window.checkoutConfig.totalsData.items.forEach(function(item,index,array){ ...
2
votes
1answer
359 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
1
vote
1answer
247 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\...
2
votes
0answers
1k 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....
0
votes
1answer
192 views

Magento 2 exlude SKUs from discount

I desperately try to generate a discount code that can be applied to all products but one, as this one has a special price already. Looked a several suggestions, but I cannot find the condition/action ...
1
vote
1answer
943 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\...
0
votes
2answers
844 views

Magento 2: Adding Custom SKU for simple products in Configurable Product

I am looking for a way to add custom SKU to the simple products which magento automatically creates when you create "configuartions" for a configurable product. As pictured in the attachement, there'...
0
votes
1answer
110 views

Sell same product from different distributors

What's the best way to do this? Example I want to sell Ipad-mini's. I can get them from different distributors, with different SKU's. I'm updating each distributors stock level and prices into ...
0
votes
2answers
198 views

Change attribute inside order product row

I want to change the default SKU attribute (product number) inside the orderview, at the items block, to a custom attribute. See: Currently by default the SKU is displayed, I want to change this ...
0
votes
1answer
1k views

How to get tax class name for a SKU

Hi Currently I am getting tax class name as follows $_product = $item->getProduct() $taxClassId = $_product->getTaxClassId(); $taxClass = Mage::getModel('tax/class')->load($taxClassId); ...
8
votes
7answers
10k views

Magento 2 - Why do SKU not change dynamically in configurable product view page

When you change an attribute in a configurable product the product image changes dynamically but the SKU doesn't change. Also, if you add a configured product to your basket it gives you the image of ...
4
votes
1answer
6k views

Magento 2.1 Update Product Stock in Cron Job

I need to be able to programmatically update product stock in my Cron job. I have an array that contains both the SKU of the product needing updating and the Stock value of that product. How can I ...
2
votes
2answers
894 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 ...
2
votes
2answers
1k views

How to display the sku of product in javascript?

When the below line is used in JavaScript it displays the Product Id: var productId = optionsPrice.productId; window.alert(productId); Similarly how to get & display sku of the configurable ...
3
votes
0answers
246 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 ...
0
votes
1answer
835 views

Searching by SKU doesnt work

I work on the Magento CE 2.0.7 and now I have a problem with the quicksearch. My SKU'S like 00.00.00 and i have set SKU attribute is searchable in the backend. In the DB table '...
1
vote
1answer
750 views

Product sku not appearing on frontend

I added product sku on to Product list page. Using below code: <?php echo $_helper->productAttribute($_product, $_product->getSku() , 'sku'); ?> It was showing the sku like I wanted. ...
0
votes
1answer
233 views

Get product by SKU

I want to get a product by sku, when i do from the admin area in manage products, i got a result but i noticed that magento stores the sku with two zeros added at the begging of the number. The ...
4
votes
2answers
1k views

Magento2 - Filter product collection by SKU is not affecting layer navigation

I am filtering the product collection in ListProduct.php using below code // Sample sku array $skuarray=array('sku1', 'sku2', 'sku3'); $this->_productCollection = $layer->getProductCollection()...
1
vote
2answers
678 views

Is it possible for a global product to have store dependent custom options?

I am working on a multisite/store/storeview Magento site where we sell the same products in each substore, but need to have store dependent decoration options for each product. The product in each ...
0
votes
1answer
102 views

show SKU in Product view only from simple products

I think its easy but i don't found a way. In the product view.phtml ,I want to show the SKU. But only for simple Products. Is there any Way like this: <div class="product-sku"> <h3> <?...
1
vote
1answer
144 views

Change SKU to be non-unique

I want to change SKU Unique value to NO. How to edit this?
6
votes
1answer
1k 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 ...
1
vote
1answer
235 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 ...
0
votes
1answer
1k views

Include SKU within Product Drop-Down (Bundle Options)

When dealing with a bundled product, the associated bundle items when in the drop-down option, will display the product title along with the additional price. I have been tinkering yet unable to ...