Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Setup Checklist

...

1. POS Tasks

RTP|One only

...

Status
colourRed
titlerequired

...

Table of Contents
Panel
panelIconId2601
panelIcon:cloud:
panelIconText☁️
bgColor#57D9A3

For Cloud UI Customers: Be sure to check out the Enhanced Voucher Flow (including new modals and messaging support) that is now available on the Refreshed PDP that is now available for Cloud customers!

Setup Checklist

Insert excerpt
Set-up Checklist
Set-up Checklist
nopaneltrue

1. POS Tasks

RTP|One only

  • Set up a Voucher Template in RTP|One, (only product, product/discount, discount, and payment voucher types are supported).

    Status
    colourRed
    titlerequired

  • Create the voucher numbers for your Voucher Templates.

    Status
    colourRed
    titlerequired

  • If a voucher should be sold through the purchase of a product, add the voucher template to the voucher product component of the initial product that “grants” access to the vouchers.

    Status
    colourBlue
    titleoptional

  • In order for vouchers from RTP|One to show in the Aspenware Commerce My Account page, they must have a Report defined on the voucher type. add the voucher product(s) to the component.

    Status
    colourBlue
    titleoptional

  • For Payment Value Vouchers:

    • the voucher must be sold as a transaction in RTP in order to display in the My Account page.

    • Provide AW with:

      • a voucher product header

      • voucher payment method code

      • GL voucher clearing account

    • Update RTP admin to enable vouchers payment methods available for use at AWC location

Status
colourYellow
titlePrerequisite

2. Infrastructure Tasks

  • To update the logo that displays on vouchers in My Account, email support@aspenware.com with a png and svg image of your logo. This change does require a theme update and deployment.

3. Aspenware Commerce Tasks

1. Install Voucher Plugin

Status
colourRed
titlerequired

  • Go to Configuration > Local Plugins and select the Group Aspenware Commerce

  • Scroll to the Plugin Info for Vouchers.

  • Ensure that Installed and Is Enabled are both checked.

  • To enable payment value vouchers in checkout ensure Vouchers are enabled in the “Additional Payments” Plugin

    Status
    colourBlue
    titleoptional

  • To enable multiple payment value vouchers to be used in checkout, ensure “Allow multiple Additional Payments” is enabled in the “Additional Payments Plugin”

    Status
    colourBlue
    titleoptional

2. Configure Language Strings, Settings, and HTML widgets

  • Update the appropriate language strings.

    Status
    colourBlue
    titleoptional

  • Configure the following settings:

    Status
    colourBlue
    titleoptional

    1. customersettings.hideprintvoucherstab

    2. vouchersettings.showbanner

  • Install the following HTML Widgets if you want to utilize the Voucher Banner.

    1. Voucher Banner Plugin HTML Widget

      Status
      colourRed
      titlerequired

If a voucher should be sold through the purchase of a product, add the voucher template to the voucher product component of the initial product that “grants” access to the vouchers.
    1. Voucher Banner Styling HTML Widget

      Status
      colourBlue
      titleoptional

    2. Voucher/Gift Card Help HTML Widget

      Status
      colourBlue
      titleoptional

In order for vouchers from RTP|One to show in the Aspenware Commerce My Account page, they must have a Report defined on the voucher type. add the voucher product(s) to the component

3. Set Discount.

Status
colourBlue
titleoptional

Status
colourYellow
titlePrerequisite

2. Infrastructure Tasks

  • To update the logo that displays on vouchers in My Account, email support@aspenware.com with a png and svg image of your logo. This change does require a theme update and deployment.

3. Aspenware Commerce Tasks

1. Install Voucher Plugin
  • In Aspenware Commerce Administration go to Promotions > Discounts

    1. Select Add New.

    2. Set up your discount including the appropriate discount amount/percentage.

    3. Click Save.

4. Configure Voucher Email Template

Status
colour

Red

Blue
title

requiredUpdate the appropriate language strings

OPtional

  1. Go to

