Skip to content
Avetti Support
Avetti Support

Getting Started

  • Getting Started, Creating a new Supplier store in a marketplace
  • Access Methods for Admin Portal
  • Scanning QR Codes: A Step-by-Step Guide
  • ImageKit – Clearing Cache
  • How to setup a separate checkout on the marketplace
  • Getting Started Create a new Container store
  • Getting Started eShop
  • Getting Started Marketplace
  • Getting Started Multi Store Ecommerce
  • Getting Started With Website Performance
  • Getting Started With Google Analytics
  • Getting Started With Microsoft Clarity
  • Differences between Avetti Commerce, Magento, Shopify, and Woocommerce.
  • A Comprehensive Guide to Web Accessibility: Key Aspects and Top Testing Tools
  • a Comprehensive Guide to Web Accessibility Testing
  • HOW TO IMPLEMENT IMAGEKIT CUSTOM LOADER

Admin Pages

  • Create a New Supplier Store
  • Setup the Template/Default stores
  • Log in to a Supplier store
  • Avetti Shop Connect
    • Fulfillment
    • Supplier Connect / Reseller Registration Form
    • Shop Connect / Supplier Registration Form
    • Shopify 
    • Magento
    • WooCommerce
  • Catalog and Order Management
    • Catalog
      • Find Products to Sell
      • Prices
      • Manage Products
        • Products
        • Create Product
        • Edit Product
        • Edit Product Variations
    • Orders
      • Manage Orders
      • Quote Request
  • About Me
    • General Information
    • Pickup Locations
    • Payment Information
  • Marketplace
    • Auction
    • Design Document for Auctions
  • Appendix
    • Documentation Slides
      • About Me
      • Add Items – Suppliers
      • Create a Merchant Store
      • Customers
      • Manage Orders – Supplier
      • Prices – React Admin
  • Avetti Supplier Connect
    • Shopify

