Template Files for SuiteCommerce Theme Areas and Customization

Template files define the structure of SuiteCommerce themes, allowing for custom extensions and enhanced web page layouts.

·2 min read·View Oracle Docs

Template files are crucial for controlling the layout and functionality of your SuiteCommerce themes. They consist of HTML markup that includes placeholders ready for inserting custom extensions and various content types.

What are the Key Theme Areas?

SuiteCommerce themes encompass several areas where template files are positioned. Here are the primary theme areas:

  • My Account Theme Area
  • Checkout Theme Area
  • Shopping Theme Area

These areas are designed with pre-defined slots, simplifying the process of adding custom content features.

Template Files and Placeholders

Below is a table detailing template files and data-view placeholders in different theme areas, which allows you to manage content visibility and functionality:

My Account Theme Area

AreaTemplateData-ViewLocation
ACH Payment Instrumentpaymentinstrument_ach.tplN/AN/A
Address Bookaddress_list.tplAddressBook.AfterAddressesList.address-list
Overviewoverview_home.tplOverview.AfterRecentPurchases.overview-home-order-history-results-container
Payment Methodspaymentmethod_creditcard_list.tplPaymentMethods.AfterMethodsList.paymentmethod-creditcard-list
Profile Informationprofile_information.tplProfileInformation.CustomFields.contact_info
Purchase Details -Itemsorder_history_summary.tplPurchaseDetails.AfterItemLines.order-history-packages-accordion-container
Purchase Details -Summaryorder_history_packages.tplPurchaseDetailsSummary.AfterTitleAfter .order-history-summary-summary-title

Checkout Theme Area

AreaTemplateData-ViewCMSPlaceholderLocation
ACH Payment Wizardpayment_wizard_paymentmethod_ach_module.tplN/Ax-N/A
Login/Registerlogin_register_login.tplN/AxLogin.CustomFieldsAfter password input
New Customerlogin_register_register.tplN/AxScope:PathAfter re-entering password input
Order Wizard Cart Moduleorder_wizard_cart_summary.tplN/AxOrderWizardSummary.AfterTitleAfter .order-wizard-cart-summary-title
Order Wizard Confirmationorder_wizard_confirmation_module.tplN/AxOrderWizard.AfterConfirmation.orderwizard.module.confirmation
Order Wizard Payment Methodorder_wizard_paymentmethod_selector_module.tplN/AxOrderWizard.AfterPaymentMethods.order-wizard-paymentmethod-selector-module

Conclusion

Template files are integral to ensuring a seamless and customizable user experience within your SuiteCommerce themes. By utilizing these structure elements, developers can enhance site functionality and align it with business needs.

Frequently Asked Questions (4)

Are all template files located within the predefined theme areas in SuiteCommerce?
Yes, template files in SuiteCommerce are organized within specific theme areas like My Account, Checkout, and Shopping, each containing predefined slots for customization.
Can I add custom content features to the My Account Theme Area?
Yes, the My Account Theme Area provides placeholders within its templates, such as `AddressBook.AfterAddressesList` for the Address Book, allowing the addition of custom content features.
Do I need to use a Content Management System (CMS) to manage placeholders in the Checkout Theme Area?
Yes, certain placeholders in the Checkout Theme Area utilize a CMS, allowing for further customization and management of content, such as the 'Order Wizard Cart Module'.
How do placeholders affect template functionality in SuiteCommerce themes?
Placeholders in SuiteCommerce templates allow for dynamic insertion of content and custom extensions, ensuring flexibility and a customizable layout for varying business needs.
Source: Templates and Theme Areas for SuiteCommerce Themes Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →