Modular Merchant
QuickCode™ Glossary
{IF-PRODUCT-MSRP-SAVINGS-END}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{COMPOSITE-PRODUCT-IMAGE-SWAP}

{DIGITAL-SAMPLE-BLOCK-BEGIN}

{DIGITAL-SAMPLE-BLOCK-END}

{DIGITAL-SAMPLE-FILE}

{DIGITAL-SAMPLE-NAME}

{IF-BASKET-CONTAINS-SUBSCRIPTION-PRODUCTS-BEGIN}

{IF-DIGITAL-FILE-ELIGIBLE-BEGIN}

{IF-DIGITAL-FILE-ELIGIBLE-END}

{IF-DIGITAL-FILE-RELEASED-BEGIN}

{IF-DIGITAL-FILE-RELEASED-END}

{IF-DIGITAL-SAMPLE-BEGIN}

{IF-DIGITAL-SAMPLE-END}

{IF-PRODUCT-ATTRIBUTE-DESCRIPTION-BEGIN}

{IF-PRODUCT-ATTRIBUTE-DESCRIPTION-END}

{IF-PRODUCT-ATTRIBUTES-BEGIN}

{IF-PRODUCT-ATTRIBUTES-END}

{IF-PRODUCT-FIELD-DESCRIPTION-BEGIN}

{IF-PRODUCT-FIELD-DESCRIPTION-END}

{IF-PRODUCT-IN-ORDER-BEGIN}

{IF-PRODUCT-IN-ORDER-END}

{IF-PRODUCT-IN-SUBSCRIPTION-BEGIN}

{IF-PRODUCT-IN-SUBSCRIPTION-END}

{IF-PRODUCT-MSRP-SAVINGS-BEGIN}

{IF-PRODUCT-MSRP-SAVINGS-END}

{IF-PRODUCT-USES-STOCK-BEGIN}

{IF-PRODUCT-USES-STOCK-END}

{IF-RESULT-BEGIN}

{IF-RESULT-END}

{LIST-CATEGORIES}

{NEWEST-PRODUCT-BLOCK-BEGIN}

{NEWEST-PRODUCT-BLOCK-END}

{PRODUCT-ACTIVE}

{PRODUCT-ADD-TO-BASKET-BUTTON}

{PRODUCT-ATTRIBUTE-DESCRIPTION}

{PRODUCT-ATTRIBUTE-TITLE}

{PRODUCT-ATTRIBUTE-VALUE}

{PRODUCT-BREADCRUMB-LINKS}

{PRODUCT-FIELD-DESCRIPTION}

{PRODUCT-FIELD-TITLE}

{PRODUCT-FIELD-VALUES}

{PRODUCT-FIELD}

{PRODUCT-IMAGE-CAPTION}

{PRODUCT-IMAGE-TAG}

{PRODUCT-IMAGE-URL}

{PRODUCT-IN-SUBSCRIPTION-SUMMARY}

{PRODUCT-LINE-PRICE}

{PRODUCT-LONG-DESCRIPTION}

{PRODUCT-MODIFIER-MENUS}

{PRODUCT-MODIFIER-PRICE-ADJUSTMENT}

{PRODUCT-MODIFIER-VERSION}

{PRODUCT-MSRP-SAVINGS}

{PRODUCT-MSRP}

{PRODUCT-NAME}

{PRODUCT-ORIGINAL-PRICE}

{PRODUCT-PART-NUMBER}

{PRODUCT-PRICE-ORIGINAL}

{PRODUCT-PRICE-SUFFIX}

{PRODUCT-PRICE}

{PRODUCT-QUANTITY-FIELD}

{PRODUCT-REBILL-TERM-TEXT}

{PRODUCT-SHORT-DESCRIPTION}

{PRODUCT-SID}

{PRODUCT-STATUS}

{PRODUCT-UNITS-IN-STOCK}

{PRODUCT-UNITS-IN-STOCK}

{PRODUCT-WEIGHT}

{RECENTLY-VIEWED-PRODUCT-BLOCK-BEGIN}

{RECENTLY-VIEWED-PRODUCT-BLOCK-END}

{RELATED-PRODUCT-BLOCK-BEGIN}

{RELATED-PRODUCT-BLOCK-END}

{SUBCATEGORY-ACTIVE}

{VENDOR-ATTRIBUTE-TITLE}

{XSELL-BLOCK-BEGIN}

{XSELL-BLOCK-END}

Products > {IF-PRODUCT-MSRP-SAVINGS-END}
<< {IF-PRODUCT-MSRP-SAVINGS-BEGIN} {IF-PRODUCT-USES-STOCK-BEGIN} >>
{IF-PRODUCT-MSRP-SAVINGS-END} Updated: 07/12/2013

The {IF-PRODUCT-MSRP-SAVINGS-END} QuickCode Tag may be used with the {IF-PRODUCT-MSRP-SAVINGS-BEGIN} QuickCode Tag to create a block of content that will only be shown if a product's current price is less than the product's MSRP value.

Requirements / Prerequisites

The {IF-PRODUCT-MSRP-SAVINGS-BEGIN} QuickCode Tag must be used in combination with the {IF-PRODUCT-MSRP-SAVINGS-END} QuickCode Tag.

{IF-PRODUCT-MSRP-SAVINGS-BEGIN} and {IF-PRODUCT-MSRP-SAVINGS-END} are compatible with the product template (product.tpl), the upsell template (upsell.tpl), and the downsell template (downsell.tpl). {IF-PRODUCT-MSRP-SAVINGS-BEGIN} and {IF-PRODUCT-MSRP-SAVINGS-END} may also be used in other HTML templates, as long as they are placed within one of the following QuickCode Blocks:

Example of Use

1. In the Product Editor for product SID 123, enter the Price as $100.00Sale Price as $79.99MSRP as $125.00, and Price Suffix as annually:

Example

2. Add the following to the product template (product.tpl):

Example
<strong>Price:</strong> {PRODUCT-PRICE} {PRODUCT-PRICE-SUFFIX}
{IF-PRODUCT-MSRP-SAVINGS-BEGIN}
<p>
<strong>Suggested Price:</strong> {PRODUCT-MSRP}<br />
<strong>You Save:</strong> {PRODUCT-MSRP-SAVINGS} {PRODUCT-PRICE-SUFFIX}
</p>
{IF-PRODUCT-MSRP-SAVINGS-END}

3. The storefront product page for product SID 123 will display the following:

Example
Price: $79.00 annually

Suggested Price: $125.00
You Save: $45.01 annually

 

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-PRODUCT-MSRP-SAVINGS-END} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map