View Single Post
  #7  
Old 04-30-2008, 12:57 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Continue Shopping button that returns customer to catagory

To be honest, I think the guy in the other post was speaking of what I referred to as 'if browser does not have the URL history' and then the snippet I posted will not work, and that was what I think Yurij was referring to in response here.

Nothing wrong with either, but it does depend on where the location of the go back or continue button is being used.

For my case, the history go back works quite well due to my wishing to send the user back to the location they were adding items. Now you can send them to the category (like I do) or the exact product.

IF, they have opened in a new window, it will not work, but what will happen is they will either reload what they already have, or can be sent back to home page (store front end).

My reply was not to down what you posted at all, quite honestly there is always more way to skin a cat than one, lol.

My posting was to simply show an easier way of placing a person back where they were with a little easier code snippet.

I seen you mentioned you had not seen anything stating how to achieve what you wanted, and I remembered I seen a posting a long time ago referring to something like I posted, but keep in mind this forum is relatively new (when looking at the big picture of xcart history), and the forum was changed to this format, and a lot of mods and postings were dropped in the transfer to this one.

So, I could not remember if the one I posted was dropped (from being on old forum) or if it was buried in the new one somewhere.


Anyhow, your posting was a good one, it was a bit more intense, and will not work in a lot of settings, but the simple one will in most cases, but not ALL.

Both of them have short comings I guess, but it was just food for thought, not wanting to take away from your posting at all.

You were trying to share, and I was just wanting to give you an alternative that may work in a broader scope if you will.
__________________
vs 4.1.12
Reply With Quote