php shopping cart
free shopping cart   shopping cart software

Free Shopping Cart PHP Software


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

Figures out the total price of all products in the current user's basket.


float = afc_get_basket_product_total (id)

This function calculates the total price for all products in the current user's shopping basket. This function will multiply their current quantity by the price of each product and add them together to calculate the subtotal for their order.


id (integer) - 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 subtotal for the current user's shopping cart basket.

Open Source: Yes

Paul's Examples

There are currently no examples for this function.

Back to Functions List


There are currently no posts for this topic.

AFCommerce Documentation

High End Website DevelopmentCompletely Free
Dating Service
Copyright 2004 - 2006
AFCommerce Website
And Cart Builder