Style_Block__c Object Reference

Object Name Style_Block__c
Type Custom StoreConnect Object
Description Style Blocks contain CSS code that will be included on your web store.

Field Definitions

Field Name Type Required Unique Description
Active__c Checkbox(true) No No Defines whether the Style Block is active. Only active Style Blocks will be included on the website.
Content__c LongTextArea No No The CSS code of the Style Block, without any
Global__c Checkbox(true) No No Defines whether the Style Block is automatically included on the website.
Media__c Picklist No No Specifies what media/device the CSS style is optimized for.
Position__c Number(18, 0) No No This defines the display order of the Style Blocks on the website. Lower numbers appear first. Only applies when Global is checked.
Store_Id__c Lookup(Store__c) Yes No The Store that the Style Block belongs to.
Url__c URL No No The URL of an external Stylesheet to be included. If a value is specified, any value in Content will be ignored.
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