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
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- SuiteCommerce Updates in NetSuite 2026.1 Release Notes
SuiteCommerce, MyAccount, and Advanced updates introduced in NetSuite 2026.1 enhance eCommerce capabilities and require migration for SCA.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency. Introduction Introduction
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce. Introduction Introduction Introduction