Configuration > Local Plugins and select the Group Aspenware Commerce
  • Scroll to the Plugin Info for Vouchers.

  • Ensure that Installed and Is Enabled are both checked.

  • 2. Configure Language Strings, Settings, and HTML widgets

    1. Content Management > Message Templates and find “Vouchers.EmailVoucher”

    2. Select Edit

      1. Go to “Source Tools”

      2. Find the text below and replace the [INSERT URL TO LOGO HERE] with your store’s logo image url

    NOTE: If on version 3.2 or later, please see Email Templates instead for instructions on configuring.

    Status
    colour

    BlueConfigure the following settings:

    Yellow
    title

    optionalVoucher Banner Plugin HTML Widget

    prerequisite

    1. Option 1: Create Product Voucher

    Status
    colourBlue
    titleoptional

    1. customersettings.hideprintvoucherstab

    2. vouchersettings.showbanner

    Install the following HTML Widgets if you want to utilize the Voucher Banner.

    • Go to Catalog > Products and search for the fenced product you wish to associate to the voucher and click Edit.

    • Scroll all the way down to the admin.catalog.products.vouchers module.

    • Click Add Voucher Template ID and add it.

    • Configure My Account options and Save.

    2. Option 2: Create Discount Voucher

    Status
    colour

    Red

    Blue
    title

    required
  • Voucher Banner Styling HTML Widget

    Status
    colourBlue
    titleoptional

  • Voucher/Gift Card Help HTML Widget

    optional

    • Go to Promotions > Discounts in Admin.

    • Click Add New and create the discount.

    • Click Save and Continue Edit.

    • Scroll down to the Requirements tab.

    • In Discount Requirement Type, select ‘Vouchers’. The Voucher Template ID field will then display.

    • Enter the Voucher Template ID and click Update Template ID.

    • Scroll down to the Applied to products section and Add a new product.

    3. Option 3: Create Product/Discount Voucher

    Status
    colourBlue
    titleoptional

    3. Set Discount.

    Status
    colourBlue
    titleoptional

    • In Aspenware Commerce Administration go to Promotions > Discounts

      1. Select Add New.

      2. Set up your discount including the appropriate discount amount/percentage.

      3. Click Save.

    4. Configure Voucher Email Template

    Status
    colourBlue
    titleOPtional

    1. Go to Content Management > Message Templates and find “Vouchers.EmailVoucher”

    2. Select Edit

      1. Go to “Source Tools”

      2. Find the text below and replace the [INSERT URL TO LOGO HERE] with your store’s logo image url

    Status
    colourYellow
    titleprerequisite

    1. Option 1: Create Product Voucher

    Status
    colourBlue
    titleoptional

    • Go to Catalog > Products and search for the fenced product you wish to associate to the voucher and click Edit.

    • Scroll all the way down to the admin.catalog.products.vouchers module.

    • Click Add Voucher Template ID and add it.

    • Configure My Account options and Save.

    2. Option 2: Create Discount Voucher

    Status
    colourBlue
    titleoptional

    • Go to Promotions > Discounts in Admin.

    • Click Add New and create the discount.

    • Click Save and Continue Edit.

    • Scroll down to the Requirements tab.

    • In Discount Requirement Type, select ‘Vouchers’. The Voucher Template ID field will then display.

    • Enter the Voucher Template ID and click Update Template ID.

    • Scroll down to the Applied to products section and Add a new product.

    3. Option 3: Create Product/Discount Voucher

    Status
    colourBlue
    titleoptional

    • Go to Catalog > Products and search for the fenced product you wish to associate to the voucher and click Edit.

    • Scroll all the way down to the admin.catalog.products.vouchers module.

    • Click Add Voucher Template ID and add it.

    • Configure My Account options and click Save and Continue Edit.

    • Go to Promotions > Discounts in Admin.

    • Click Add New and create the discount.

    • Click Save and Continue Edit.

    • Scroll down to the Requirements tab.

    • In Discount Requirement Type, select ‘Vouchers’. The Voucher Template ID field will then display.

    • Enter the Voucher Template ID and click Update Template ID.

    • Scroll down to the Applied to products section.

    • Click Add a new product to add the product.

    • Check it and click Save.

    Status
    colourGreen
    titleDetailed Setup

    HINT: Want to take it a step further? Check out our Voucher Training Webinar here.

    Prerequisite Tasks

    ...

    POS Tasks

    • Set up a Voucher Template in RTP|One, configuring the type (only product, product/discount, discount, and payment are supported), the Category, Description, usage and quantity limits, effective type, and expiration rules. Make note of the Voucher Template ID(s), you will need them in a later step.

      1. If configuring a Product or Product/Discount voucher, set up the product header code in RTP|One that will be redeemed via the product voucher ID(s). Within the Voucher Types tab of the product header, ensure Product or Product/Discount Voucher Type is added.

      2. If configuring a Product or Product/Discount voucher, add the product(s) to the voucher.

    • Create the voucher numbers for your Voucher Templates.

    • If a voucher should be sold through the purchase of a product, add the Voucher Template ID to the voucher product component of the initial product that “grants” access to the vouchers (e.g. A season pass is configured with a voucher component that creates X number of Buddy Passes when sold online or through RTP|One).

    • In order for vouchers from RTP|One to show in My Account in Aspenware Commerce, they must have a Report defined on the Voucher Type. Add the voucher product(s) to the component.

    HINT: For more detail on RTP|One voucher setup, reference this guide.

    Infrastructure Tasks

    • To update the logo that displays on vouchers in My Account, email support@aspenware.com with a png and svg image of your logo. This change does require a theme update and deployment.

    Commerce Tasks

    1. Install the Voucher Plugin

    Installing the voucher plugin is required for the use of voucher redemption. This will both allow the voucher banner to be displayed and show/enable the voucher widget on the product setup.

    • Go to Configuration > Local Plugins >

    • Select Aspenware Commerce from the Group drop-down list. Scroll down to Plugin info for Vouchers.

    • Ensure that both Installed and Is Enabled are checked.

      Image Removed

    Info

    NOTE: If the voucher toolbar is missing, you can add this plugin-HTML widget by following the instructions found in the 2.12.5 Release Guide.

    Info

    NOTE: Make sure that the Voucher Banner Plugin HTML Widget is installed, the vouchersettings.showbanner setting is configured, and the banner Language Strings are configured. See below in the Settings, Language Strings, and HTML Widgets section for details on these items.

    2. Set Discount (If creating a discount voucher)

    • In Aspenware Commerce Administration go to Promotions > Discounts

      1. Select Add New.

      2. Set up your discount according to setup documentation including the appropriate discount amount/percentage

      3. Click Save.

    ...

    • If using discount vouchers and limiting usage, make sure the following plugin is installed: Discount Requirements - Cart must contain a certain amount of products by navigating to Configuration > Local plugins.

    ...

    3. Ensure required products are set up.

    For information about setting up products, see the Product Configuration Documentation.

    4. Create a published but hidden voucher category.

    This category must be published and then set up as a hidden category. See Creating Hidden Categories. This hidden category will be used to house fenced products used for product vouchers or product/discount vouchers.

    HINT: Even though it’s not required, it is best practice to put vouchers in a hidden category so that guests aren’t able to inadvertently navigate to a product that they aren’t eligible to purchase.

    5. Configure Email Voucher Template

    When a deployment occurs and the vouchers plugin is installed the email vouchers template will be added to Content Management > Email Templates (if the template already exists it will not overwrite the existing template).

    To configure the email template:

    ...

    Go to Content Management > Message Templates

    ...

    Search for “Vouchers.EmailVoucher”

    1. Image Removed

    Select Edit

    ...

    Go to “Source Tools”

    ...

    Find the text below and replace the [INSERT URL TO LOGO HERE] with your store’s logo image URL

    Adjust width and height as necessary

    ...

    Code Block
    <img src="[INSERT URL TO LOGO HERE]" alt="Logo" style="border: none; -ms-interpolation-mode: bicubic; max-width: 100%;" width="150" height="41" align="middle" />

     

    ...

    • Go to Catalog > Products and search for the fenced product you wish to associate to the voucher and click Edit.

    • Scroll all the way down to the admin.catalog.products.vouchers module.

    • Click Add Voucher Template ID and add it.

    • Configure My Account options and click Save and Continue Edit.

    • Go to Promotions > Discounts in Admin.

    • Click Add New and create the discount.

    • Click Save and Continue Edit.

    • Scroll down to the Requirements tab.

    • In Discount Requirement Type, select ‘Vouchers’. The Voucher Template ID field will then display.

    • Enter the Voucher Template ID and click Update Template ID.

    • Scroll down to the Applied to products section.

    • Click Add a new product to add the product.

    • Check it and click Save.

    Status
    colourGreen
    titleDetailed Setup

    HINT: Want to take it a step further? Check out our Voucher Training Webinar here.

    Prerequisite Tasks

    Insert excerpt
    Prerequisites Tasks Excerpt
    Prerequisites Tasks Excerpt
    nopaneltrue

    POS Tasks

    • Set up a Voucher Template in RTP|One, configuring the type (only product, product/discount, discount, and payment are supported), the Category, Description, usage and quantity limits, effective type, and expiration rules. Make note of the Voucher Template ID(s), you will need them in a later step.

      1. If configuring a Product or Product/Discount voucher, set up the product header code in RTP|One that will be redeemed via the product voucher ID(s). Within the Voucher Types tab of the product header, ensure Product or Product/Discount Voucher Type is added.

      2. If configuring a Product or Product/Discount voucher, add the product(s) to the voucher.

    • Create the voucher numbers for your Voucher Templates.

    • If a voucher should be sold through the purchase of a product, add the Voucher Template ID to the voucher product component of the initial product that “grants” access to the vouchers (e.g. A season pass is configured with a voucher component that creates X number of Buddy Passes when sold online or through RTP|One).

    • In order for vouchers from RTP|One to show in My Account in Aspenware Commerce, they must have a Report defined on the Voucher Type. Add the voucher product(s) to the component.

    • For Payment Value Vouchers:

      • the voucher must be sold as a transaction in RTP in order to display in the My Account page.

      • Provide AW with:

        • a voucher product header

        • voucher payment method code

        • GL voucher clearing account

      • Update RTP admin to enable vouchers payment methods available for use at AWC location

    HINT: For more detail on RTP|One voucher setup, reference this guide.

    Infrastructure Tasks

    • To update the logo that displays on vouchers in My Account, email support@aspenware.com with a png and svg image of your logo. This change does require a theme update and deployment.

    Commerce Tasks

    1. Install the Voucher Plugin

    Installing the voucher plugin is required for the use of voucher redemption. This will both allow the voucher banner to be displayed and show/enable the voucher widget on the product setup.

    • Go to Configuration > Local Plugins >

    • Select Aspenware Commerce from the Group drop-down list. Scroll down to Plugin info for Vouchers.

    • Ensure that both Installed and Is Enabled are checked.

      Image Added

    Info

    NOTE: Make sure that the Voucher Banner Plugin HTML Widget is installed, the vouchersettings.showbanner setting is configured, and the banner Language Strings are configured. See below in the Settings, Language Strings, and HTML Widgets section for details on these items.

    To enable payment value vouchers in checkout ensure Vouchers are enabled in the “Additional Payments” Plugin:

    • Go to Aspenware Commerce > Additional Payments > then select “Vouchers” > Click Save

    ...

    To enable multiple payment value vouchers to be used in checkout, ensure “Allow multiple Additional Payments” is enabled in the “Additional Payments Plugin”. If unselected, then guests will only be able to apply one payment value voucher per transaction. To enable multiple:

    • Go to Aspenware Commerce > Additional Payments > then select “Allow Multiple Additional Payments” > Click Save

    ...

    2. Set Discount (If creating a discount voucher)

    • In Aspenware Commerce Administration go to Promotions > Discounts

      1. Select Add New.

      2. Set up your discount according to setup documentation including the appropriate discount amount/percentage

      3. Click Save.

    Info

    NOTE:A promo code is not required for discount vouchers, however, if you would like the guest to see a promo code on the cart, you may add one. If a guest does not have a voucher and tries to enter the promo code, the discount will not work.

    • If using discount vouchers and limiting usage, make sure the following plugin is installed: Discount Requirements - Cart must contain a certain amount of products by navigating to Configuration > Local plugins.

    ...

    3. Ensure required products are set up.

    For information about setting up products, see the Product Configuration Documentation.

    4. Create a published but hidden voucher category.

    This category must be published and then set up as a hidden category. See Creating Hidden Categories. This hidden category will be used to house fenced products used for product vouchers or product/discount vouchers.

    HINT: Even though it’s not required, it is best practice to put vouchers in a hidden category so that guests aren’t able to inadvertently navigate to a product that they aren’t eligible to purchase.

    5. Configure Email Voucher Template

    Panel
    panelIconId2601
    panelIcon:cloud:
    panelIconText☁️
    bgColor#E3FCEF

    CLOUD CUSTOMERS: For configuring your email template, please see the Updating Email Template instructions for version 3.2 or later for configuring your email templates.

    When a deployment occurs and the vouchers plugin is installed the email vouchers template will be added to Content Management > Email Templates (if the template already exists it will not overwrite the existing template).

    To configure the email template:

    • Go to Content Management > Message Templates

    • Search for “Vouchers.EmailVoucher”

      1. Image Added
    • Select Edit

      1. Go to “Source Tools”

      2. Find the text below and replace the [INSERT URL TO LOGO HERE] with your store’s logo image URL

      3. Adjust width and height as necessary

        Code Block
        <img src="[INSERT URL TO LOGO HERE]" alt="Logo" style="border: none; -ms-interpolation-mode: bicubic; max-width: 100%;" width="150" height="41" align="middle" />
        Image Added

    Info

    NOTE: Including an extra “/” in the %StoreURL% token can cause a bad URL in the email.

    If the StoreURL includes a “/”, then the email template should not include a “/”. The store URL can be found by going to Admin > Configuration > Stores.

    To configure this properly:

    1. Scenario 1: Resort uses %Store.URL%

      1. If that includes a "/" in it --> don't include the "/" in the template

      2. If that doesn't includes a "/" in it --> do include the "/" in the template

    2. Scenario 2: Resort manually overrides the token and uses their own URL (not recommended)

      1. Based on that will determine if the / is needed or not

    Settings, Language Strings and/or HTML Widgets for this Feature

    ...

    Each voucher can be viewed and printed. Some vouchers can be set up to be redeemed or emailed. Payment value vouchers include the balance remaining in the Other Vouchers view. Active vouchers are shown initially, and inactive vouchers can be viewed if the Inactive Vouchers section is expanded. The following settings and language strings can be used to enable or disable the functionality and customize the display of Print/View Vouchers.

    ...

    Configuration Step

    Setting Name

    Value

    Print/View Vouchers in My Account

    customersettings.hideprintvoucherstab

    Note: 2.18 and later will now use
    customersettings.hidevoucherstab

    False = Enable Print/View Vouchers, the guest will see the My Vouchers in My Account

    True = Disable Print/View Vouchers, the guest will not see the My Vouchers in My Account

    Install Banner Plugin HTML Widget

    vouchersettings.showbanner

    True = show the banner

    False= do not show banner

    ...

    Cache Product Prices Setting

    For discount vouchers or product/discount vouchers, cache product prices must be unchecked. This setting can be found in Settings > Catalog Settings.

    1. Image Modified

    Voucher Banner Language Strings

    The Voucher feature with Aspenware Commerce is highly configurable with Language Strings. Use the tables below to view and modify string resources and values by going to Configuration > Languages >Edit in Administration, searching for the appropriate string, and verifying/replacing values as desired. For more detail on these strings and screenshot examples, visit the Language Strings Library.

    Update these strings to configure the voucher banner title separate from the content text:

    Description

    Language String Resource

    Default Value

    (Can be Customized)

    Placement

    Voucher banner title text

    voucher.plugin.cta.title

    Have a voucher to redeem?

    Left side of voucher banner.

    Voucher banner content text

    voucher.plugin.cta.text

    Check your voucher ID and redeem here.

    Second sentence in voucher banner.

    Page Banner Input Box

    voucher.plugin.input.text

    YOUR VOUCHER NUMBER

    Inside text entry box in banner

    Voucher Validation Popup Language Strings

    Update these strings to configure the voucher banner title separate from the content text:

    Description

    Language String Resource

    Default Value

    (Can be Customized)

    Placement

    Voucher Popup

    voucher.plugin.modalheader.text

    Voucher Validation

    Title of voucher popup

    Voucher Popup

    voucher.plugin.validationwait.text

    Please wait while we validate your voucher ID.

    Appears within popup if validation is not immediate.

    Voucher Popup

    voucher.plugin.validationsuccess.text

    Voucher ID successfully verified. Click redeem to continue.

    Appears within popup once voucher ID successfully verified.

    Voucher Popup

    voucher.plugin.invalidcode.text

    Voucher ID is invalid.

    Appears within popup if ID is invalid or other error occurs.

    Voucher Popup

    voucher.plugin.continuebutton.text

    Redeem

    Appears within popup - button

    Voucher Popup

    voucher.plugin.button.label

    CONFIRM VALUE

    Appears within banner- button

    Discount voucher message

    voucher.plugin.discount.message

    Discount will be applied to the highest priced eligible item in your cart

    Beneath the Voucher name within the voucher redemption modal

    My Vouchers Language Strings

    Update these strings to configure the My Vouchers tab in My Account:

    Description

    Language String Resource

    Default Value

    (Can be Customized)

    Placement

    Product vouchers tab

    account.myvouchers.productvoucherstab

    My Product Vouchers

    Product/Other Toggle underneath heading

    Other vouchers tab

    account.myvouchers.othervoucherstab

    My Other vouchers

    Product/Other Toggle underneath heading

    My vouchers subheader message

    account.myvouchers.productvouchers.description

    Find your vouchers and take action below.

    Text underneath My Vouchers title

    Print/view

    account.myvoucher.title

    %Guest%'s Vouchers

    Heading above list of available vouchers

    My account column title

    account.printvouchers

    My Vouchers

    Title at the top of page

    Email voucher popup message

    account.myvouchers.emailpopup.sendvoucher

    Enter an email address to send this voucher.

    Email Voucher popup window

    Email voucher popup text entry box

    account.myvouchers.emailpopup.textentry

    Email address

    Email Voucher popup window - email field

    Email voucher popup send button

    account.myvouchers.emailpopup.send

    Send

    Button on Email Voucher popup

    Print/View vouchers method

    account.printvouchers.terms

    Non-transferable. No cash value

    .

    Description on the voucher detail page

    Voucher effective date (forthcoming)

    account.myvouchers.effectivedate

    Effective Date

    (Forthcoming)

    .

    Description on the voucher detail page

    Voucher expiration date

    account.myvouchers.expirationdate

    Expiration Date

    Voucher detail page

    Email voucher popup success confirmation

    account.myvouchers.emailpopup.success

    Voucher successfully sent!

    Successful Send popup

    Email voucher popup success message

    account.myvouchers.emailpopup.success.message

    %recipient% will receive your voucher momentarily.

    Successful Send popup

    Email voucher popup fail message

    account.myvouchers.emailpopup.fail

    Unfortunately, we were unable to send your voucher.

    Fail to send popup

    email voucher popup success continue/exit button

    account.myvouchers.emailpopup.success.button

    Ok

    Button on successful send popup

    email voucher popup fail continue/exit button

    account.myvouchers.emailpopup.fail.button

    Ok

    Button on fail to send popup

    print voucher popup

    account.printvouchers

    Print Vouchers

    Button

    print voucher popup

    account.printvouchers.description

    Vouchers assigned to members of your can be viewed and printed below.

    Print popup page

    print voucher popup

    account.printvouchers.terms

    Vouchers are non-refundable and non-transferable.

    Print popup page

    print voucher popup

    account.novouchers

    There are no vouchers on your account.

    Print popup/no vouchers

    Print/View vouchers method

    account.printvouchers.terms

    Non-transferable. No cash value.

    Print popup

    Install the Voucher Banner Plugin HTML Widget

    ...

    Note

    IMPORTANT: The Voucher Banner Plugin Widget MUST be installed even if you don’t want the banner to be visible. If you do not want the banner to be visible, you can disable it by going to the vouchersettings.showbanner settings and set it to 'FALSE.” It will be defaulted to 'TRUE”.

    • Go to Nop-Templates > Plugins > Html Widgets > Manage HTML Widgets

    • Click Add new Html Widget

    • Enter the following:

      • Name: Voucher (this name is customizable)

      • Visible: checked

      • HTML Content: Select Tools dropdown and select “<> Source Code”

    • Enter: <validate-code></validate-code>

    • Click Save.

    • Select Edit (on the newly added plugin)

    • Select Widget Zones Tab

    • Click Add new record.

    • From Widget Zone drop-down select content_before.

    • Click Update.

    • Click Save.

    Add Voucher Banner Styling HTML Widget


    Although the voucher banner includes default styling from the site’s overall CSS, the following properties (all or any) can be optionally customized via the widget including banner background color, label weight, label size, button text color, button text size, button background color, and text weight.

    • Go to Nop-Templates > Plugins > Html Widgets > Manage

    • Select Add new Html widget and enter the following:

      • Name: Vouchers Styling (this name is customizable)

      • Visible: Checked

      • Html Content: Select Tools > Source Code

        • Within the text box popup, you can add any of the above properties using the following formatting (bold text is configurable):

    Code Block
    <style>
    :root {--voucher-banner-background-color: #00cc99;
    --voucher-label-weight: normal;
    --voucher-label-color: #4d4dff;
    --voucher-label-size: 0.875rem;
    --voucher-button-text-color: #99ff33;
    --voucher-button-text-size: 1.5em;
    --voucher-button-background-color: #ff0066;
    --voucher-text-weight: 500;
    }
    </style>
    Info
     NOTE: For additional guidance on voucher banner configuration, refer to this release guide.

    ...

    • Add Widget Zone

      1. Select the tab Widget Zones Tab (next to Html Widget Settings)

      2. Select Add new record

      3. Select widget zone: head_html_tag

      4. Select Update

    Detailed Setup Guide

    Determine the type of voucher that best meets your needs (product voucher, discount voucher or product/discount voucher) and choose from the options below for configuration. For more information about the types of vouchers, please see the Vouchers Overview in this Documentation.

    ...

    Product vouchers are used to give specific guests access to a fenced product. Note that Aspenware only supports single use for product vouchers. The most common use case for this type of voucher is a “Friends and Family Lift Ticket” product that is connected to a season pass holder. The pass holder can email the voucher ID to a friend or family member.

    • Go to Catalog > Products and search for the fenced product you wish to associate to the voucher and click Edit.

    • Scroll all the way down to the admin.catalog.products.vouchers module.

    • Enter the voucher template ID (This is the one generated from RTP|One in the Prerequisite step above). )Please note that

    • Click Add Voucher Template ID.

    • The Voucher Template ID will then be displayed below as associated with the product.

    • Check “Visible” if you want the voucher to be visible in the guest’s My Account Vouchers tab.

    • Check “Email”, “Redeem”, or “Print/View” depending on which options you’d like to have available to the guest in their My Account Vouchers tab.


    • Click Save and Continue Edit. (You will notice that the Voucher ID is now listed in the product attributes for this product Save and Continue Edit.

    • After the Voucher Template ID Id has been saved, scroll to the Product attributes section to verify that a new attribute called “Voucher ID” appears in the Attributes section for the productId” appears as an added attribute. You should not have to alter this. However, if you would like it to appear in a different area or order you may adjust this by adding [Dynamic] in the text prompt to place the voucher attribute into the dynamic component area on the PDP.

    Note

    IMPORTANT: Please note that the Voucher Id attribute is case sensitive so it must be named “Voucher Id” and not “Voucher ID.” See Configuration: Product Attributes for information on creating and editing product attributes.

    ...

    2. Option 2: Create Discount Voucher

    ...

    Configure Discount Voucher

    • Go to Promotions > Discounts in Admin.

    • Click Add New and enter the following:

      1. Name: Enter the name of your discount.

      2. Discount type: Choose ‘Assigned to Products’

      3. Percentage: Check if you want the product to be discounted by a certain percentage.

        1. Discount Percentage: Enter the discount percentage that will be applied.

        2. Maximum Discount Amount: leave blank

      4. Percentage: Leave unchecked if you would like the product to be discounted by a certain dollar amount.

        1. Discount Amount: Enter the amount of the discount.

      5. The rest of the fields can be left blank.

    • Click Save and Continue Edit.

    • Scroll down to the Requirements tab.

    • In Discount Requirement Type, select ‘Vouchers’. The Voucher Template ID field will then display.

    • Enter the Voucher Template ID and click Update Template ID.

    • The requirement will then be displayed.

    • Scroll down to the Applied to products section.

    • Click Add a new product.

    • Search for the product you would like to associate with the Discount Voucher.

    • Check it and click Save.

    • The product is now listed in the Applied to products section.

    • Discount Vouchers can be applied to many products.

    • Click Save.

    (Optional) Set Limits on Number of Products in the Cart

    ...

    • On the Discount, scroll back to the Requirements section and, under ‘Add a new discount requirement’ enter:

      1. Discount requirement type: 'Cart must contain certain amount of products'

      2. Minimum Quantity: Enter a minimum number of products the cart must contain (optional)

      3. Maximum Quantity: Enter a maximum number of products the cart must contain (optional)

      4. Products: Click Add product to add any products that are associated with this requirement.

        Image Modified
      5. Click Save.

    • The additional requirement will now appear under Requirements for the product.

    3. Option 3: Create Product/Discount Voucher

    AS As the name implies, Product/Discount vouchers are vouchers that allow both access to fenced products and discount pricing. The products are not available to the general public and are set up as full-price products. The associated discount voucher will change the pricing. The Voucher Template ID is assigned at both the Product level AND the Discount level. These can only be configured for one product and only for single use.

    Configure Product Portion of Product/Discount Voucher

    • Go to Catalog > Products and search for the fenced product you wish to associate to the voucher and click Edit.

    • Scroll all the way down to the admin.catalog.products.vouchers module.

    • Enter the voucher template ID (This is the one generated from RTP|One in the Prerequisite step above.)

    • Click Add Voucher Template ID.

    • The Voucher Template ID will then be displayed below as associated with the product.

    • Check “Visible” if you want the voucher to be visible in the guest’s My Account Vouchers tab.

    • Check “Email”, “Redeem”, or “Print/View” depending on which options you’d like to have available to the guest in their My Account Vouchers tab.

      Image Removed

      Click Save and Continue Edit. (You will notice that the Voucher ID is now listed in the product attributes for this product

      Image Added

    • Click Save and Continue Edit.

    • After the Voucher Template ID Id has been saved, scroll to the Product attributes section to verify that a new attribute called “Voucher ID” appears in the Attributes section for the productId” appears as an added attribute. You should not have to alter this. However, if you would like it to appear in a different area or order you may adjust this by adding [Dynamic] in the text prompt to place the voucher attribute into the dynamic component area on the PDP.

    Note

    IMPORTANT: Please note that the Voucher Id attribute is case sensitive so it must be named “Voucher Id” and not “Voucher ID.” See Configuration: Product Attributes for information on creating and editing product attributes.

    ...

    Configure Discount Portionof Product/Discount Voucher

    • Go to Promotions > Discounts in Admin.

    • Click Add New and enter the following:

      1. Name: Enter the name of your discount.

      2. Discount type: Choose ‘Assigned to Products’

      3. Percentage: Check if you want the product to be discounted by a certain percentage.

        1. Discount Percentage: Enter the discount percentage that will be applied.

        2. Maximum Discount Amount: leave blank

      4. Percentage: Leave unchecked if you would like the product to be discounted by a certain dollar amount.

        1. Discount Amount: Enter the amount of the discount.

      5. The rest of the fields can be left blank.

    • Click Save and Continue Edit.

    • Scroll down to the Requirements tab.

    • In Discount Requirement Type, select ‘Vouchers’. The Voucher Template ID field will then display.

    • Enter the Voucher Template ID and click Update Template ID.

    • The requirement will then be displayed.

    • Scroll down to the Applied to products section.

    • Click Add a new product.

    • Search for the product you would like to associate with the Discount Voucher.

    • Check it and click Save.

    • The product is now listed in the Applied to products section.

    Note

    IMPORTANT: You may only include one product here. The Product/Discount voucher is specific to only one product.

    ...

    • Click Save.

    4. (Optional) Create a Dedicated Voucher Redemption Page

    ...

    Info

    NOTE: Some resorts may have headers that override Aspenware Commerce styles; if this causes issues with your UI please follow the instructions below to ensure that your styles do not override those needed for the dedicated voucher page.

    • Go to Admin > Content Management > Topics (pages)

    • Select Add New.

    • Make sure the Advanced tab is selected and

      1. Enter the title of your page in the text entry field, this will not show on the page but will be part of the URL e.g. https://shop.yourresort.com/redeemvoucher

      2. Note the name of your URL at the bottom of the module

      3. Add a System Name under the Display module as well (this is the title that will show on your list of Topics (pages))

        Image Modified
    • To implement

      1. Within the Body module, select Tools > sourcecode

      2. In the source, paste the following code:

    Code Block
    <div class="custom-page--redeemvouchers">
    <div class="body-inner">
    <div id="wrapper" class="bg-style-default">
    <div id="hero" class="full-hero">
    <div id="hero-image">
    <div id="dynamic-hero" style="background-image: url('HERO IMAGE');" class="active"></div>
    </div>
    </div>
    <div id="content">
    <div id="commerce-store" class="container page">
    <div class="redeem-form">
    <h1>Voucher Validation</h1>
    <p>Validate your voucher by entering your voucher ID below.</p>
    <p class="sub">Think your account has vouchers but dont know your ID? You can also redeem your vouchers directly from your <a href="https://shop.jacksonhole.com/customer/printvouchers">My Vouchers</a> tab in My Account.</p>
    <div class="field-container"><input data-v-ef155ca0="" id="input--voucher-page" inputmode="text" type="text" class="ax--input input" placeholder="Enter Voucher ID" /> <button class="btn btn-primary" id="btn--voucher-page" onclick="redeemVoucher()">Validate</button></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <style type="text/css"><!--
    #ph-title {
        display: none
     }
    
    #ph-topic.page {
        padding-bottom: 0;
        margin-bottom: 0;
        min-height: 0 !important;
        top: 0 !important;
        box-shadow:none !important;
    }
    .custom-page--redeemvouchers{
        margin-top:0;
    }
    .custom-page--redeemvouchers #hero{
        padding-bottom:15% !important;
    }
    .custom-page--redeemvouchers  .container.page{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-content: stretch;
        align-items: flex-start;
    }
    .redeem-form{
       max-width:600px;
       text-align:center;
       margin-top:30px;
       padding-left:15px;
       padding-right:15px;
    }
    .redeem-form p{font-size:1.2em;}
    .redeem-form p.sub{
       font-size:1em;
       margin:30px 0;
    }
    .redeem-form .field-container{
       max-width:400px;
       display:flex;
       margin:0 auto;
    }
    .redeem-form input{
       height:44px !important;
       flex: 1 1 auto;
    }
    .redeem-form .btn{
       margin-left:10px;
       flex: 0 1 auto;
    }
    --></style>
    <script>// <![CDATA[
    var input_el = document.getElementById("input--voucher-page");
    
      function redeemVoucher() {
        var id = input_el.value;
        if (!id) {
          alert('Please enter a voucher ID and try again.')
          return false;
        }
        let origin = window.location.origin;
        let path = origin + "/?code=" + id;
        window.location = path;
      }
    // ]]></script>
    • Then, in the source code, update the following paths:

      1. Update the path to the hero image (example below)

        1. <div id="dynamic-hero" style="background-image: url('https://yourresort.com/images/thumbs/0000661_lift-tickets_1700.jpeg);" class="active"></div>

      2. Update the path to the print vouchers page (example below)

        1. <p class="sub">Think your account has vouchers but dont know your ID? You can also redeem your vouchers directly from your <a href="https://shop.yourresort.com/customer/printvouchers"> My Vouchers</a> tab in My Account.</p>

      3. Update any of the page copy directly in the markup. No language strings are needed.

    Info

    NOTE: No CSS changes should be necessary as styles for the page will pull from the client theme.

    • Save and test the new page

    For Resorts with Styles that Override the Dedicated Voucher Page

    ...

    In Aspenware Commerce administration dashboard navigate to

    • Nop Templates > Plugins > Html Widgets > Manage html widgets

    • Select Add New Html Widget

    • Name the voucher modal (e.g. Fix Voucher Modal)

    • Select Tools --> <> Source Code

    • Enter the following code in the text entry field:

    Code Block
    <style>
    .ax--box.full-width {    
    width: 100% !important;    
    margin-left:inherit !important;
    }
    </style>
    • Select Save and Continue Edit

    • Select Widget Zones

    • From the dropdown select body_start_html_tag_after

    • Select Update

    ...

    ...