[ic] problem with multiple page return quanity add
Sean Benton
manager at bgsn.net
Tue Jul 6 20:03:32 EDT 2004
Thanks Ed ,
for the quick responce , and providing me with a fix , note that the
changes worked but at first IE had a problem poping up with " undefined
item_rowcount debug now ? " with the code below unless all occurances of
[item_rowcount] are specified as [scratch item_rowcount]
but after changing this its works perfectly not sure if that is right I
just took a guess...
thanks again
Regards
Sean Benton.
Ed LaFrance (New Media E.M.S.) wrote:
> At 12:42 AM 7/5/2004, you wrote:
>
>> Using the foundatiuon demo from 5.2
>>
>> Problem Description
>> ---------------------
>> When using search for keyword resulting in multiple page list return
>> or menu item that has multipage list,
>> quanity box seems to be ignored on following second or more pages,
>> adding item only ..
>> Adds one to cart instead of the number put in the quanity box .
>> This only seems to happen on next page not first page but any
>> following pages .
>> Has any one else had this problem or can confirm that its not just my
>> store doing this ?
>>
>>
>> Thanks
>> Regards
>> Sean Benton
>
>
> I could have sworn that this bug was fixed some time ago, but it seems
> that it has found it's way back into the code base. Here's one way to
> fix it:
>
> *** results_buylist.bak 2004-07-05 07:52:45.000000000 -0700
> --- results_buylist 2004-07-05 08:18:25.000000000 -0700
> ***************
> *** 106,119 ****
> EOF
> }
> [/item-calc]
> </td>
> <td align="center">[item-price]</td>
> ! <td align="center"><input type=hidden
> name="mv_oi[item-increment]" value=""><input type=text
> name=mv_order_quantity size=2 value=""></td>
> <td align="center">
> [if session browser =~ /mac/]
> ! <input type=submit value="[L]Buy now[/L]"
> onClick="this.form.mv_oi[item-increment].value='[item-code]'" border=0>
> [else]
> ! <input type=image
> src="__THEME_IMG_DIR__buynow.gif"
> onClick="this.form.mv_oi[item-increment].value='[item-code]'" border=0>
> [/else]
> [/if]
> </td>
> --- 106,122 ----
> EOF
> }
> [/item-calc]
> +
> + [calc] $Tag->tmp('item_rowcount', ++$i); return; [/calc]
> +
> </td>
> <td align="center">[item-price]</td>
> ! <td align="center"><input type=hidden name="mv_oi[scratch
> item_rowcount]" value=""><input type=text name=mv_order_quantity
> size=2 value=""></td>
> <td align="center">
> [if session browser =~ /mac/]
> ! <input type=submit value="[L]Buy now[/L]"
> onClick="this.form.mv_oi[item_rowcount].value='[item-code]'" border=0>
> [else]
> ! <input type=image
> src="__THEME_IMG_DIR__buynow.gif"
> onClick="this.form.mv_oi[item_rowcount].value='[item-code]'" border=0>
> [/else]
> [/if]
> </td>
>
>
> ===============================================================
> New Media E.M.S. Technology Solutions for Business
> 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting
> Fair Oaks, CA 95628 Ed.LaFrance at newmediaems.com
> (916) 961-0446 http://www.newmediaems.com
> (866) 519-4680 Toll-Free (916) 961-0447 Fax
> ===============================================================
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
More information about the interchange-users
mailing list