"Gary" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi All,
> It is Friday afternoon here and I don't want to have to reinvent the
> wheel. What would be the easiest way to delete an item from a shopping
> cart? I know what is required for Mysql but I am s
Thanks Chris,
It is a little late in the design to use your class, but it has given
me an idea on how to delete from my code.
Thanks
Gary
Chris Lee wrote:
> here is a very simple cart in sessions. you have stockno and quan, it can be
> easily modified to handle various other variables.
>
>
here is a very simple cart in sessions. you have stockno and quan, it can be
easily modified to handle various other variables.
cart_product_id[$product_id] = $product_id;
$this->cart_product_quan[$product_id] = $product_quan;
}
function add_single($var_name)
{
if ( !isset($GLOBALS[
Chris Lee wrote:
> are you using a spec cart system? or did you write your own? its hard to
> give an accurate answer without knowing. Ive wrote my own simple cart, using
> sessions, to delete an item I just unset the variable.
>
> unset($stockno['1234']);
>
> where $stockno is an session array
are you using a spec cart system? or did you write your own? its hard to
give an accurate answer without knowing. Ive wrote my own simple cart, using
sessions, to delete an item I just unset the variable.
unset($stockno['1234']);
where $stockno is an session array variable. its very spec on what
5 matches
Mail list logo