[ic] problem with multiple page return quanity add
Ed LaFrance (New Media E.M.S.)
ic_users at newmediaems.com
Mon Jul 5 11:16:29 EDT 2004
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
===============================================================
More information about the interchange-users
mailing list