dcsimg
A Flash Developer Resource Site

Results 1 to 14 of 14

Thread: flash shop

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    5

    Lightbulb flash shop

    Hi, I've been doing some searching online, but can't seem to find a good solution for flash shops. A client of mine wants to sell tracks and albums online; does anyone know where I can start with this?

    Thanks in advance.....

  2. #2
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Im not sure what your asking?

    Are you asking about creating, building you own 'flash shop' (does flash shop mean shopping cart or something?)

    Making something that can:

    display tracks, with preview to play..etc..

    is fairly simple..

    charging the customer, and getting them their 'tracks' is something you'd still have to work out..

    I mean you coudl add as many tracks as you want to a 'cart' and then use PayPal to check out...

    however after that?.. then what? how does this user get his tracks? how do they download them? how do you limit repeat downloads (theft/fraud?)

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Posts
    5

    flash shop

    Quote Originally Posted by whispers View Post
    Im not sure what your asking?

    Are you asking about creating, building you own 'flash shop' (does flash shop mean shopping cart or something?)

    Making something that can:

    display tracks, with preview to play..etc..

    is fairly simple..

    charging the customer, and getting them their 'tracks' is something you'd still have to work out..

    I mean you coudl add as many tracks as you want to a 'cart' and then use PayPal to check out...

    however after that?.. then what? how does this user get his tracks? how do they download them? how do you limit repeat downloads (theft/fraud?)
    Thanks for the reply....
    Basically I need to have a ability to sell physical albums, so to have a shop layout, like a normal shop where you can select items, add to basket if necessary and then pay by paypal, but I can't seem to be able to find anything to help me online. Does this all make sense?

  4. #4
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    ahh...ok..

    yes..so then once you get PayPal email saying payment was received..you just ship out physical album?

    yeah in my footer are soem links PayPal 1 & 2 that shoudl help with that check out portion.

    but making the 'store' part..is really however you want it to be laid out.

    check out this example I did MANY years ago.. (its ugly..the purpose wasnt visual, theme, skinning it...it was the code behind it that was being tested)

    this was for shirts.. but could EASILY be used for albums
    http://dmstudios.net/demos/PMS/

    then I created a little ADMIN panel to update/edit the XML file that powers the 'store'.


    its really nothing more than some:

    XML for data source (album info)
    an array of what you want added to the cart
    then loop through this array adding each item to PayPal for checkout.

  5. #5
    Junior Member
    Join Date
    Oct 2008
    Posts
    5

    reply

    Hi,

    Thanks or the reply and all your links and help. I'm not great at above basic coding, I don't suppose you're freelance!? Or know anywhere I can get step by step instructions?

  6. #6
    Junior Member
    Join Date
    May 2007
    Location
    United Kingdom
    Posts
    23
    Hi whispers

    Quote Originally Posted by whispers View Post
    i was looking your link but when you click on the item it's added into the cart with multiple entry ?

    have you got the code which only added into single entry with quantity ?

  7. #7
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Im not sure what your talking about..works fine.

    Do you know how it works even?

    If your going to the link above... you need to click on the BUY button only 1 time.

    if you check out the 'cart' you will it is only added 1 time..

    seems like many people have no clue how it works..since I see errors all over the place..


    again..this wasnt 'polished'... this is an example of the code/engine/platform..etc I didnt finish themeing or skinning this demo.

    just an example of using XML to populate a 'cart'.. and using another interface to edit/update that same XML that the cart uses.

  8. #8
    Junior Member
    Join Date
    May 2007
    Location
    United Kingdom
    Posts
    23
    i'm talking about following link coz i've done the same flash cart
    http://dmstudios.net/demos/PMS/
    -------------------------------------------------
    and i'm not talking about the PAYPAL BUY Button i knw how it's work the only problem is!

    when you click to add to cart "BUY button" two times & check out the "cart" you will see it's onlly added multipule times it's should be added like 2 quantities with 1 following item rather then adding more & more.

    Thxs for ur kindly reply
    Fary

  9. #9
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    ahh.. I see what your saying...

    instead of making a new entry/item in the cart.. add to the quantity..etc..

    Im sure it could be done.. you can:

    1.) edit/add to the qty before you hit BUY
    2.) edit the QTY at the 'cart' before you 'checkout'..

    it was also more work and code because if one thing was different.. (color or size..etc) needs to be new entry instead of just adding to QTY..

    and this was done..'many' (many) years ago...

  10. #10
    Junior Member
    Join Date
    May 2007
    Location
    United Kingdom
    Posts
    23
    have you got some coding example ? for the following link ?
    http://dmstudios.net/demos/PMS/

    i'm gonna send you my code 2mrw

  11. #11
    Moderator whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Im not sure.. I'd have to dig around.. it seriously like 5-6-7 years old!

    and I have no doubt I could do a more cleaner job now-a-days..

    its really nothing more than an object array...

    XML file is loaded..
    objects created/added to stage..

    if you go to admin section.. same XML is loaded in.. but you can edit it per item..then save out the whole XML string again using a php script.

  12. #12
    Junior Member
    Join Date
    May 2007
    Location
    United Kingdom
    Posts
    23
    can you send me the link for admin ?
    if you can still sort this out for me i'm b very gr8 full

  13. #13

  14. #14
    Junior Member
    Join Date
    May 2007
    Location
    United Kingdom
    Posts
    23
    yep ur rite

    my cart coding is like this.
    ------------------------------------------------
    function onEnterFrame() {
    if(itemName_txt.=0) {
    itemName_txt.textID = cartid;
    }else {
    itemName_txt.textID = cartid + 1;
    }
    }
    ------------------------------------------------
    Fary

Tags for this Thread

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center