Model
ProductWebsiteLink
Magento\Catalog\Model\ProductWebsiteLink
What it does
This class represents the relationship between a product and a website in Magento's multi-website setup.
Developers use it to manage which products are available on which websites, storing the product SKU and website ID association.
It's commonly used when assigning or retrieving product-website assignments through the API or programmatically.
Public Methods
- getSku()
- getWebsiteId()
- setSku()
- setWebsiteId()