Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2009
    Posts
    19
    Plugin Contributions
    0

    Default Changing the Continue Shopping Button use.

    Hi, when a user adds something to the cart, the continue shopping button appears, how would I set that so that when they click it, it closes the cart window.

    Cheers!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Changing the Continue Shopping Button use.

    I think I must be misunderstanding you ... are you saying that when somebody puts something in their cart on your site but clicks continue shopping instead of checkout, you want to kick them off your site?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Feb 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Changing the Continue Shopping Button use.

    No to add stuff to the cart they are using a different site, the cart opens in a new window. When they press continue shopping I want the cart to close, and so they are back to the normal site.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Changing the Continue Shopping Button use.

    So are you saying that you want the shopping cart to be in a popup window?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Feb 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Changing the Continue Shopping Button use.

    Yes, and I want that popup to close when they press continue shopping.

    Thanks.

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Changing the Continue Shopping Button use.

    I guess you could attach a bit of javascript to the button to close the pop up page. I think that getting your shopping cart into the popup would be a bigger challenge. You'd be better off, putting it into a modal window and removing the continue shopping button in favor of the normal modal window close.

    Either way you'd likely have some programming to do to get the shopping cart into an appropriate state to go into a pop up or a modal window, and with the popup you may have some session issues too if a user logged into the original window tried to checkout in the new one.

    This can be done but would require a reasonably good knowledge of php, Zen Cart and javascript frameworks (I recommend jQuery).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Feb 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Changing the Continue Shopping Button use.

    Thanks, forgetting the popup window, how would I edit the button so it would just close the window?

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Changing the Continue Shopping Button use.

    You would change the button link's href attribute to
    href="javascript:window.close()"
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #9
    Join Date
    Feb 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Changing the Continue Shopping Button use.

    Cheers, I'm having trouble finding which line in which file to edit.

    I've searched for "buttonRow back" in the dev kit but I can't see which bit I'm supposed to edit.

  10. #10
    Join Date
    Feb 2009
    Posts
    19
    Plugin Contributions
    0

    Default Re: Changing the Continue Shopping Button use.

    Any ideas anyone?

 

 

Similar Threads

  1. Changing the code of the Continue Shopping button?
    By bungenstein in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Feb 2009, 02:42 PM
  2. Replies: 1
    Last Post: 10 Sep 2008, 12:50 PM
  3. Editing the 'Continue Shopping' button
    By roscoeh in forum General Questions
    Replies: 20
    Last Post: 9 Jun 2008, 02:53 AM
  4. Editing the 'Continue Shopping' button
    By roscoeh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Oct 2007, 08:43 PM
  5. Changing "Continue Shopping" link/button
    By aszeman in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Jul 2007, 03:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg