Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

RE: [ic] Continue Shopping button redirection



This works for us. I think this is exactly
what the history tag was designed for.

    [button
	text="Continue shopping"
     	src="navigation/continue_shopping.gif"
		hidetext=1
		form=basket
	]
     [bounce href='[history-scan exclude="^/ord|^/multi/|^/process"
default=index]']
     mv_nextpage=nothing
    [/button]

> I would like to change the behavior of the Continue Shopping button on
> the foundation cart component.  Basically, I want the button to return
> the user to whichever catalog screen they were on last, rather than just
> redirecting them to the index page.  To accomplish this, I've started by
> storing a session variable cur_search_string which contains, oddly
> enough, the search string that resulted in the current results page
> (which is what my catagory pages are).  This seems to be storing just
> fine, but I'm having problems redirecting the [bounce] tag in the
> continue_shopping button.
>
> Basically, I have changed [bounce page=index] to [bounce href="[area
> interpolate=1 search="[data session cur_search_string]"]"], but bounce
> (or area) seems to be choking when area itself has an embedded tag.  It
> works fine if area is a flat tag, but as soon as I embed another tag, I
>  get redirected to an error page saying it can't find the page "[area.
>
> Anyone have any ideas?
>
> Anthony W. Juckel
> Interchange 4.8.2, Redhat 7.0, perl 5.6
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: