php shopping cart
free shopping cart   shopping cart software

Free Shopping Cart PHP Software

afc_get_basket_number_of_items

Back to Functions List
This Function Has Been Available Since:
(AFCommerce v 2.1,     Functions v 1.1)

Determines how many items are in the current user's shopping basket.

Description

integer = afc_get_basket_number_of_items (id)

This function counts how many items are in the current user's shopping basket. This function counts the actual quantity of items, not just the number of different products, so if they have 2 different products, but 3 of each, this function would return the number 6.


Parameters

id (intger) - Anytime you see this variable being passed to a function, all you need to do is simply use the variable $id, which is automatically set for you when dbinfo.php is called.

Return Values

Returns the number of items in the current user's basket.

Open Source: Yes

Paul's Examples


There are currently no examples for this function.



Back to Functions List




afc_get_basket_number_of_items

There are currently no posts for this topic.











AFCommerce Documentation


High End Website DevelopmentCompletely Free
Dating Service
Copyright 2004 - 2006
www.afcommerce.com
AFCommerce Website
And Cart Builder