System Admin Pages

  • Avetti Commerce Features
  • Ship Station Integration
  • B2C -Overview
    • Settings
      • Basket Preferences
      • Image Scaling
      • Item Properties
      • Languages
      • Tax Rates
      • Order Preferences
      • Page Parameters
      • Payment Gateways
      • Retail Location
      • Search Dictionary
      • Shipping Countries
      • Shipping Packages
      • Shipping Rates
      • Sitemaps
      • Store Currencies
      • Shipping Exceptions
      • Store Preferences
      • Store Properties
    • Audit Logs
      • Audit Log Views
    • Templates
      • Catalog Personalization
      • Reset CDTO Cache
      • Template Skins
    • Advanced
      • Solr Items
      • Solr Categories
      • Site Admin Preferences
      • Shopper Pwd Security
      • Reports Configuration
      • Password Security Rules
      • Change Password
      • CDTO Editor
    • Catalog
      • Categories
      • Downloadable Items
      • Inventory
      • Item Reviews
      • Item Size/Weight
      • How to attach products to a category in the MCW
      • Manage Facets
      • Manage FAQs
      • Manage Galleries/PDFs
      • Manage Products
      • Multilingual Content
      • Prices
      • Validate Catalog Data
      • View Store
      • Variations
    • Media
      • Manage Media
    • People
      • Member Types
      • Customers
      • Customer Properties
      • Customer Activity
      • Allowances
    • Marketing
      • A/B Split Tests
      • Add-ons
      • Basket Additions
      • Bundles
      • Coupons
      • Customer Discounts
      • Customer Segments
      • Customer Segment Prices
      • Customer Segment Ads
      • Gift Cards
      • Gift Certificates
      • Promotions
      • Sales Area Geolocation
      • Upsell/Cross-sell
      • Viral Promotions
    • Orders
      • Abandon Cart
      • Customer Messages
      • Email State
      • Manage Orders
      • Manage Refunds
      • Reports
  • B2B - Overview
    • Marketplace
      • Advanced
        • CDTO Editor
        • Change Password
        • Password Security Rules
        • Reports Configuration
        • Shopper Pwd Security
        • Site Admin Preferences
        • Solr Categories
        • Solr Items
      • Catalog
        • Categories
        • Inventory
        • Item Reviews
        • Item Size/Weight
        • Manage Facets
        • Prices
        • Item Options
        • Item Status Settings
      • Marketing
        • Bundles
        • Coupons
        • Customer Discounts
        • Customer Retargeting
        • Customer Segment Ads
        • Customer Segment Prices
        • Customer Segments
        • Gift Cards
        • Gift Certificates
        • Marketing Segments
        • Sales Area Geolocation
        • Shipping Exceptions
        • Upsell/Cross-sell
        • Viral Promotions
      • Market Place
        • Approve Products
        • Category Profit Margin
        • Marketplace Categories
        • Marketplace Payments
        • Marketplace Suppliers
        • Master Catalog Products
        • Notifications
      • Media
        • Manage Media
      • Order
        • Manage Orders
        • Manage Refunds
      • People
        • Customer Properties
        • Customers
      • Settings
        • Item Geolocation / Product Segmentation
        • Basket Preferences
        • Image Scaling
        • Item Properties
        • Order Preferences
        • Payment Gateways
        • Retail Location
        • Tax Rates
        • Store Preferences
        • Store Currencies
        • Shipping Countries
      • Templates
        • Catalog Personalization
        • Reset CDTO Cache
        • Manage Templates
    • Suppliers
      • Catalog
        • Manage Products
        • Inventory
        • Item Properties
      • Market Place
        • Notifications
        • Marketplace Payments
        • Approve Products
      • Media
        • Manage Media
      • Order
        • Manage Orders
        • Manage Refunds
        • Reports
        • Customer Messages
    • MCW
      • Advanced
        • Change Password
      • Market Place
        • Approve Products
        • Marketplace Suppliers
        • Notifications
      • Media
        • Manage Media
      • Order
        • Customer Messages
      • Settings
        • Item Properties
        • Shipping Countries
        • Store Currencies
        • Store Preferences
      • Catalog
        • Categories
        • Inventory
        • Item Options
        • Item Reviews
        • Item Size/Weight
        • Item Status Settings
        • Prices
  • B2B2C - Overview
    • B2B Integration
  • Import and Export Files
    • Export Orders
    • Import Price and Inventory
    • Importing/Exporting Shipping Rates Spreadsheet
    • Import/Exporting SpreadSheets
    • eShop Features
  • Appendix
    • Documentation Slides
      • Others
        • Creating a Supplier Store
        • Rebuild solr
        • Publish
      • People
        • Customer Data Management
        • Customers
        • Customer Properties
      • Settings
        • Basket Preferences
        • Item Properties
        • MULTI-VALUED PROPERTIES
        • Retail Location
        • Shipping Countries
        • Sitemaps
        • Store Currency
        • STORE PREFERENCES
        • Store Properties
        • Tax Rates
      • Advanced
        • Site Admin Preferences
      • Reports
        • Business Reports
      • Catalog
        • Advanced edit
        • Categories
        • Categories Spreadsheet
        • FREQUENTLY BOUGHT ITEMS
        • Import from XLS
        • Import-Export Advanced Spreadsheet
        • Inventory
        • Item Reviews
        • Manage Facets Manager
        • Simple Add
        • Prices
        • Validate Catalog Data
        • Variations
      • Marketing
        • Bundles
        • Basket Additions
        • Coupons
        • Customer Discounts
        • Customer Segments
        • Gift Cards
        • Gift Certificate
        • Promotions
        • Upsell-Cross sell
      • Marketplace
        • Approve Products
      • Templates
        • Reset CTDO Cache
      • Orders
        • Customer Messages
        • Export Orders
        • Email Settings
        • Manage Orders
        • SMS Settings
    • Documentation Videos
      • Payment Gateway
      • Retail Location
      • Validate Catalog Data
      • Site Admin Preferences
      • SMS Settings
      • Advanced Edit
      • Variations
      • Manage Orders
      • Categories
      • Basket Preferences
      • Customers
      • Upsell Cross Sell
      • Allowances
      • Customer Discounts
      • Order Preferences
      • Publish
      • Rebuild Solr
      • Email Setting
      • Store Preferences
      • Item Reviews
      • Tax Rates
      • Customer Segments
      • Store Currency
      • Product Data Spreadsheet
      • Export Orders
      • Sitemaps
      • Prices
      • Coupons
      • Bundles
      • Frequently Bought Items
      • Customer Properties
      • Store Properties
      • Multi Valued Properties
      • Gift Cards
      • Promotions
      • Manage Media
      • Gift Certificates
      • Manage Facets
      • Simple Add
      • Import and Export Using Spreadsheet
      • Customer Messages
      • Creating a Supplier Store
      • Approve Products
      • Import XLS
      • Business Reports
      • Item Properties

