ModularMerchant
Knowledge Base
Shopping Cart Software Online Manual
QuickCode Tag
QuickCode Block Tags Ranking Criteria and Ranking Criteria Groups
Location Home > Glossary

QuickCode Tag

QuickCode™ Tags: Add dynamic content to your templates
Before proceeding any further, there is one tool that we recommend learning about before designing or editing templates: QuickCode Tags. QuickCode Tags can be used in your store’s templates to personalize them for each customer, product, category, manufacturer, etc.
 
What is a QuickCode Tag?

A QuickCode Tag is a pseudo HTML tag that contains advanced HTML, PHP or JavaScript code. QuickCode Tags were developed by Modular Merchant to simplify the management of complex code in store templates.

A QuickCode Tag is formatted like this: {SAMPLE-QUICKCODE-TAG}. When viewed in a web browser, QuickCode Tags will be translated into the appropriate content. For example, {COMPANY-NAME} will display your company’s name. Many QuickCode Tags are available for displaying such things as product prices, customer information, the contents of the shopping basket, etc.

Some tags simply display text, and others perform complex operations for you, such as checking to see if a customer is logged in, or forwarding them to a different storefront page if certain criteria is met.
 
Why should I use QuickCode Tags?

Because we went through all the trouble of making them?

Actually, QuickCode Tags can greatly simplify the management of complex tasks that the shopping cart performs. They allow you to display content that is appropriate for the specific storefront page being viewed, instead of creating a separate version for every  different location the content could be displayed.

For example, you can create a single product template which includes the {PRODUCT-NAME} QuickCode Tag. When a Product Details page is viewed, the QuickCode Tag will display that product's name, no matter which product the customer is viewing. Without QuickCode Tags, you’d need to create a separate web page for every single individual product in your store!
 
Where can I use QuickCode Tags?

QuickCode Tags can be used in any of your store’s templates and in the emails generated by the shopping cart software.

Since QuickCode Tags are translated by the store software, they can’t be used on web pages that aren’t part of your store. For example, the {COMPANY-NAME} tag will display your company name on any page in your storefront, but it will not be translated on any custom-made webpage that wasn't generated by the shopping cart software.

an example of a quickcode tag
A product’s name can be displayed on the Product Details page by using the {PRODUCT-NAME} QuickCode Tag.

For example, the following HTML code:
This page contains the details for the {PRODUCT-NAME} product.

Would be displayed in your storefront as something like:
This page contains the details for the Acme Cat Food product.
 
What are QuickCode Tag Parameters?

Some QuickCode tags can include an additional bit of information called a "parameter."  A parameter is a value that will be included when the QuickCode tag is rendered in the web browser. They can be used to issue additional commands in the QuickCode Tag. 

Parameters appear in the QuickCode tag after a colon at the end of the name, but before the final curly brace.

including parameters in a quickcode tag
Products can have multiple images associated with them.  You can display a specific product image by including the number and size in the QuickCode Tag.  For example, to generate an <img> tag for the fifth medium-sized image associated with a product, you can add the following parameters to the {PRODUCT-IMAGE-TAG} QuickCode Tag:

{PRODUCT-IMAGE-TAG:5:medium}

When a customer views the page, the QuickCode will be translated into an <img> tag for the medium-sized version of the fifth image for that product.

reference: quickcode tag online glossary
There are over 650 QuickCode Tags available. A searchable list of all the available QuickCode Tags can be found in the online glossary, which includes definitions and examples on using each QuickCode Tag.

The glossary is located at: http://qc.modularmerchant.com


— Last Edited - 06/27/2013 8:19am PDT
Rank and add a comment to this article
Only logged in users may leave comments and rank articles. Log in to have your say!
  Knowledge Base Home

  QuickCode™ Tag Glossary

  Modular Merchant.com Homepage

Not Logged in.
Either Log in or create a User Account.

Other articles in this category...

Active

Adjustment

Admin Account

Administration Area

Administrator

Alternate Storefront URL (Product Editor Field)

Attribute

Attributes vs. Fields

Audio Samples (Product Editor Option)

Avatar

AVS

Back Office

Backend

Basket

Billing Address

Bounce Date

Breadcrumb Links

Bug

Category

Checkout Area

COGS

Control Panel

Core Shopping Cart Files

Coupon

Credit Card Security Code

Cron Job

CSS

Customer

Customer Account

Customer Account Area

Customer Attribute

Customer Field

Customer Group

CVV2

Digital Delivery

Digital Object

Digital Product

Display Order

Dropshipper

Dropshipping

Email Batch

Email Instance

Email Opt In

Email Queue

Email Series

Email Series Step

Email Template

End Date

Event

Event Engine

Feature

Featured Product

Field

File Storage Area

FTP

FTP Active/Passive Modes

Fulfillment

Fulfillment Report

Gift Certificate

Grand Total

Hidden Category

Hidden Product

Hosting

Inactive

Internal

Inventory Control (Product Editor Option)

Inventory Object

ISO Codes

Knowledge Base

Manual (Process Offline) payment gateway

Memo

Modular Mailer

Modular Mailer Email Messages

MSRP

Navigation Menu

Note

Off-Site Payment Gateway

On Hold (Subscriptions)

Order Item

Order Processor

Parent Product

Part Number (Product Editor field)

Password Fields (Place an Order tool)

Payment Gateway

Plesk

Price (Product Editor Field)

Price Suffix

Processing Order

Processing Times

Product Groups vs. Fields

Product Price

Public Event

QuickCode Block Tags

QuickCode Tag

Ranking Criteria and Ranking Criteria Groups

Redeem Limit

Result

Retain Balance

Reusable

RGB Value

Sale Price (Product Editor Field)

Search Keywords (Product Editor Field)

SEO

SEO Friendly URL

SFTP

Shelf Life

Shipping Address

Shipping Method

Ships Solo (Product Editor Field)

Shopping Cart

SID

Store-Generated Email Messages

Storefront

Subscription

Subscription Item

Subscription Product

Subscription Queue

Subtotal

System Log

System Settings

Template

Template Package

Third-Party

This product may only be shipped by the following methods (Product Editor Option)

Trial Period

Trigger

Universal Template

UNIX timestamp

Vendor

Wish List: Public Access Code

Zone Fee