Back to PhocacartCart class

Method getCartTotalItems

public
getCartTotalItems
()

Method getCartTotalItems - Source code

public function getCartTotalItems()
{
    // SUBTOTAL
    if (empty($this->total)) {
        $this->total = $this->getTotal();
    }
    // COUPONTITLE
    if (empty($this->coupontitle)) {
        $this->coupon['title'] = $this->getCouponTitle();
    }
    return $this->total;
}