Ajax based shopping cart front end for aMember

Discussion in 'Customization & add-ons' started by skippybosco, Apr 14, 2009.

  1. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    I'm working on a project for a client which front ends aMember with an Ajax shopping cart. Unlike other projects where I implemented Magento, this one is going the way of using JCart for picking

    I take the JCart array result and loop through to select products on aMember signup page while hiding the "Membership Type" element.

    Code:
    Array
    (
        [jcart_item_qty] => Array
            (
                [0] => 1
            )
    
        [jcart_item_info] => Array
            (
                [0] => Soccer Ball
            )
    
        [jcart_item_id] => Array
            (
                [0] => 1
            )
    
        [jcart_item_price] => Array
            (
                [0] => 25
            )
    
        [jcart_checkout] => checkout
    )
    Wanted to throw the idea out there to folks looking for a way to accomplish a cart type solution without the overhead of a full cart script.
  2. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    This is awesome!
    However I need more detail how to implement this. Can you help me with that skippybosco?

    Thanks,
    Erwin
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    I guess it depends on what you are looking to do specifically.. another option is to front end with an existing full cart such as Magento.
  4. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    No thanks, Magento is way to big for what I want. Of course Magento is magnificent product, but I don't have "store" just a couple of side products that I want to sell next to a membership.
    So something small will do fine: add book to cart, add CD to cart, add membership to cart and then checkout and payment settlement via aMember.
    Isn't that what you meant?
  5. Miko

    Miko New Member

    Joined:
    Aug 22, 2006
    Messages:
    3
    Hi Skippybosco,
    I was wondering if you ever managed to get this working and if you are willing to share your code and experience.

    Would love to use it on a new project, was hoping to have amember4 in my hand by now but I cannot longer wait for it.

    Thank you,
    Miko



  6. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    I did implement something similar to this for a client, but ended up building out a Magento integration plugin to front end aMember which ended up being a more elegant solution in the long run.
  7. Miko

    Miko New Member

    Joined:
    Aug 22, 2006
    Messages:
    3
    thanks, really was hoping for something like this.... magento is great but way to overkill for my needs.
    I just wish i had a simple ajax cart that integrated with amember....

Share This Page