s_c__Product_Variant__c Object Reference

Name s_c__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
s_c__Master_Product_Id__c Lookup (Product2) No No
A Lookup to the product the variants are grouped under.
s_c__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.
s_c__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.
s_c__Variant_Product_Id__c Lookup (Product2) No No
A Lookup to the product that can be selected under the master product.
s_c__Variant_Type__c Picklist Yes No
The grouping this variant record belongs to within the master product. i.e. Size, Colour, Type etc.
s_c__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.
s_c__sC_Id__c Text [External ID] 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