[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] bounce to last search results
IC 4.6.5-1 rpm - Construct - Default DB - Redhat 7.0 - Perl 5.6 - Apache
1.3.12 - mod_ssl 2.6.6
Hi list,
When a customer buys an item from the results page after using the form
based search, I would like to return to the results page of the last search
specs. When a customer uses the form based search and buys a product, it
currently returns to either the last one-click search or the index page (if
no previous one-click search exists). This does work nicely for one-click
searches, such as category searches found on the left side, returning the
buyer to the last results page after purchasing an item.
My search form:
<FORM ACTION="[area search]">
<INPUT TYPE=hidden NAME=mv_searchtype VALUE=db>
<INPUT TYPE=hidden NAME=mv_matchlimit VALUE=25>
<INPUT TYPE=hidden NAME=mv_sort_field VALUE=category>
<INPUT TYPE=hidden NAME=mv_sort_field VALUE=description>
<INPUT TYPE=hidden NAME=mv_search_field VALUE="description">
<INPUT TYPE=hidden NAME=mv_search_field VALUE="title">
<INPUT TYPE=hidden NAME=mv_search_field VALUE="comment">
<INPUT TYPE=hidden NAME=mv_search_field VALUE="sku">
<INPUT TYPE=hidden NAME=mv_column_op VALUE=rm>
<INPUT TYPE=hidden NAME=mv_substring_match VALUE=1>
<INPUT MAXLENGTH=30 NAME=mv_searchspec type=text size=10>
And this is set on the results page:
[set munge_quantity]
[calc]
[snip some code]
[/calc]
[bounce href="[history-scan find='scan/' default=index]"]
[/set]
[on-match]
<FORM ACTION="[area nothing]" METHOD=POST>
<INPUT TYPE=hidden NAME="mv_action" VALUE="refresh">
<INPUT TYPE=hidden NAME="mv_separate_items" VALUE="0">
<INPUT TYPE=hidden NAME="mv_click" VALUE="munge_quantity">
[/on-match]
Where should I begin looking to correct this situation? I have tried:
[bounce href="[history-scan find='search/' default=index]"] #all searches go
to index
and I have tried using mv_todo actions, etc., but I am just guessing at this
point. I hope someone can point me in the right direction!
Thanks again, everyone!
Curt Hauge
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users