Magento 2 How to fetch product row_id from product collection?

When working on Adobe Commerce (Magento Cloud), there are occasions when we need to use the product’s internal ID rather than its regular ID.

In Adobe Commerce (the premium version), this internal ID is referred to as the row ID, and it’s used for features like scheduling and staging content – essentially, for managing versions of products that are published at different times.

In the community (Open source) version, this same value is simply known as the entity ID. Continue reading “Magento 2 How to fetch product row_id from product collection?”

How product website relation are stored in catalog_product_website table Magento 2?

Magento catalog_product_website is used to store relations between a product and its associated websites.

If your Magento runs with multiple websites and the product is assigned to multiple websites, its relation with the website is stored in the catalog_product_website table.

Table catalog_product_website has two columns. Continue reading “How product website relation are stored in catalog_product_website table Magento 2?”

How to change sort order of product attributes from product edit page in Magento 2?

As a Magento beginner, You thought about changing the position of product attributes displayed on the admin product edit page.

If you don’t know how to change the sort order on the product edit page, This tutorial is for you to fix the sort order rendering on the product edit page.

Let’s say the product has assigned Attribute set to Default. You need to confirm the product attribute set from the product page. Continue reading “How to change sort order of product attributes from product edit page in Magento 2?”