Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install voucher plugin
    Installing the voucher plugin is required for the use of enhanced vouchers. When deploying, make sure the the json (plugins config with all the necessary files) is included. When configuring your vouchers make sure the plugin is enabled following the steps below. This will both allow the voucher banner to be displayed and show/enable the voucher widget on the product setup.

    1. Configuration > Local Plugins >

    2. Scroll to Group: “Aspenware Commerce” Plugin info: “Vouchers”

    3. Ensure the following plugin is installed and enabled

  2. Add voucher banner plugin-html widget
    This plugin-html widget creates the voucher banner. Once installed and made visible admins can enable and disable the banner via the voucher banner settings in “All Settings”

    1. Nop-Templates > Plugins > Html Widgets > Manage

    2. Add New html widget

    3. Name: Voucher (this name is customizable)

    4. Select Tools dropdown and select “<> Source Code”

    5. Enter: <validate-code></validate-code>

    6. Save

    7. Select Edit (on newly added plugin)

    8. Select “Widget Zones” Tab

    9. Select Add New Record

    10. From dropdown select content_before

    11. Select “Update”

    12. Save

  3. Add Review the voucher banner setting
    Once the plugin is installed, add check that the voucher banner setting in order exists and use it to enable and disable the voucher banner across the site. The voucher banner will display on all pages on desktop but only on category pages (and not pdps) on mobile.

    1. Configuration > Settings > All Settings

    2. Scroll to bottom

    3. Add Find Setting Name: vouchersettings.showbanner

    4. Add Value: True (if you would like to show the banner)

    5. Add Value: False (if you would not like to show the banner)

  4. Add Review voucher language strings

    1. Configuration > Languages > Edit

    2. Use the table below to add view and modify the string resource and value by filling in the information and selecting “Add New Record” (see below for example)searching for the appropriate string and verifying/replacing values as desired

Description

String Resource

Current Value

Placement

Page Banner

voucher.plugin.cta.text

GOT A BUDDY PASS? OR OTHER VOUCHER TO REDEEM? DO IT IN ONE CLICK HERE:

Across the top of page beneath menu

Page Banner Input Box

voucher.plugin.input.text

YOUR VOUCHER NUMBER

Inside text entry box in banner

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

code

ID.

Appears within popup if validation is not immediate.

Voucher Popup

voucher.plugin.validationsuccess.text

Voucher

code

ID successfully verified. Click redeem to continue.

Appears within popup once

code

voucher ID successfully verified.

Voucher Popup

voucher.plugin.invalidcode.text

Voucher

code

ID is invalid.

Appears within popup if

code

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 voucher

Appears within banner- button

  1. Image RemovedImage Added

Set up product voucher product
To set up your voucher product set up the product as you would normally do. If you have successfully installed the voucher plugin, there will be a new widget at the bottom of your product setup page named “Vouchers” as well as a new (automatically injected) voucher attribute. To add vouchers, first retrieve the appropriate product voucher template (this should not be included on any other product). To add a voucher follow the instructions below:

...

iii. Save product

...


c. Verify of modify that voucher attribute has been added to Attributes list
After the voucher template ID has been saved, you should find a new attribute called “Voucher Code” ID” on your product. 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 e.g. adding [Dynamic] in the text prompt would place the voucher attribute into the dynamic component area on the pdp

...