Versions Compared

Key

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

...

  1. A product in the cart is out of stock. A 'Show Alternates' prompt appears under the product detail.
    Image RemovedImage Added
  2. On clicking 'Show Alternates', a modal window opens.
  3. Alternate products are presented in grid format.
    Image RemovedImage Added
  4. User selects an alternative option via the 'Substitute' button.
  5. The out of stock product is removed and the alternate is added to cart in its place. 
    Image RemovedImage Added
Info

This functionality is available in CSS versions 3.79 and later.

...

  1. Login to the CMS.
  2. Navigate to Layouts --> Templates
  3. Click the 'Cart' template.
  4. Scroll to 'Zone Main' and click 'Add Widget'
  5. Select 'Alternates Popup' and click 'Add'.
    Image RemovedImage Added
  6. Click 'Edit' and configure options:
    Image RemovedImage Added
  7. Description - A description for the Administrator's reference. Appears on this widget layout page only.
  8. Layer - Select a layer to display this conditionally (e.g. for B2C roles only), or leave as 'All Pages' by default.
    Image RemovedImage Added
  9. Always Display 'Show Alternates' Button? - Tick this if you'd like the prompt to show for ALL products in the cart which have alternates set up against them, whether in stock or not. Otherwise, the prompt will only show for Out Of Stock products. 
  10. Popup Window Header Text - The title which displays on the modal window for alternate products.
    Image RemovedImage Added
  11. Click 'Save'
  12. Navigate to Layouts --> Templates.
  13. Click the 'Order Lines Info' template.
  14. Click 'Add Widget'.
  15. Select the 'Alternates Order Line' widget and click 'Add'.
    Image RemovedImage Added
  16. Click 'Edit' and configure options:
  17. Description - A description for the Administrator's reference. Appears on this widget layout page only.
  18. Layer - Set this to match the Layer setting for the 'Alternates Popup' widget configured previously.
  19. Show Alternates Button Text - The text which appears on the button prompt in the cart.
    Image RemovedImage Added
  20. Click 'Save'.

The 'Show Alternates' button will now appear in the cart based on the options set above. The button sits just under the product information and is styled in line with the site theme. 
 

...