Table of Contents |
---|
Setup Checklist
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
1. POS COMMERCE TASKS | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
POS Task 1
| Prerequisite | 2. INFRASTRUCTURE TASKS |
|
| 3. COMMERCE TASKS | |||||||||||||||||||||||||||||||||||||
Commerce Task 3 - Language String, Setting, HTML widget, etc. Task 4 -
|
| Configuration Task 5 -
|
|
|
|
Prerequisite Tasks
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
POS Tasks
POS Task that must be completed first
Infrastructure Tasks
Infrastructure Task that must be completed first. Remove section if not required
Commerce Tasks
AW Commerce task that must be completed first
Settings, Language Strings and/or HTML Widgets for this Feature
...
Settings
AW Commerce Settings that must first be completed
Language Strings
AW Commerce Language Strings that must first be completed
HTML Widgets
AW Commerce HTML Widgets that must first be completed
Detailed Setup Guide
Step 1 Header
Step 2 Header
1. Step 1 Header
First bullet should provide navigation instructions i.e. Catalog >Attributes >Product attributes
Sub-bullet for step 1. Every step and click should be detailed so that someone could follow with little prior experience.
Sub-bullet for step a. Include screenshots of the step and use skitch to mark up screenshots. It can be downloaded here: https://www.techspot.com/downloads/5705-skitch.html
Expand | ||
---|---|---|
| ||
Hint: Age Range Types should also be adjusted year over year. If age ranges are calculated based on Trip Start, then they will not need to be updated. Once completed for all required age range types move on to create Age Range. |
Info |
---|
Note: When possible use notes, warnings, and hints within info panel macros. See https://aspenware.atlassian.net/wiki/pages/resumedraft.action?draftId=781156460 for more details on these. |
2. Step 2 Header
First bullet should provide navigation instructions i.e. Catalog >Attributes >Product attributes
Sub-bullet for step 1
Sub-bullet for step a
...
DELETE CONTENT AFTER THIS LINE
go to the Glossary page and add the key terms Excerpt Include that you added for your configuration guide.
To add the feature terms to the Glossary, navigate to the glossary and add a header for your feature using an H2. Select the + and then select …view more. Search for Excerpt Include and in the Page Containing the Excerpt search for “Configuration: [FEATURE]” select to hide panel, preview and add.
How-to Guide of this page can be found here: [Internal] Configuration page Setup Guide
Real Example of this page can be found here: https://aspenware.atlassian.net/wiki/spaces/DB/pages/edit-v2/1037172926The conditional content wrapper requires four parameters to be set in order to be triggered for display in the widget zone. Your particular use case may not require all four parameters (e.g. your product total does not have to be $0 or a credit card does not have to be required), but they still must be set. These parameters are accounted for in the code snippets shown below for each catalog and checkout scenario.
Available Parameters
is-checkout: boolean
True/False - If this is set to false, the message can only be shown if a widget zone is selected that is not part of the checkout process.
requires-credit-card: boolean
True/False - If set to true, at least one purchased product must have the classification “requires credit card” assigned to it in admin. If set to false, the message will show regardless of whether the cart items have the requires credit card classification
requires-zero-dollar-total: boolean
True/False - If set to true then the message will only show when the order total (if is-checkout: true) or mini cart total (if is-checkout: false) is $0.
product-ids: array of numbers
Product IDs are found on the PDP admin page as the digits appended to the url when editing the PDP (see below). If you would like the conditional content message to show when only particular products are in the cart, insert the product ID(s) between two square brackets (e.g. [67,82] ).
1. (Option 1) Determine the Checkout Scenario for Showing Conditional Content
Determine if you would like the conditional content to display during one of the following checkout scenarios:
Checkout Scenario 1: Display a message during checkout when the order total is $0.
Checkout Scenario 2: Display a message during checkout when an order contains a specific product and locate the correct product ID(s).
To find the product ID(s), go to Catalog > Products in Aspenware Admin
Search for the product.
Once on the Edit product details page, locate the Product IS in the URL. It will appear as the digits appended to the end of the URL. See the example below.
Checkout Scenario 3: Display a message during checkout when an order requires a credit card.
2. (Option 2) Determine the Catalog Scenario for Showing Conditional Content
Note |
---|
IMPORTANT: Aspenware does not guarantee the widget zone functionality of any catalog scenarios. If using catalog widget zones be sure to test thoroughly. |
Catalog Scenario 1: Display a message on the PDP when the cart total is $0.
Catalog Scenario 2: Display a message on the PDP when the cart includes a specific product.
3. Copy the Appropriate Code Snippet for Chosen Scenario
(Click to expand table and enable copy feature for code snippets ->)
Scenario | Code Snippet for Html Widget | ||
---|---|---|---|
Checkout Scenario 1: Display a message during checkout when the order total is $0. |
| ||
Checkout Scenario 2: Display a message during checkout when an order contains a specific product and locate the correct product ID(s). |
| ||
Checkout Scenario 3: Display a message during checkout when an order requires a credit card. |
| ||
Catalog Scenario 1: Display a message on the PDP when the cart total is $0. |
| ||
Catalog Scenario 2: Display a message on the PDP when the cart includes a specific product. |
|
Detailed Setup Guide
Add New Html Widget
(Optional) Style Content
Add Widget to Widget Zone
1. Add New Html Widget
In Aspenware Admin, go to Nop-Templates > Plugins > HTML WIDGETS > Manage Html Widgets.
Click the Add new Html Widget in the top right corner of the page.
Enter the following into the fields:
Name: Give your widget a name.
Html Content: Click Tools and select Source code.
Paste the corresponding html code from the relevant scenario above into the pup-up box that appears. (See chart from scenarios above.) If your chosen scenario applies only when particular products are in the cart, insert the product ID(s) between two square brackets within the code. Multiple product ID(s) must be separated by a comma (e.g. [67,82] ).
Click Ok.
3. (Optional) Style Content
To style your content you will need to add styling to this code. One example is given below. If you need additional styling, reach out to your Aspenware Representative for help at support@aspenware.com.
Info |
---|
NOTE: Styling will be required if the background for the conditional content isn’t white. |
Add styling instructions to the Source Code html you just added above. In the example below, the styling added includes content box background color, padding, and margin (color = hex #e8edf0):
Code Block <conditional-content :is-checkout="true" :requires-credit-card="true" :requires-zero-dollar-total="false" :product-ids="[829,878]"> <div class="payment-message" style="padding: 1.6rem; background: #e8edf0; margin: 0 1.2rem; line-height: 1.5;" div="">Your content goes here.</div> </conditional-content>
...
Click Ok.
Click Save to save the widget.
4. Add Widget to Widget Zone
Your new widget needs to be added to the widget zone where you would like the content to be displayed. While you may try to apply a wrapper to any widget zone, Aspenware only guarantees support for the following zones:
checkout_payment_method_bottom
checkout_payment_method_top
checkout_confirm_top
checkout_assignmentpage_top
checkout_footer
For more information on these zones, see the Aspenware Configuration and Library for Html Widgets.
To add the widget to the appropriate widget zone:
In Aspenware Commerce Admin, go to Nop-Templates > PLUGINS > HTML WIDGETS > Manage Html Widgets
Scroll to the widget you created above and click Edit.
On the Edit Html Widget Details page, click on the Widget Zones tab.
Click Add new record.
Select the widget zone where you would like the conditional content to display. See the image below for known supported widget zones.
Select the appropriate widget zone and click Update.
Click Save to save the changes to the widget details.
...