- Customer First Name
- Customer Last Name
- Coupon Code
The following example would be implemented near the bottom of your page, just after the closing </body> tag.
The above example allows you to pass, via the URL, information that will be added to the cart session. If you specify the product in the URL, be sure to use the product path / product ID (see the example here) rather than the product's Display name.
In this example, the store page on your website would have a URL ending in cart.html. The name of the page can be whatever you need. The above will add product ID 8675309 to the cart, apply coupon FALLSALE, and apply the customer's first name, last name and email address to the order.
If you only want to pass the product:
If you pass in the customer name or email address, then currently, the first name, last name and email address must all be passed in order for any of them to work. For example: