forked from aurorasoft/radiant-simple-product-manager
-
Notifications
You must be signed in to change notification settings - Fork 10
Checkout
dirkkelly edited this page Sep 27, 2010
·
4 revisions
# When a cart is successfully processed the user is taken here
Radiant::Config['shop.cart_thanks_path'] = 'cart/thanks'
-
/cart
list all the products in the cart -
/cart/addresses
get the users shipping and billing -
/cart/payment
take payments (using an activemerchant gateway) -
/cart/thanks
successful payment result page (will need to matchRadiant::Config['shop.cart_thanks_path']
)
- Create a new Page
- Set the Page Type to Form (this removes the caching)
- Set the Status to Published
You will want the following information
<r:shop:cart:items:each:item>
<r:name />
<r:quantity />
<r:price />
<r:remove />
</r:shop:cart:items:each:item>
<r:shop:cart:price />
This page is a container for the ShopAddresses form, you will use it to collect the billing (and optionally shipping) address of the customer)
- Create a new Page
- Set the Page Type to Form (this removes the caching)
- Set the Status to Published
-
AddItemToCart
Adds a product to the shopping cart -
UpdateCartItem
Updates a product within the shopping cart -
CheckoutAddresses
Gets the users billing and shipping addresses -
CheckoutGateWayName
Collects payment of the shopping cart