February 1, 201016 yr Hey guys I'm in the process of setting up my first e-commerce site, I don't really have a clue about this side and this is my first big website that i have created, I've googled and checked on this website but it doesn't make sense to me at all, so it's a big learning curve for me. The product that will be sold are customisable canvas art so there are many options to choose from, the options will be separated into different pages and using radio buttons to select the chosen option, i.e 1st Page - frame sizes, 2nd Page - image styles etc till you get to the final upload image page and then checkout. I also have a checkout icon/menu in the top righthand of my website to show the visitors what they have in the cart and how much they have spent with a checkout button hopefully linking it to the checkout page. Firstly, how do i start this? so far I have been designing my pages how i want the layout to be, putting in radio buttons etc and linking pages together, but i'm getting a bit scared now because and i'm starting to think that i am way out of my depth. Someone please help
February 1, 201016 yr Author Try downloading code from other providers to see how it could be done first. Yeah i'm trying to create my own system, am i out of my depth? where's a good place to start downloading code from?
February 1, 201016 yr Yeah i'm trying to create my own system, am i out of my depth? where's a good place to start downloading code from? Topshopper of course! Download here, it's free
February 2, 201016 yr Author Not out of your depth, assuming you know a fair bit of PHP i'm out of my depth then...lol I don't really know anything about php so i guess it's time to start learning and fast. I think i need to start from the beginning, so trying to keep things simple If i forget about the checkout process for now and just focus on selecting products. OK, on page 1 I have 2 drop down lists, one for square frames and one for rectangle frames, how do i link them up so that i can only select one option from either, i then need this to save so that when i get to the checkout, it's remembered what i've selected? I'm guessing this is where php come in, so does the next button that will take me to page 2 need to act as a submit button and link to a php script? Thanks for your help so far
February 2, 201016 yr i'm out of my depth then...lol OK, on page 1 I have 2 drop down lists, one for square frames and one for rectangle frames, how do i link them up so that i can only select one option from either, i then need this to save so that when i get to the checkout, it's remembered what i've selected? Yes you have rightly identified two separate issues. 1) "2 drop down lists" This problem would not exist if you had only one dropdown list. With two, you should use some JavaScript on the page to ensure that only one type of frame is chosen. This would also have to be checked out by the following script in case the shopper did not have JavaScript enabled. 2) "Saving data for later on in the checkout process" . Here you need to submit the data to a PHP or ASP script. The script will either a) save this data in "Session Variables" which will be available to all pages on the site or ensure that the data is passed on to the next stage. As you can see, just these two issues have created sticky problems.
Create an account or sign in to comment