Product_Variant__c Object Reference

Object Name Product_Variant__c
Type Custom StoreConnect Object
Description Product Variants are different variations of the same product. For example, small, medium and large, or red, green or blue. Each product can have an unlimited number of Product Variants, each of which is just another product. By having 2 variant records per product (one for colour and one for size), you could achieve a combination like Red Small, Red Large, Blue Small, Blue Large. This would represent 4 products, but require 8 product variant records.

Field Definitions

Field Name Type Required Unique Description
Master_Product_Id__c Lookup(Product2) No No A Lookup to the product the variants are grouped under.
Position__c Number(18, 0) No No The position of the product variant in relation to others related to the same master product with the same variant type. Lower numbers are shown first, records without a number are then sorted alphabetically by value.
Variant_Label__c Text No No The button text or picklist value shown on the product page. If no value is provided we use Variant Value instead.
Variant_Product_Id__c Lookup(Product2) No No A Lookup to the product that can be selected under the master product.
Variant_Type__c Picklist Yes No The grouping this variant record belongs to within the master product. i.e. Size, Colour, Type etc.
Variant_Value__c Text Yes No Defines the specific value of the variant for selection. i.e Red, Blue, Large, Small etc. This vlaue does not need to be what the customer sees as you can use the Variant Label field for the customer facing value.
sC_Id__c Text No Yes StoreConnect External ID, do not modify in Salesforce.

For more information about how or when to use the above, see our documentation.


Back to Documentation