Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    30
    Plugin Contributions
    0

    Default How do I add items to the basket via AJAX (no page reload)

    Hey all, kind of says it all in the title. :)

    I want users to view list of products
    When they click on buy button it adds the item to the cart
    But it does NOT reload the page, it just adds it and alerts them that it was done. :)

    Any help would be magical :)

  2. #2
    Join Date
    Dec 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: How do I add items to the basket via AJAX (no page reload)

    Anyone at all? :)

  3. #3
    Join Date
    Nov 2007
    Posts
    195
    Plugin Contributions
    2

    Default Re: How do I add items to the basket via AJAX (no page reload)

    Quote Originally Posted by dgeere View Post
    Anyone at all? :)
    You can probably do even better with this: demos.mootools.net/Drag.Cart

    I am thinking of coding an AJAX cart, but not sure that I will make it a downloadable mod, al least not in the foreseeable future. Looks like you are going to have to get your hands (very) dirty.

  4. #4
    Join Date
    Dec 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: How do I add items to the basket via AJAX (no page reload)

    Thanks, have seen that, but I specifically want to keep the functionality as "click" "adds to cart". :)

    The drag cart is nice, but not suitable for my new store.

    Any help on submitting the "buy" click via ajax instead of by reloading the page would be helpful :)

    Thanks for taking the time to reply though :)

  5. #5
    Join Date
    Nov 2007
    Posts
    195
    Plugin Contributions
    2

    Default Re: How do I add items to the basket via AJAX (no page reload)

    Mootools has an ajax library, so you could probably use that. I cant promise it will be pretty though. (Actually I can promise it will be a royal pain in the ######)

  6. #6
    Join Date
    Dec 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: How do I add items to the basket via AJAX (no page reload)

    Yeah, I have found a few sets of ajax library code, but not being a code makes it remarkably difficult for me to implement :) eheh

    Perhaps someone can point me in the direction of someone that I can pay to help code this in? As I see it, its a forum submit that goes via ajax and that's it :)

 

 

Similar Threads

  1. How to add a new field to the customer basket
    By tifischer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Jul 2013, 03:53 PM
  2. Can I include external data via ajax in my shopping cart page?
    By tiffbrink in forum General Questions
    Replies: 1
    Last Post: 26 Feb 2013, 08:32 PM
  3. Featured Items to show randomly on page reload.
    By thebigkick in forum Customization from the Admin
    Replies: 0
    Last Post: 5 Jun 2012, 04:28 PM
  4. Replies: 1
    Last Post: 8 Mar 2011, 01:36 AM
  5. I have two items that I cannot add to basket
    By confused_aswell in forum General Questions
    Replies: 3
    Last Post: 26 Nov 2008, 09:35 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