Versions Compared

Key

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

The Add To Cart functionality allows products to be added to the current order by accessing a web page.

Step-by-step guide

Setup:

  1. Setup the following default templates (via zAllocate.aspx):
    1. Add To Cart Success Template (can use tokens for Product in the template)
    2. Add To Cart Fail Template
  2. It is not essential to setup the templates. If they don't exist a default value is displayed:
    1. For success: "Successfully added [Product.ProductCode] to cart."
    2. For fail: "Failed to add [Product.ProductCode] to cart."

...

Info

In order for the product to be added to the current order:

  • A user must be logged in.
  • The logged in user must have access to AddToCart.aspx page.
  • All the parameters must be specified and must be valid:
    • ProductCode must be an existing product.
    • Qty must be a positive integer greater than zero.

 

Content by Label
showLabelsfalse
max5
spacesKB
sortmodified
showSpacefalse
reversetrue
typepage
labelskb-how-to-article