I have a clothing website and everything is basically done, apart from the add to cart button and the final checkout payment, i want the users to click add to basket and to be able to checkout with the final products with payment, sending the notification to the admin that the payments have been made and which items have been paid for, the same as this
[ Register or Signin to view external links. ]
but cant seem to get it to work, i want to place the button below the product and on the product item page and once the checkout has been selected then the payment comes and the notification is sent to the admin, either the example given or a normal add to cart where the cart is static on the nav bar but cant seem to get it to work, any help?
Each item should have a unique ID,
On the "Basket" page your script should be able to grab the information of the IDS from the database,
It should the print the Price of the ID from said database,
Then you could perform a formulae to make a total price and print it to an external payment system like paypal and make them pay like that,
Add to cart page will just be display what id's were added to basket.
I can't really give you any code to work off but that's my understanding of how it SHOULD work.
yeah i understand how it should work its just completing it, when i try and implement all the code in the link the button is on the page but once clicked nothing happens
That's the problem with using open source code mate,
You're better off trying to write something for yourself from scrap but taking snippets from opensource software, Have you replaced the database names etc etc from that site into your SQL as well as tables & IDS?
This is where I didnt fully understand everything, so far its on a temp hosting free until added the database, basket and payment, not knowing if ill definitely need a database or not since i thought it might be easier to basically send the notes of what the user wants to the seller with the payment this is where i need help
You'd always need a database to store user log in information... Aswell to store product ids & Order ids...
cheers, ive done websites before but never had to add a basket or payment methods before so for that feature im still experimenting