ProgrammingClothing Website Add To Basket & Payment Help +REPPosted:

CrypTic_Trivia
  • V5 Launch
Status: Offline
Joined: Jan 12, 20144 Year Member
Posts: 299
Reputation Power: 12
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?

Thanks +REP
#2. Posted:
Status: Offline
Joined: Mar 20, 2018
Posts: 14
Reputation Power: 0
CrypTic_Trivia wrote
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?

Thanks +REP


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.
#3. Posted:
CrypTic_Trivia
  • Christmas!
Status: Offline
Joined: Jan 12, 20144 Year Member
Posts: 299
Reputation Power: 12
AllCustom wrote
CrypTic_Trivia wrote
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?

Thanks +REP



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
#4. Posted:
Status: Offline
Joined: Mar 20, 2018
Posts: 14
Reputation Power: 0
CrypTic_Trivia wrote
AllCustom wrote
CrypTic_Trivia wrote
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?

Thanks +REP



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?
#5. Posted:
CrypTic_Trivia
  • Christmas!
Status: Offline
Joined: Jan 12, 20144 Year Member
Posts: 299
Reputation Power: 12
AllCustom wrote
CrypTic_Trivia wrote
AllCustom wrote
CrypTic_Trivia wrote
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?

Thanks +REP



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
#6. Posted:
Status: Offline
Joined: Mar 20, 2018
Posts: 14
Reputation Power: 0
CrypTic_Trivia wrote
AllCustom wrote
CrypTic_Trivia wrote
AllCustom wrote
CrypTic_Trivia wrote
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?

Thanks +REP



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...
#7. Posted:
CrypTic_Trivia
  • Christmas!
Status: Offline
Joined: Jan 12, 20144 Year Member
Posts: 299
Reputation Power: 12
AllCustom wrote
CrypTic_Trivia wrote
AllCustom wrote
CrypTic_Trivia wrote
AllCustom wrote
CrypTic_Trivia wrote
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?

Thanks +REP



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
#8. Posted:
PossibleDerp
  • 1K Rainmaker
Status: Offline
Joined: May 15, 20108 Year Member
Posts: 2,188
Reputation Power: 325
Hi mate,

just a quick one.. if you have the funds I'd highly recommend Shopify for ecommerce and in particular small business. I have a degree in IT with Digital Media (Web Technologies) and worked as a designer for a year for an eCommerce company developing their OpenCart ecommerce website and I now work full time as a Web Designer for a Web Design Agency.

I have my own website reselling Vintage Clothing items here in the UK, we did £500 in the first two weeks on Shopify. REMOVED

I did a tone of research in what to start-up on and I'm pretty limited with time, working full time etc. Open Source software for ecommerce just requires far too much development to get it to a strongly functional stage.

Also the best feature with Shopify currently is the way it is linked with Facebook and Instagram, the integration is crazy. Setup a business account on instagram (just requires you to verify email) and you're able to tag products into posts etc.

If you need anymore advice or help with anything give me a shout and I'll gladly help you


Last edited by PossibleDerp ; edited 1 time in total
#9. Posted:
Cyimking
  • 2 Million
Status: Offline
Joined: May 02, 20126 Year Member
Posts: 1,122
Reputation Power: 33
1. What language are you using?
2. Are you using an MVC framework?


You will need a basic web stack (LAMP, MEAN, etc...). I would suggest you separate the frontend and backend to keep things simple. On the FE, you can make a simple AJAX call that will add the product to the cart.

In the DB, you will need a basic eCommerce database schema. Just google a few to get started.

Regarding payment gateways, you will need to use an API. Just select a payment gateway (PayPal, stripe, etc...), sign up for an account then follow their API implementation guide.
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS