ModularMerchant
MMv4 Knowledge Base
Shopping Cart Software Knowledge Base
If it can be known about the shopping cart software, it is here.
Have your store match a website that links to it Playing Flash video instead of downloading it
Home > Shopping Cart Software Components > Administration Area > Design > FAQs & Tutorials > List of available Templates for use in Template Packages

List of available Templates for use in Template Packages

question
What templates are available for inclusion in a Template Package, and which storefront page is each one used on?

A Template Package can contain as little as one template, and up to (roughly) 35 templates. Following is a list of each template that is available, and how each one is used by the shopping cart software.



affiliate_account_login.template.php
Allows affiliates to log in to their Affiliate/Customer Account Area. For example, contains an HTML form to submit data required for an affiliate to log in to their account area.

Storefront URL: http://www.example.com/aff_login.php



affiliate_registration.template.php
Displays form non-affiliates can use to sign up for a store's Affiliate Program. For example, contains an HTML form to submit data required for affiliate account creation.

Storefront URL: http://www.example.com/aff_register.php



affiliate_tid_stats.template.php - New in MMv4
Displays analytical information for a selected affiliate Tracking ID number, such as number of hits, sales, conversion ratio and other statistics.

Storefront URL: http://www.example.com/aff_tid_stats.php



basket.template.php
Page that displays the contents of the customers cart for review during the shopping process.

Storefront URL: http://www.example.com/basket.php



category.template.php
The default template that is applied to category pages in the storefront. A category can be edited to have a different template applied to it.

Storefront URL: http://www.example.com/category.php



checkout_X.template.php - Renamed in MMv4
One or more templates that are applied to the checkout process. The checkout process may contain any number of pages. Change "X" in the name of the template with the number of the checkout step.

The checkout process starts with the checkout_1.template.php file. Then, when a checkout page is submitted, the system will automatically reload the checkout page with the checkout_2.template.php file applied to it, and so on, until the credit card field is submitted. Once a page containing a credit card field is submitted, the system will load the checkout receipt page instead.

Prior to MMv4, the checkout templates were named checkoutX.template.php. (Note the underscore that has been added between "checkout" and ".template" as of MMv4.)

Storefront URL: http://www.example.com/checkout.php



checkout_receipt.template.php
When a customer successfully submits their payment information, the checkout receipt page will be loaded.

Storefront URL: http://www.example.com/checkout_receipt.php



checkout_receipt_print.template.php
A printable version of the checkout area's receipt page.

Storefront URL: http://www.example.com/checkout_receipt_print.php



contact_info.template.php - New in MMv4
It's suggested that the company information from the System Settings, or other details on how to contact your company, be included on this page.

Storefront URL: http://www.example.com/contact_infophp



customer_account_X.template.php
Each page of the customer's Account Area will have a different template applied to it. The customer Account Area may contain any number of pages, and therefore, templates. Change "X" in the template name with the number of the customer Account Area page.

The customer Account Area can be used to display a customer's order history, upcoming subscriptions, contact information, billing options, and more.

As of MMv4, affiliates are also customers, and content that was previously posted in the affiliate's Account Area has been moved to the customer's Account Area.

Storefront URL: http://www.example.com/customer.php



customer_account_login.template.php
Allows customers to log in to their Customer/Affiliate Account Area. For example, contains an HTML form to submit data required for a customer to log in to their account area.

Storefront URL: http://www.example.com/customer_login.php



customer_fetch_login.template.php
Page on which customers can submit a form to have their login information sent to the email address associated with their Customer Account.

Storefront URL: http://www.example.com/customer_fetch_login.php



customer_register.template.php - New in MMv4
Displays form non-customers can use to create a Customer Account. For example, contains an HTML form to submit data required for customer account creation.

Storefront URL: http://www.example.com/customer_register.php



download_delivery.template.php
After a customer successfully logs in to the store's Digital Delivery area, they will  automatically forwarded to this page. Use this page to list all of the Digital Objects the customer has purchased.

Storefront URL: http://www.example.com/digdel_delivery.php



download_login.template.php
This page is used to log the customer in to the store’s Digital Delivery area. After the customer successfully logs in, they will automatically be redirected to the digdel_delivery.php page, where they can access the Digital Objects that they have purchased.

Storefront URL: http://www.example.com/digdel_login.php



