[ic] 'buy now' not working properly

Curt Hauge interchange-users@icdevgroup.org
Wed Aug 21 19:49:05 2002


Rick Boykin wrote:
>
> You can try this on the interchange Demo Space 3 or Demo
> Space 1 on the
> interchange web site. It is also broken in my cart, and
> probably many other
> folks carts.
>
> 1) Load the home page. (http://demo.ic.redhat.com/cgi-bin/ic3)
> 2) Select a category, such as brushes.
>  Note: selecting 'buy now', right now, from an item in the
> category list
> (results page) works fine. You end up back at that
> particular category
> (results page) with a small cart at the top of the list.
> This is perfect.
> Don't do this. Keep going....
> 3) navigate to an item. click one, say 'Hand Brush'.
> 4) hit the browser's back button.
> 5) try using the buy now of the item you just came back
> from (ie Hand
> Brush). That item is in the category listing in the results page.
>
> You end up back to that item's flypage. The item (count of
> them) is added to
> the cart. But, at this point, you do not see the cart. You
> can see it later
> if you navigate around. This seems a bit off and certainly
> confusing for
> customers. I would imagine that the proper functionality is
> to take you to
> the same place as described in the note above. It seems as
> though a variable
> is getting set when navigating to the detailed item page
> (flypage) and not
> getting reset when going back to the results page.
>
> Anybody know what's going on here? Anybody care to help? I just keep
> breaking things trying to fix it.

This drove me crazy awhile back. Mike Heins or someone got me going in
the right direction, thank you again!. Look at results.html, line 87
or so.

I replaced this:

[bounce href="[history-scan exclude=nothing]"]

with this:

[bounce href="[history-scan find='scan/' default=index]"]

and it works like *I* want it to, YMMV.

Good luck!

Curt Hauge

//////////////////////////////////////////////////////////////////
// Web Design - Interchange Hosting - Small Business Consulting //
// 1525 Meadowwood Drive                    www.mnwebdesign.com //
// Brooklyn Park, MN 55444             www.iwantaconsultant.com //
// Phone 612-598-5530                      info@mnwebdesign.com //
//////////////////////////////////////////////////////////////////