Need help figuring out how I should start structuring my shopping cart

Discussion in 'PHP' started by TheMightyOptiq, Nov 10, 2012.

  1. #1
    I haven't started coding anything for my cart yet, but that's because I'm stuck on what method I should use.... let me explain a little farther...

    I design custom tee shirts and offer my customers a variety of options they can customize into their own description so there's no set structure to it, just specific elements. For example, they can select what colors they want me to use and being able to choose as many as they want, they can select the type of lettering they want used for the wording, I'm coding little sliders that work the same as a volume fader that they can define as a characteristic then set on a scale of 1-100 how much of an emphasis they want that characteristic to have on the overall design and a few other options. Due to this every order placed through my site will be different based on which options they utilize.

    I've watched and read a few tutorials on static arrays and that seems to be the direction I need to go in, but the videos I seen were more or less utilizing them in terms of being made of multiple products, I need to figure out how to do them with multiple products that have multiple options attached to them. So it's not just "1 shirt, 1 hat, 1 pair pants, 3 pair of socks, etc." It needs to be "1 shirt(style of lettering, color 01, color 02, color 03, color 04, type of background, type of shirt, etc.), 1 hoodie(style of lettering, color 01, color 02, color 03, color 04, type of background, type of shirt, etc), etc." Along with the different options I have my illustration work broken down into different degrees based on the amount of elements present on an object and the amount of details with the shading and coloring. Each of those will have a different price set to them too so the total of each shirt is subject to be different per order too.

    I really don't know enough about PHP to know EXACTLY what I should be asking for, but hopefully this explanation can give you guys some idea for exactly what I need so you can post some tutorials that apply directly to it... or tell me the exact phrases and terms I can google and youtube... or if you have any samples of something you've created similar to this that encompasses the same kind of need, I'd appreciate someone shedding light on this. Thanks in advance. :)
     
    TheMightyOptiq, Nov 10, 2012 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    LOL shopping chars are for the PROFESSIONALS and i'm NOT kidding, if you don't know PHP that good please leave it up to the professionals or choose a framework/product that does this already for you.

    I'm a pro and even i have worked on a shopping chart with extra options for products for weeks. Every shopping chart is differend! :)
     
    EricBruggema, Nov 11, 2012 IP
  3. TheMightyOptiq

    TheMightyOptiq Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    oh I understand... and I respect that answer... if I had a couple grand I'd have someone do my ENTIRE SITE!!!.. lol.... the HTML and CSS is easy but can get tedious.... which is another way I was going to use the PHP to cut back on having to code so much... I've been messing with PHP for about 4 months back and forth... the section I'm going to be coding for regular retail items is gonna be much simpler because it will just be an item, size and quantity, which is one of the things I've done a couple ways to learn PHP to begin with... it's just getting in there with all the options I need to represent and figuring out how to weave them all together... some people say I should get a "college kid" to do it for me... but a lot of them haven't been out of the box enough yet to know how to cater to individual needs... even a lot of pros are quick to want to suggest I do something different, but that's because they wanna make big bucks off of using some pre coded cart while pretending to code it from scratch... like I don't know there's templates out there... lol.... n that would be fine if they had one that really suits what I need it to do, but don't PRETEND like you're doing alllll this work, then OVER CHARGING for what you're really doing.... which may well be UNDERCHARGING to a detrimental degree in terms of REALLY doing it all from scratch out of your brain based on the needs of the customer... which destroys the industry's value all together because everyone wants to treat the experts like whiny indecisive babies when they try to sit down n do things right all because of what they're use to seeing everyone else jump and do...... which drove me even more to just do it myself.... but this is INSANE!!!... lol
     
    TheMightyOptiq, Nov 12, 2012 IP