downsell.template.php - New in MMv4
If the customer has purchased any products with 1-Click Upsell rules, then the "checkout_special.php" page will be added prior to the checkout_receipt.php page. On the "checkout_special.php" page, the customer will be presented with an additional product that they can place an order for by clicking a button. There is also a button for the customer to click if they wish to decline the offer to purchase the additional product. If the customer declines to purchase a 1-Click upsell product, then the downsell.template.php file is applied to the next product in the chain.

Storefront URL: http://www.example.com/checkout_special.php



email_unsubscribe.template.php
This page is loaded when a customer clicks an unsubscribe link in an email message that was sent using the Modular Mailer bulk email module.

Storefront URL: http://www.example.com/email_unsubscribe.php



gift_certificate_customize.template.php
If the customer purchases a gift certificate product in your store, this page will be prepended to the checkout process. On this page, the customer customizes the gift certificate, adding the recipient’s name and email address, their name and a custom message. If the customer isn’t purchasing any gift certificates, then this page is skipped during the checkout process.

Storefront URL: http://www.example.com/gc.php



gift_certificate_print.template.php - New in MMv4
If the customer purchases a gift certificate product in your store, a link to this page will be provided, which includes a printable version of the gift certificate.

Storefront URL: http://www.example.com/gc_print.php



product.template.php
The default template that is applied to product pages in the storefront. A product can be edited to have a different template applied to it.

Storefront URL: http://www.example.com/product.php



search_results.template.php
Displays the products that match the phrase entered in the store’s search field.

Storefront URL: http://www.example.com/search_results.php



ship_address_editor.template.php - New in MMv4
Displays all of the customer's shipping addresses, with fields to edit each or add a new one.

Storefront URL: http://www.example.com/ship_address_editor.php



store_closed.template.php
When a store is closed, users trying to view any storefront page will instead be redirected to the "store closed" page.

Storefront URL: http://www.example.com/store_closed.php



storefront.template.php
The store's home page, often used to display new, popular or featured products. The store's home page is not the index.php file. By default, the index.php page redirects to storefront.php, but the contents of the index.php file can be edited. Other than redirecting to storefront.php, the index.php file is not used by the shopping cart software.

Storefront URL: http://www.example.com/storefront.php



universal.template.php - New in MMv4
Required in every Template Package.
If any of the other templates included in this list, then the universal.template.php file will be used in its place. When the universal template is used in place of a missing template, the shopping cart software will attempt to display the content that is appropriate for that particular storefront page.

At a minimum, a Template Package may contain only the universal.template.php template.

The universal template must include the {UNIVERSAL-CONTENT} QuickCode Tag in order to produce the intended results.

Storefront URL: N/A



upsell.template.php - New in MMv4
If the customer has purchased any products with 1-Click Upsell rules, then the "checkout_special.php" page will be added prior to the checkout_receipt.php page. On the "checkout_special.php" page, the customer will be presented with an additional product that they can place an order for by clicking a button. If the customer purchases a 1-Click upsell product, then the upsell.template.php file is applied to the next product in the chain.

Storefront URL: http://www.example.com/checkout_special.php



vendor.template.php - New in MMv4
The default template that is applied to vendor pages in the storefront. A vendor can be edited to have a different template applied to it.

Storefront URL: http://www.example.com/vendor.php



wish_list.template.php - New in MMv4
Storefront page on which customer's can edit their wish lists, or others can view any wish list that the customer has marked as "public".

Storefront URL: http://www.example.com/wish_list.php



deprectaed templates
The following templates from previous versions of the Modular Merchant shopping cart software (version 3 or below) are no longer used in MMv4.

affiliate_account_X.template.php
There is no longer a separate Affiliate Account area. Affiliates are now customers, so the Affiliate Account Area has become a section of the Customer Account Area.

checkoutX.template.php
Renamed checkout_X.template.php

checkout_failure.template.php
When a transaction fails, the customer is no longer taken to a new page to display the failure message. The failure message is displayed on the checkout page the customer was already on.

manufacturer.template.php
Replaced by the vendor.template.php file. All references to "manufacturer" have been replaced by "vendor".


— Last Edited - 02/9/2012 6:16pm PST
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 a "Terms of Service" agreement to a store page

Can QuickCode Tags Be Used in PHP Statements?

Can QuickCode Tags be used on non-store webpages?

Create a custom version of any QuickCode Tag

Create reusable headers/footer with Custom QuickCode Tags

Display sale prices in red text

Have your store match a website that links to it

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

Untranslated Red QuickCode Tags

Using "Add to Basket" links on your website.

Using comments in Custom QuickCode Tags

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