24/7 Support: 800.608.6482

Get Started

Reference Guide

Attribute Templates

Attribute templates allow you to create an attribute once, and apply it to many products, instead of recreating the same attribute over and over. For example, let's say that you sell a hundred different tshirts and all of them are available in small, medium, and large. Assuming that you aren't going to import your product data, you could:

  1. Create the first t-shirt product.
  2. Create an attribute "Size", with options "small", "medium" and "large"
  3. Create the second t-shirt product. Create an attribute "Size" with options "small", "medium" and "large".
  4. Repeat for all of your shirts.

Obviously this is not very efficient, and a faster method is to create the attribute "Size" as part of a template, and then apply the template to all of your t-shirts. Templates can also contain more than one attribute. For example, you could create a template that included the attributes Size, Color, and Fabric.

Create An Attribute Template

The instructions in this section describe the general process of creating and using an attribute template. If you have never created attributes and options before, or for detailed information on all of the attribute and option fields, please see Catalog > Edit Product > Attributes Tab. You might find it easier to practice manually creating an attribute in the Attributes tab, and then return to this section to create a template.

  1. Go to Menu> Catalog > Attribute Templates tab.
  2. In the Attribute Templates tab, click Add Template Add.
  3. In the Add Attribute Template screen:
  4. 3.1. Enter an Attribute Template Code. The code identifies the attribute in the admin interface.

    3.2. Enter an Attribute Template Prompt: This is the name you will see when you apply your template to a product. See To Apply an Attribute Template to a Product.

    3.3. Click the Add button

  5. A new field called "Reference Count" appears. This field displays the number of products that are using this attribute template. (Because this is a new template, the reference count is zero.) A new tab called "Attributes and Options" also appears.
  6. Edit Attribute Template

  7. Click on the Attributes and Options tab.
  8. In our example, we'll create two attributes: Size and Color. If you aren't sure how to create attributes, or if you want detailed information on all of the attribute fields, please see Catalog > Edit Product > Attributes Tab.

    Edit Attribute Template

  9. When you have finished adding your attributes and options, go back to Menu> Catalog > Attribute Templates tab. The template that you created will be listed in the Attributes Templates main screen.

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Links
Contact Us
Receive Tips & Updates

Copyright © 2017 Miva, Inc - All Rights Reserved

Back To The Top