SuiteCommerce Base Theme: Key Concepts and Customization
The SuiteCommerce Base Theme serves as a foundational theme for custom development, facilitating effective eCommerce design.
The SuiteCommerce Base Theme provides a foundational framework that developers can leverage to create customized themes for their SuiteCommerce websites. It is introduced as a managed bundle, offering best practices that help ensure an efficient development process.
Understanding the SuiteCommerce Base Theme
The SuiteCommerce Base Theme acts as a baseline from which developers can start building their own themes. To utilize this theme, it must first be activated and its source files fetched into the developer's workspace. This process ensures that developers have access to all necessary resources to modify and enhance the theme as needed.
Base Theme Directory Structure
The fetched SuiteCommerce Base Theme comprises several essential directories that organize the files required for theme development. The table below outlines these directories and their purposes:
| Folder/File | Description |
|---|---|
assets | Contains subdirectories for fonts (font-awesome) and images (img). These elements are integral for modules in the theme. Custom fonts and organized images can be added here. |
Modules | Holds all functional modules of the theme. Each module consists of its own Sass and Templates folders, allowing for customization of styles and HTML templates. |
Overrides | Intended for theme-specific overrides for any extensions. This ensures compatibility between a theme and its extensions, allowing for tailored styles and layouts. |
Skins | Stores configuration files (skin1.json, skin2.json) that define the visual appearance of the theme. Administrators can choose skins via the Site Management Tools. |
manifest.json | A JSON file that compiles information about all assets in the theme. Developers can edit this file to include new resources as part of their theme customizations. |
Deploying a Theme Based on the SuiteCommerce Base Theme
When creating a new theme from the SuiteCommerce Base Theme, follow these steps:
- Verify Installation: Confirm that the SuiteCommerce Base Theme SuiteApp is installed and that it automatically receives updates.
- Activate Theme: Activate the SuiteCommerce Base Theme on the intended domain.
- Fetch Active Files: Utilize Theme Developer Tools to fetch the theme files for deployment.
Important Considerations
- Unique Naming: Upon deployment, the developer tools prompt for a unique theme name. The base theme cannot be overwritten but serves as a template for customization.
- Backward Compatibility: Updates to the base theme work in conjunction with significant SuiteCommerce updates, ensuring that older themes remain functional.
- SCA Compatibility: Special care is needed for themes using the Base Theme with later releases of SuiteCommerce Advanced (SCA), as compatibility depends on corresponding versions.
- Exclusivity: The SuiteCommerce Base Theme is the only officially published theme for SuiteCommerce MyAccount sites, making it essential for that context.
Key Takeaways
- SuiteCommerce Base Theme provides a starting point for custom theme development.
- The theme includes structured directories for effective asset management.
- Custom skins enable flexible branding directly through Site Management Tools.
- Managed updates ensure that the theme remains compatible with newer SuiteCommerce releases.
- Understanding the directory structure can significantly enhance customization efforts.
Frequently Asked Questions (4)
Do I need to manually update the SuiteCommerce Base Theme with each SuiteCommerce release?
How can I verify if the SuiteCommerce Base Theme is installed on my NetSuite account?
Can I overwrite the base theme when creating new themes?
Are themes developed on the SuiteCommerce Base Theme compatible with all versions of SuiteCommerce Advanced?
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