Versions Compared

Key

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

...

Excerpt

Order Templates are used (primarily) by B2B users to save frequently ordered products. For example, a monthly stationery order can be saved as a template for easy re-ordering. Order Templates can even be shared across companies, so that all users attached to the Customer Code have access.

Traditionally, to add a product to an Order Template, it would first be added to the cart. Once in the cart, the user could then add the product to an order template.

From version 3.88+, the Add to Template function can be implemented on the Product Detail page, allowing the user to add a product to a template and keep browsing. This saves on page loads and prevents the user being redirected to the cart before they're ready.

Step-by-step guide

To Add the widgetWidget to the Product Detail Page:

  1. Login to the CMS. 
  2. Navigate to Content --> Standard Pages
  3. Select the Product Detail template. 
  4. Add the Add Product To Order Template widget to the appropriate zone based on your site design (we chose zone Main Right).
     
  5. Edit the widget and set the Layer to the appropriate audience (to keep it from appearing to public users):
    • Authenticated - ensures the widget only displays for logged in users. 
    • B2B - ensures the widget only displays to users on a B2B role
  6. Edit other widget options if required.  
  7. Click 'Save'. 

The 'Add to Order Template' button will now render on the product detail page for the appropriate users. 

Image Removed

Clicking it will launch  

 

When a user clicks the 'Add to Order Template' button, a modal window which allows launches, allowing the user to either create a new template, or append to an existing template.

...