At 05:03 PM 7/6/2004, you wrote:
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.
That was a typo on my part. And the fix posted by Mike Heins is a more elegant way to fix this issue - you might consider giving that a try.
- Ed
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 BentonI 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 suppressed (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax =============================================================== _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
=============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 suppressed (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax===============================================================
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.