Adding Exposed Variables in Skin Files for SuiteCommerce
Learn to add exposed variables in skin files for SuiteCommerce, allowing site admins to customize colors easily. What is an Exposed Variable?
What is an Exposed Variable?
Exposed variables in SuiteCommerce allow site administrators to personalize aspects of their site, such as color schemes, directly through the Theme Customizer. This functionality is essential for maintaining brand consistency and enhancing user experience.
How to Add Exposed Variables to Skin Files
To enable administrators to change editable colors, follow these steps to add entries to your skin JSON files:
-
Modify
skin1.json:
Navigate to your local workspace directory and open theSkins/skin1.jsonfile. Scroll to the end of the file and add the following line, ensuring to include a comma at the end of the previous entry:css"$color-glowy": "red" -
Modify
skin2.json:
Next, open theSkins/skin2.jsonfile. Again, append the following line, remembering to add a comma at the end of the preceding line:css"$color-glowy": "green"
By completing these steps, administrators will be able to dynamically select between red and green for customization in the Theme Customizer, enhancing the flexibility and visual appeal of your site.
Frequently Asked Questions (4)
Can I add exposed variables to any skin file in SuiteCommerce?
Do I need to follow a specific format when adding exposed variables to skin files?
Will changing the skin files impact existing site customizations?
How does adding exposed variables to skin files enhance SuiteCommerce?
Was this article helpful?
More in Commerce
- SuiteCommerce CAPTCHA Configuration Options and Setup
Configure SuiteCommerce CAPTCHA for enhanced security. Enable CAPTCHA for registration, login, guest checkout, and orders.
- Single Sign-On Integration for NetSuite Web Stores
Implement inbound single sign-on integration for NetSuite web stores using SAML or OpenID Connect for seamless access.
- Facets Management for Commerce in NetSuite
Facets management in NetSuite Commerce optimizes item search filters, enhancing performance and improving user experience.
- SuiteCommerce Analytics Data and Cookie Consent Integration
SuiteCommerce Analytics Data enables tracking of shopper behavior. This requires a cookie consent extension for user preferences.
Advertising
Reach Commerce Professionals
Put your product in front of NetSuite experts who work with Commerce every day.
Sponsor This Category