Content Management Systems

  • WordPress
    • Getting Started
    • Document Checklist
    • How to create pages in Wordpress?
    • How to create New Menus?
    • How to edit the Home Page?
    • How to change Favicon and Site Title?
    • How to edit Header and Footer?
    • How to change Header and Footer?
    • How to edit Shipping Policy, Refund Policy and Privacy Policy pages?
    • How to add Google Analytics and Microsoft Clarity
    • Using Existing WP vs Using Fresh WP
    • How to change Logo URL
    • How to create Blog Posts?
    • Blog Look And Layout
    • Netlify Redirects
    • Caching Issues
    • Plugins
    • Plugins
      • Fluent Forms
      • Perfmatters
      • Blocksy
      • Change SEO Title and Meta Descriptions with Yoast SEO
      • Staging and Backup with WPVivid
      • Stackable
      • Custom Javascript and CSS plugin
    • Common Issues
      • Does Not Use Passive Listeners
      • Enable Text Compression
      • Preload Largest Content Paint Image
View Categories
  • Home
  • Docs
  • System Admin Pages
  • B2B - Overview
  • Marketplace
  • Templates
  • Manage Templates

Manage Templates

6 min read

Overview #

This document provides an administrator an overview on Templates, process to create New Templates and edit them, Template Statuses and about enabling Template Repository.

A Template is a tool for enforcing a standard layout and look and feel across multiple pages or within content regions. When a template is changed, any pages or regions that are based on that template are automatically changed as well. Each template can contain a backup allowing the template to be restored to a previous backup in case the changes made to the template aren’t correct or cause problems.

Manage Templates #

The Manage Templates page provides a list of all templates on the site, with the option to edit, view, or delete each template, as well as the option to create a new template, either from scratch, or by copying an existing one.

  1. Click on Manage Templates under Templates.
  2. Click Manage Templates on the admin page’s side navigation.

HeadingDescription
Template NameThe name of the template
Template FilenameThe filename of the template
SizeWhat the size the template is. Used as reference.
Last Updated ByWhen the template was last updated, by default the templates are sorted by this column. The most recently updated displaying on top.
Edit TemplateAllows for the template to be modified. For more information go to the edit section of this document.
Template RepositoryThis allows the repository of the template to be viewed. For more information go to the repository section of this page.
StatusThe status the template is in, this is for organizational purposes to show if the template is ready be used to is it new.

Table 1 – Description of Headings under Manage Templates page

New Template #

Create a Template From Scratch #
  1. Click on the New button at the bottom of the Manage Templates page, which will open up the options to choose the name, file name, size, skin, and group for the template.
  2. Once the template is created, it can be edited.
  3. The Size field indicates the size of section of the page that will be occupied by the content in the template. It can be specified, but it is generally recommended to type ‘Any Size’ in the field to avoid issues when using the Content Areas feature. For details on Content Areas, please refer to the Content Areas section of the Categories guide under the Catalog tab.

FieldxDescription
Name for TemplateName of the template being created.
SizeThe size the template will be. Used for reference.
Filename for TemplateThe file name of template, this will contain the name and the file type of the template.
Upload into Catalog SkinThe catalog skin the template is based off of.
Upload into Template GroupThe group the template belongs to.

Upload an Existing Template #

