cancel
Showing results for 
Search instead for 
Did you mean: 

M2 show simple product sku in shopping card of configurable product

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

M2 show simple product sku in shopping card of configurable product

Hello,

I show the sku in the shopping card. 

The problem is that if I use configurable products, it shows the sku of the configurable product and not the sku of the simple product. This doesn't make sense.

 

Does anyone has got a solution for that or any hints?

 

 

11 REPLIES 11

Re: M2 show simple product sku in shopping card of configurable product

Hi @senders,

 

Are you saying to be able to show something like this?

 

2019-10-08-01.png

 

After you add the product you can check the Product in the mini-cart.

 

2019-10-08-02.png

 

If you click on "See Details" you'll get the extra information.

 

2019-10-08-03.png

 

And checking the Cart you'll see the simple product data too.

Then, internally you'll

 

2019-10-08-04.png

 

In which section or moment you see only the configurable data. Can you share more details?

Re: M2 show simple product sku in shopping card of configurable product

Hello @Damian Culotta ,

 

I don't mean the mini card. I mean the main shopping card page: /checkout/cart/

snapshot-card.png

 

Re: M2 show simple product sku in shopping card of configurable product

Hi @senders,

 

Are you using some customization to get the SKU in the cart?

 

Re: M2 show simple product sku in shopping card of configurable product

Hello @Damian Culotta,

no special customization like extension or code.
Just the simple way. Set „Visible at checkout“ in the backend configuration setting of the attribute „sku“.
That‘s all.

Re: M2 show simple product sku in shopping card of configurable product

Hi @senders,

 

Can you point me which specific setting?

2019-10-09-05.png

 

2019-10-09-06.png

 

Which version of Magento are you using?

Re: M2 show simple product sku in shopping card of configurable product

Magento Version 2.2.9

 

Sku attribute:

 

visible-in-checkout.png

Re: M2 show simple product sku in shopping card of configurable product

Hello @Damian Culotta,

 

ok if searched for the field is_visible_on_checkout.

And I found out, that it was generated by the firegento/magesetup2 extension.

 

So is there anyway to show the sku of the selected simple product when it was chossen in a configurable product on the shopping card page?

 

Kind regards

 

Re: M2 show simple product sku in shopping card of configurable product

Hi @senders,

 

I saw you have opened an issue into the module repository.

I guess that's the best wat to find the proper solution.

But, at the same time, if I search for SKU into the project, I can't see any reference into that module: https://github.com/firegento/firegento-magesetup2/search?q=sku&unscoped_q=sku

 

Can you check again if that is the module that introduces the option?

Re: M2 show simple product sku in shopping card of configurable product

Hi @Damian Culotta,

 

yes it is this extenison.

But the function is not only for sku. It is for all attributes.

 

https://github.com/firegento/firegento-magesetup2/search?q=is_visible_on_checkout&unscoped_q=is_visi...