ModularMerchant
Knowledge Base
Shopping Cart Software Online Manual
Can QuickCode Tags be used on non-store webpages?
Can QuickCode Tags Be Used in PHP Statements? Common customizations for the Order Receipt email
Location Home > Shopping Cart Software Components > Administration Area > Design > FAQs & Tutorials

Can QuickCode Tags be used on non-store webpages?

using quickcode tags on my website?
In addition to my shopping cart, Modular Merchant also hosts my website. I was wondering if it's possible to use QuickCode Tags on the non-store pages of my website? Will they still work?

In short: nope.

follow-up question
Why not?

The reason the shopping cart pages are able to translate the QuickCode Tags is because specific software was built into it to allow it to do so. Each page of the shopping cart software has special functionality built in to it to look for and translate QuickCode Tags.

When a storefront page is viewed, the software first scans through the HTML template for that page, translating any instances of QuickCode Tags that are present in the template with the PHP, HTML, JavaScript and CSS code that is appropriate for that QuickCode Tag and storefront page combination. The translated versions of the template is then processed and rendered in the viewer's web browser.

where can quickcode tags be used?
QuickCode Tags can be used in the following locations:

1. The templates contained in a template package.

2. Webpages created with the Custom Webpage Editor, located in the Design section of the store's Administration Area.

3. Custom QuickCode Tags created with the Custom QuickCode Tag Editor, located in the Design section of the store's Administration Area.

4. Email templates created with the Email Template Editor, located in the Design section of the store's Administration Area.

5. Email templates created with the Modular Mailer module.

follow-up to the follow-up question
Can I replicate a QuickCode Tag's functionality on a webpage that I create?

The QuickCode Tag Glossary contains an entry for nearly every QuickCode Tag that is available. (Entries for excluded QuickCode Tags can be added to the glossary upon request.)

At the bottom of each tag's glossary entry is a section titled Source Code, which contains the actual PHP, HTML, JavaScript and CSS code that the QuickCode Tag will be translated into prior to being rendered in a web page.

The Source Code is provided for informational purposes only. Modular Merchant will not assist with troubleshooting any custom scripts developed by a third-party.

source code sometimes has prerequisites
The code used by most QuickCode Tags has several prerequisites. For example, the QuickCode Tags assume that a connection to the store's database has been established. The tag may also make references to variables and functions that have been initialized in other shopping cart files.

check source code date for guaranteed freshness
The code contained in the Source Code section is always pulled from a snapshot of the latest development build of the shopping cart software. The date that the source code sample was last updated is also listed.

Since this code comes from the latest development build, it is possible that the code being displayed is pre-release code that has not yet been published in a software update. Due to software and database changes that can potentially be introduced in a software update, pre-release code may not be 100% compatible with the current version of the shopping cart software that your store is running.

If using the Source Code to make your own custom scripts, be sure to check the date that it was most recently updated against the date of your store's latest update. The date of the store's most recent update can be found in the upper-right section of the Administration Area's Home page.


— Last Edited - 04/2/2013 2:25pm 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...

Add "Search by Price" links to the storefront

Add a "Terms of Service" agreement to a store page

Add a favicon

Add images to an email template

Adding a Company Name field to the storefront

Can QuickCode Tags Be Used in PHP Statements?

Can QuickCode Tags be used on non-store webpages?

Common customizations for the Order Receipt email

Copy a template package

Create a custom version of any QuickCode Tag

Create reusable headers/footer with Custom QuickCode Tags

Creating a Customer Registration Form

Creating templates with content viewable only by specific Customer Groups

Customize the category template to display subcategories in a grid

Customize the navigation header of a responsive template

Customize the navigation header of a responsive template

Customize the tabbed content area of a responsive product template

Disabling featured product display

Display a message if a customer has already purchased a product

Display a slideshow on any store page

Display sale prices in red text

Have your store match a website that links to it

Introduction to editing responsive template packages

Link your company logo to a different website

List of available Templates for use in Template Packages

Playing Flash video instead of downloading it

Require service agreement when a specific product is purchased

The difference between templates and web pages

Troubleshooting Missing Images

Untranslated Red QuickCode Tags

Using "Add to Cart" links on your website.

Using comments in Custom QuickCode Tags

Using the Custom Webpage Editor to add links to your Storefront

Your storefront on smartphones & mobile devices

Creating Template Packages: Part 1 of 4

Creating Template Packages: Part 2 of 4

Creating Template Packages: Part 3 of 4

Creating Template Packages: Part 4 of 4