The Upload option allows to upload a created locally template file to be used instead of manually creating a new template.

  1. Click on the Upload button.
  2. Enter the details which are are the same as for creating a new template except for the Template File to Upload field.
  3. Click on Choose File and select the a template to upload.
  4. Click Continue to save.

Copy an Existing Template #
  1. Select the template you wish to copy by marking the checkbox to the left of the Template Name in the templates list.
  2. Click on the Copy button and the Copy Template form will show pre-filled with the information of the selected template.
  3. In order to create a copy, before clicking Continue to finish the process, change the Name for Template and Filename for Template fields as these values must be unique.

Editing a Template #

Each template will normally contain HTML and Velocity code, but can contain Javascript code and CSS as well. We will not discuss details regarding any programming or markup languages but it is very important to keep in mind that modifying templates require programming knowledge as a single deleted line, for example, could result in completely breaking the code for a particular template.

To make changes, simply modify the code within the text editor area and click Update or Press Ctrl + S (Cmd + S on Mac).

Searching a Template #
  1. Click the +Search link near the top of Manage Templates.

FieldDescription
SkinsSearch the skins attached to each template.
GroupsSearch by the template groups.
Template NameSearch by a specific name of the template.
Template FilenameSearch by a specific filename of the template.
Contain TextSearch by the content in the template.
Sort ByHow the templates will be sorted on the page.

Template Statuses #

On the Manage Templates page, the templates list contains a Status column. This indicates if the changes that have been made to a template are still being made, or if the changes are complete.

When a change is made to a template, the status is automatically changed to In Progress. This denotes that the template is in the process of being edited, and also prevents the updated template from being published to the live store, in case the changes are not yet complete.

To change the status to Complete

  1. Check the checkbox in the row that corresponds to the template selected to change the status of then template. Multiple templates can be checked at once to have their status changed.
  2. Click Set As Complete button.
  3. Click Set All As Complete button to set all templates to complete.

It is recommended to thoroughly test all templates that have been changed on the demo store before setting as Complete to ensure incomplete templates are not accidentally published to the live store.

Template Repository #

The template repository is a convenient tool that allows the user to easily revert back to the previous version of a template, as well as save new versions of it.

Enabling the Repository #
  1. Click Advanced.
  2. Click Site Admin Preferences.
  3. Check the box next to Enable Template Repository.
  4. Click Ok to save the changes.

Backup #

Automatic backups are run daily, late in the day. At that time, any changes that have been made will be saved automatically.

In addition, it is recommended to make a manual backup before making any changes to a template to ensure that the most up to date version has been saved.

Follow the steps given in commit to undo the changes.

Commit #

Once changes to a template are complete (or to do a manual backup prior to making changes), the changes must be committed to the repository, to save it as a new version.

  1. Click Manage Templates.
  2. Click on the View link in the Template Repository column. The window that pops up will display a list of the changes that have been committed.
  3. Click on the Commit button at the bottom to commit the new changes.
  4. After clicking Commit, a new window will display the path in which the change will be saved to, and will provide a box for entering in a comment. A comment is recommended, as it will advise other users and serve as a note on the changes made.
  5. Click the Commit button to finalize the changes.

Restore #

In the event that a change to a template needs to be undone, the Template Repository also offers the option to restore a previous version of the template.

  1. Click on the View link in the Template Repository column. The window that pops up will display a list of the changes that have been previously committed.
  2. Next to each older version of the template, there will be a link titled Update. Click on the Update link.
  3. Click on the Check Out button. Once the checkout is complete, the template will be reverted to the previous state.

Note : There is no option to view a template before restoring it, so it is important to leave comments for each version, to help identify which versions is which, in the event that a restoration of a previous version is necessary.

What are your Feelings
Still stuck? How can we help?

How can we help?

Updated on November 16, 2022

Powered by BetterDocs

Table of Contents
  • Overview
  • Manage Templates
  • New Template
    • Create a Template From Scratch
    • Upload an Existing Template
    • Copy an Existing Template
  • Editing a Template
    • Searching a Template
  • Template Statuses
  • Template Repository
    • Enabling the Repository
    • Backup
    • Commit
    • Restore

Copyright © 2022 Avetti.com Corporation.