コード例 #1
0
 /**
  * This returns a link that displays just the cart, for use in ajax calls.
  * @see ShoppingCart::showcart
  * It uses AjaxSimpleCart.ss to render the cart.
  * @return string
  **/
 function SimpleCartLinkAjax()
 {
     return ShoppingCart_Controller::get_url_segment() . "/showcart/?ajax=1";
 }