Walmart like "Add to cart" script

Discussion in 'JavaScript' started by greatlogix, Nov 15, 2010.

  1. #1
    Hi friends,

    I am looking for "Add to cart" functionality just like walmart have. You click "add to cart", page scrolls up and just below the "Cart" button you get ajax based popup which shows you your cart contents. Popup is above the all content. Can you please help me by sharing code snippet or any use tutorial link to achieve this?
     

    Attached Files:

    greatlogix, Nov 15, 2010 IP
  2. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #2
    So you are actually asking for a full custom shopping cart system for free ? Or did I get it wrong ?
     
    tvoodoo, Nov 29, 2010 IP
  3. greatlogix

    greatlogix Active Member

    Messages:
    664
    Likes Received:
    13
    Best Answers:
    1
    Trophy Points:
    85
    #3
    No. I just need ajax functionality. When you add product to cart, you get popup with all cart contents. I don't know how to do this :(
     
    greatlogix, Nov 29, 2010 IP
  4. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Something like : guineea-heaven.com/cart/ ?
     
    tvoodoo, Nov 30, 2010 IP
  5. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #5
    this is no trivial matter. having a decent shopping basket can up your basket values and drop exits etc. we used to use a system similar to wallmart 'cept for it showed all items in a 'flyout' basket but recently dropped it in favour of a different system which incorporates elements of the full basket + upselling etc.

    check it here http://www.webtogs.co.uk/The_North_Face_Womens_NSE_Tent_Mule_Fur_101577.html -> select a size and add to basket

    it may give you inspiration but essentially, cross selling and reduced dropped baskets / exits via removing the need to go to the full basket page has resulted in additional revenue worth around 100k an year (early estimates, it's been running for a month now).

    as for the implementation, basically it's a mootools class i wrote that deals with the basket (add, remove, qtty etc) and an ajax script that populates the popup data. have fun :)
     
    dimitar christoff, Dec 1, 2010 IP
  6. novastar

    novastar Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Christoff how did you get the cart to display like Walmart's site before you switched to your new system? Did you write that functionality by your self or did you find it on the web?
     
    novastar, Mar 19, 2011 IP
  7. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #7
    i wrote it myself. just like anything else we do, its completely written from scratch to suit our needs in a style we like :)
     
    dimitar christoff, Mar 20, 2011 IP
  8. novastar

    novastar Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Oh that's good. Well for a less capable person what would you recommend. Resources, solutions, hints? And what shopping cart platform are you using if you don't mind my asking?
     
    novastar, Mar 22, 2011 IP
  9. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #9
    no platform. all written by hand from scratch by me.
     
    dimitar christoff, Mar 22, 2011 IP
  10. novastar

    novastar Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Hey Christoff, not to beleaguer you but I really like your web store. I'm currently looking for a solution to getting faceted search on my website but I don't know where to look. Do you have any pointers? I like your navigation system.

    p.s.- Is that all Javascript?
     
    novastar, Apr 4, 2011 IP
  11. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #11
    yeah, it's all js/css for the menus, left side nav is rendered by PHP with progressive enhancement from javascript.

    as for faceted search, i think i can recommend you SLI systems - their "telescopic" search is ok, it allegedly learns from converting searches and delivers a better local ROI. http://www.sli-systems.com/ - although we don't use them, i wrote an ajax search that does us fine...
     
    dimitar christoff, Apr 4, 2011 IP