How to getSku for configurable products in magento 2

I want to get Sku for selected options.

enter image description here

Above image i have select blue and M. So this options product sku get in magento 2.

Please Help me.


Youtube videos are not working on Simple Products PDP pages

Any simple product that has a video assigned to it, will not play the video. If you are looking at the config product then videos play without issue.

Magento Version 2.3.5-p1

How to purchase cheap and good home medical products?


is amazon GTIN exmeption for generic products changed?

Hi all,

i was trying to get exemption for some category for generic product like mobile charger, when I type generic it says approved and I can add product after 30 minutes, I waited even 3 hours still when I try to add product it asking me for UPC code, I see couple of videos on 2020 in YouTube they get approved and add product instantly, is there any changes on 2021?

[Method] Sell Digital Products With PTC Traffic

Hey guys,

What do you guys think of this method? Keen to try but not sure if PTC is the best way to drive traffic. I’ve heard good and bad things.

Source: Sell Digital Products With PTC Traffic – The Cash Lab

Sell Digital Products With PTC Traffic

This is a very simple concept for making money online, but this particular method does require advanced copy-writing skills. So if you’re good at selling products online (with good copy-writing skills) then this method will work for you, but if your sales page is as boring as bat shit then you won’t make any sales and this won’t work. Do not try this method if you can’t write a good sales page. Go and learn how to write a good sales page (we have lots of articles about writing good sales copy) then come back here and try out this method.

How much cash can you make? Well that really depends on how good you are at selling. But people have reported over $2800 profit per week with this method. That’s a big chuck of money and nothing to be sneezed at! Also once sales start to drop off because you have saturated that PTC site you can always switch to another site, or sell the domain on flippa.


Create a quick product (ebook or otherwise) about internet marketing and making money online. Create an amazing sales page that sells the product. Send a LOT of cheap traffic to your site via paid to click (PTC) sites. Sit back and wait for the sales to flow in!

Step-By-Step Guide:

  1. Sign up with PayPal, NeoBux, and e-junkie.
  2. You’ll also need some sort of website hosting. I wouldn’t use shared hosting because we are going to be sending a LOT of traffic to your site. If you have shared hosting your site will get shut off by your hosting provider because of the server load. Yes, that still happens even if they say it’s ‘Unlimited Traffic’. I would get a Hostagtor Tier 3 VPS to start off with, that should be enough to handle the traffic load.
  3. Create a product. This is not as hard as it sounds. Just google ‘internet marketing ebook’, or go to the downloads section of an internet marketing website (not ours!) and you’ll find lots of free ebooks to download. Combine a few of those into a product. I’ll say this only once so make sure it gets into your head… it doesn’t matter how good your product is, it only matters how well you sell it. I’m not saying just churn out some crap product on purpose, put some effort in, but pay 100% more attention to your sales page instead of improving your product. With this method it’s your sales page that gets you money, not your product.
  4. Upload your product to Set the price for the ebook to $9.99 or something similar. I wouldn’t charge any more than that for the product because the traffic your sending to this page don’t have a lot of money to throw around. They can afford $9.99 if they think their going to make more money, but any more than that they won’t pay.
  5. Create a sales page. This is the important part. Spend more time on this part than any other. This is what is going to make the difference. So make it good! I usually use wordpress plus a sales page theme to make things easier.
  6. Include a ‘Add to Cart’ or ‘Get Instant Access’ image at the bottom of your sales page. Link that image to your e-junkie payment. So when someone clicks on the image they get redirected to your e-junkie payment. Don’t use ‘Buy Now’, it doesn’t convert as well.
  7. Go to NeoBux and buy 50,000 views for your website. This costs $70. Yes you have to invest some money but if you’ve done everything correctly you’ll make your money back (and more) no problem. You can buy more views every day to keep up the sales but don’t buy any on Sunday. Sales suck on Sundays.
  8. Watch your inbox fill up with sales notifications.
  9. When sales start to drop off sell the site on Flippa.

