Modular Merchant
QuickCode™ Glossary
{IF-PAY-WITH-COUPON-BEGIN}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{BASKET-FEES-BLOCK-BEGIN}

{BASKET-FEES-BLOCK-END}

{BASKET-PRODUCT-BLOCK-BEGIN}

{BASKET-PRODUCT-BLOCK-END}

{BASKET-PRODUCT-MODIFIERS}

{BASKET-REMOVE-PRODUCT-URL}

{COMPOSITE-2CHECKOUT-BUTTON}

{COMPOSITE-CHECKOUT-FIELDS}

{COMPOSITE-GOOGLE-CHECKOUT-BUTTON}

{COUPON-CODE}

{FIELD-CC-MENU}

{FIELD-FILL-BILL-ADDRESS}

{FIELD-FILL-SHIP-ADDRESS}

{FIELD-REQUIRED-CUSTOMER-CREDIT-ACCOUNT-FIELDS}

{FIELD-SHIP-ESTIMATE-COUNTRY}

{FIELD-SHIP-ESTIMATE-ZIP}

{GOOGLE-CHECKOUT-CAPTURE-ORDER-BUTTON}

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

{IF-CHECKOUT-FIELDS-BEGIN}

{IF-CHECKOUT-FIELDS-END}

{IF-COUPON-BEGIN}

{IF-COUPON-END}

{IF-CUSTOMER-CREDIT-ACCOUNT-HAS-FUNDS-BEGIN}

{IF-GOOGLE-CHECKOUT-ELIGIBLE-BEGIN}

{IF-GOOGLE-CHECKOUT-ELIGIBLE-END}

{IF-ORDER-USES-SHIPPING-BEGIN}

{IF-ORDER-USES-SHIPPING-END}

{IF-PAY-WITH-COUPON-BEGIN}

{IF-PAY-WITH-COUPON-END}

{IF-PRODUCT-FIELDS-BEGIN}

{IF-PRODUCT-FIELDS-END}

{IF-PRODUCT-IN-BASKET-BEGIN}

{IF-PRODUCT-IN-BASKET-END}

{IF-PRODUCT-PRICE-REDUCED-BEGIN}

{IF-PRODUCT-PRICE-REDUCED-END}

{IF-SUBCATEGORIES-BEGIN}

{IF-SUBCATEGORIES-END}

{IF-USING-2CHECKOUT-BEGIN}

{IF-USING-2CHECKOUT-END}

{IF-USING-GOOGLE-CHECKOUT-BEGIN}

{IF-USING-GOOGLE-CHECKOUT-END}

{IF-XSELL-BEGIN}

{IF-XSELL-END}

{NUMBER-BASKET-ITEMS}

{ORDER-GIFT-WRAP-TITLE}

{ORDER-GIFT-WRAP-VALUE}

{ORDER-GRAND-TOTAL}

{ORDER-ID}

{ORDER-PAY-DATE}

{ORDER-PAY-METHOD}

{ORDER-PAY-METHOD}

{ORDER-PRODUCT-VALUE-TITLE}

{ORDER-PRODUCT-VALUE}

{ORDER-SHIP-METHOD}

{ORDER-SHIPPING-NAME}

{ORDER-SHIPPING-VALUE}

{ORDER-TAX-NAMES}

{ORDER-TAX-VALUE}

{ORDER-TRACKING-ID}

{PAYPAL-WPS-CAPTURE-ORDER-BUTTON}

{PRODUCT-ATTRIBUTE-BLOCK-BEGIN}

{PRODUCT-ATTRIBUTE-BLOCK-END}

{PRODUCT-FIELD-BLOCK-BEGIN}

{PRODUCT-FIELD-BLOCK-END}

{PRODUCT-IF-MODIFIERS-BEGIN}

{PRODUCT-IF-MODIFIERS-END}

{PRODUCT-IN-BASKET-SUMMARY}

{PRODUCT-QUANTITY}

{PRODUCT-QUANTITY}

{PRODUCT-URL}

{RECEIPT-ADDRESS-BLOCK-BEGIN}

{RECEIPT-ADDRESS-BLOCK-END}

{RECEIPT-GRAND-TOTAL}

{RECEIPT-PRODUCT-BLOCK-BEGIN}

{RECEIPT-PRODUCT-BLOCK-END}

{REDIRECT-NEXT-CHECKOUT-PAGE}

{SHIPPING-OPTION-BLOCK-BEGIN}

{SHIPPING-OPTION-BLOCK-END}

{SHIPPING-OPTION-PRICE}

{SHIPPING-OPTION-RADIO-BUTTON}

Basket > {IF-PAY-WITH-COUPON-BEGIN}
<< {IF-ORDER-USES-SHIPPING-END} {IF-PAY-WITH-COUPON-END} >>
{IF-PAY-WITH-COUPON-BEGIN} Updated: 12/17/2009

The beginning tag for displaying or hiding specific QuickCode Tags if the customer is paying via a Coupon code.

Requirements / Prerequisites

This QuickCode Tag must be used in conjunction with the {IF-PAY-WITH-COUPON-END} tag. Also, this QuickCode tag must be used on the checkout3 HTML template.

Example of Use

1. On the checkout3.php page, place the {IF-PAY-WITH-COUPON-BEGIN} tag before the coupon related QuickCode tag to display the coupon related QuickCode tags if the customer is paying for the order via Coupon Code.  Use the {IF-PAY-WITH-COUPON-END} tag after the coupon related QuickCode tags.

2. Example:
        
You Paid with a coupon:
        
{IF-PAY-WITH-COUPON-BEGIN}Amount Paid: {COUPON-AMOUNT-PAID} <input type="submit" class="standard-button" alt="complete your order" name="submit2" id="submit2" value="Complete Your Order!" />{IF-PAY-WITH-COUPON-END}

3. Would display this if the customer pays via a Coupon Code:
          You Paid with a coupon:

Amount Paid: $9.99

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-PAY-WITH-COUPON-BEGIN} 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