Model
Virtual
Magento\Catalog\Model\Product\Type\Virtual
What it does
This class implements the Virtual product type in Magento 2, representing products that don't have physical presence like downloadable services, warranties, or memberships.
Developers use this class when creating or managing virtual products that don't require shipping, inventory tracking by weight, or physical product attributes.
Public Methods
- isVirtual()
- hasWeight()
- deleteTypeSpecificData()