Some tips:

  • Include the guarantee just before the price. It’s been proven that people stop reading after the see the price. Including the guarantee just before the price is one more final selling point before they decide if they want to buy.
  • Use different size text and colors.
  • Include a few testimonials. Make up a few comments from ‘customers’ praising the product. It’s been proven that people are more likely to buy something if others have also bought the product.
  • Stick to the Make Money Online niche. The traffic your sending to this page is already trying to make money by viewing ads (PTC) so they are looking to make money online and are ready to buy. Selling products for other niches won’t work.
  • If your sales suck, improve your sales page. I can guarantee that 99% of the problems people have with this method is that their sales page sucks. I haven’t used it but the Google Optimizer might work for split testing.
  • If you’ve done thing right you’ll be making about $2500 per week after expenses.


Sign up to PayPal, e-Junkie, and NeoBux.
Get good website hosting.
Create a product and upload it to e-junkie.
Create a good sales page with e-junkie buy link at the bottom.
Send cheap traffic to your website with NeoBux.
When sales drop off sell your site on Flippa.


magento2 – Programmatically setting products multi select attribute doesn’t work in Magento 2.1

I am trying to be able to create/update a product programatically based on an API call in magento 2.1. I have everything working except for setting our ‘Product Brand’ multi select attribute. Using code found from stack exchange answers, this is what I have which isn’t working:

$product->setData('product_brand', $brands);

Where $brands is a CSV separated string of author names. However, I can hard code in one of the author names or their ID and the result is the same. The rest of the code works fine, and the product does get saved – but without any of the multi select options selected.

If I also include:

$product->getResource()->saveAttribute($product, 'product_brand');

Then I receive an SQL error and the product does not save: Exception PDOException: SQLSTATE(23000): Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails ((my user).catalog_product_entity_varchar, CONSTRAINT CAT_PRD_ENTT_VCHR_ENTT_ID_CAT_PRD_ENTT_ENTT_ID FOREIGN KEY (entity_id) REFERENCES catalog_product_entity (entity_id) ON DELETE )

Any help would be appreciated.

magento2 – Magento 2 – Get simple products from grouped product

I figured it out. Found the answer in this file:


public function getAssociatedProducts()
    return $this->getProduct()->getTypeInstance()->getAssociatedProducts($this->getProduct());

Give You Access To My Digital Content Platform for $50

Give You Access To My Digital Content Platform

I will give you access to my personal collection of high quality information products. I have full master resell right to these products and I can assure you of their quality because I use them personally.

The information products covers over 10 niches.

  • Social Media Marketing
  • Video Marketing
  • Internet Marketing
  • Email Marketing
  • Graphics Design Training and Content Packs
  • SEO
  • Website Traffic
  • Health and Healthy Living
  • Personal Productivity Growth


Tensor products of group algebras

We know that if $G$ and $H$ are finite groups and $F_p$ is a field of characteristics $p$, then $$F_pGotimes_{mathbb{F}_p} F_pHcong F_p(Gtimes H).$$ Here $otimes_{mathbb{F}_p} $ denotes the tensor products of group algebras over $F_p$.

My question is whether or not there exists any such isomorphism in case of semi-direct products or not, i.e. $$F_pG_1otimes_{mathbb{F}_p} F_pG_2 underbrace{cong}_{?}F_p(Grtimes H),$$ where $G_1$ and $G_2$ are groups related to $G$ and $H$ in some way. Please help.

magento2.3.5 p2 – what is the table of products in magento 2?

Product data is stored across a number of tables. The main one is catalog_product_entity. Anything not in that table will be stored in catalog_product_entity_int, catalog_product_entity_text, catalog_product_entity_decimal, catalog_product_entity_varchar, catalog_product_entity_datetime. Additionally you need to use the eav_attribute table which will tell you which values in the other tables are for which attributes.