[ic] Interchange basket problem

Joachim Leidinger interchange-users@lists.akopia.com
Wed Aug 1 07:49:00 2001


Mangeng Michael wrote:
> 
> Hi
> 
> I' ve encoutered a little problem with the shopping basket while
> constructing the site template. When i order a product two or more times
> (quantity not relevant), for each order-click a new entry in the shopping
> basket gets created. I want to update the amount of the ordered product and
> not to add a new item when i order the same product a second time.
> 
> I'm using the following entry on flypage.html to order a product:
> 
> ######## flypage.html ########
> <FORM ACTION="[process-target]" method=post target=box>
> <INPUT TYPE=hidden  NAME="mv_todo" VALUE="refresh">
> <INPUT TYPE=hidden  NAME=mv_order_item  VALUE="[item-code]">
> Amount: <INPUT NAME=mv_order_quantity SIZE=3 VALUE="">
> <INPUT TYPE=submit VALUE="Add to shopping basket">
> </FORM>
> ###########################
> 
> To list the products in basket.html i'm using currently the following data:
> 
> ####### ord/basket.html ######
> [item-list]
> <tr height=1%>
> <td align=left><font size=-1>[item-field description]</font></td><td
> align=right><font size=-1>[item-quantity]</font></td>
> </tr>
> [/item-list]
> ############################
> 
> My question is what i have to change when i want to update the amount with
> the click on the "order" button.
> 
> thanx
> mike


In catalog.cfg, you need

SeparateItems    No

ciao

Jochim

-- 
------------------------------------------------------------------
 Hans-Joachim Leidinger | Entwicklung eCommerce | Dipl.-Phys.Ing.
             Black Point Arts Internet Solutions GmbH
  [Hans-Joachim.leidinger@bpanet.de]  w w w . b p a n e t . d e