Documentation You are here: start » v » 0.7.0 » cart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
v:0.7.0:cart [2011/05/13 09:25]
foxybrett
v:0.7.0:cart [2017/04/26 07:02] (current)
Line 24: Line 24:
  
 It's important to note that though this is what the FoxyCart-powered cart will look like by default, you can customize nearly every aspect to fit your specific needs. It's important to note that though this is what the FoxyCart-powered cart will look like by default, you can customize nearly every aspect to fit your specific needs.
- 
  
  
Line 57: Line 56:
  
  
-===== Bypassing Your Cart =====+ 
 +===== Interacting With the Cart ===== 
 +==== Adding Products to the Cart ==== 
 +Adding products to your cart is discussed in the [[.:​products|products]] documentation. 
 + 
 +==== Viewing the Cart ==== 
 +If you'd just like to load the cart without adding a product to it (ie. a "View Cart" button), you'd link to the cart like you were adding a product, but just include the ''​cart=view''​ option instead of any product options. This is discussed below in [[#​non-product_cart_parameters|non-product cart parameters]]. 
 + 
 +==== The Persistent "​Mini-Cart"​ ==== 
 +Though you can get more advanced with [[.:​advanced:​json|the JSON cart interaction]],​ FoxyCart'​s default javascript provides easy helper functions to [[.:​advanced:​javascript#​mini-cart_display_and_html_helper_functionality|create a persistent "​mini-cart"​]]. 
 + 
 +==== Bypassing Your Cart ====
 There are a handful of reasons that you might want bypass the cart entirely and proceed either directly to your checkout, or somewhere else. For example, if you're selling just a single product, or a single conference registration,​ you might want to both empty the cart on a new product being added to the cart and then proceed directly to checkout. Or you may want to add the product to the cart but then redirect to an upsell page. A variety of options are available in this regard. Check the [[#​non-product_cart_parameters|cart parameters]] section below for details. There are a handful of reasons that you might want bypass the cart entirely and proceed either directly to your checkout, or somewhere else. For example, if you're selling just a single product, or a single conference registration,​ you might want to both empty the cart on a new product being added to the cart and then proceed directly to checkout. Or you may want to add the product to the cart but then redirect to an upsell page. A variety of options are available in this regard. Check the [[#​non-product_cart_parameters|cart parameters]] section below for details.
  
  
-===== Advanced (JSONP) Cart Implementations ​=====+==== Advanced (JSONP) Cart Implementations ====
 If you've yawned at all of the above details about customization,​ if you need a highly specific cart display, or if you need to interact with the cart programmatically like via server-side programming or Flash, then the cart's JSON and JSONP functionality will be of interest. [[.:​advanced:​json|More details are here.]] If you've yawned at all of the above details about customization,​ if you need a highly specific cart display, or if you need to interact with the cart programmatically like via server-side programming or Flash, then the cart's JSON and JSONP functionality will be of interest. [[.:​advanced:​json|More details are here.]]
  
Line 68: Line 78:
  
 {{section>​.:​cheat_sheet#​transaction_non-product_specific_options&​noheader&​noeditbutton&​permalink&​footer&​nodate}} {{section>​.:​cheat_sheet#​transaction_non-product_specific_options&​noheader&​noeditbutton&​permalink&​footer&​nodate}}
- 
  
  
  

Site Tools