price
The buttons don't work correctly. The price is set to a certain number, but after the first add to cart button is click, the price for that product carries onto all the other add to cart buttons. How can I fix this?
The buttons don't work correctly. The price is set to a certain number, but after the first add to cart button is click, the price for that product carries onto all the other add to cart buttons. How can I fix this?
-1- I click an "Add to Cart" button for an item. (lets say it costs 99 dollars)
-2- That 99 dollars gets added to the total in the shopping cart summary. (this works fine)
-3- Then I click an "Add to Cart" button for a different item that is, let's say, 500 dollars.
-4- Instead of the php script adding 500 dollars to the total, it adds 99 (Or whatever the first amount was)
I have every item on the same page. Could this be the problem? If it is, how do i fix it without putting the items on separate pages?
This suggests that id value used in the add to cart button is not unique.
Make sure that the ID column is getting a unique value.
The numbers get changed as the buttons are made by pulling from a set of IDs from a database. All of these are different.
The unique ID's are put in place of the number 1 in the following code.
chaseStore_1_ATC_0
chaseStore_1_ID_Add
chaseStore_1_Quantity_Add
chaseStore_1_ATC
The code on top that processes the code is static. The price is the only thing I'm having trouble with. I don't have a record set yet. Could that be it?
Is there more to it than that?
Okay figured out that part of it, but I guess its not adding anything to the actual cart. Because in the file... it says redirect if empty. Could the items not be getting added to the actual online cart?
The site just started coming up with these errors today. It had these errors when I completed the checkout wizard.
This is the error i get when the page with the online summary and the buttons comes up.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/p24acav6/public_html/displaysofgrace.com/ChaseStore.php:6) in /home/p24acav6/public_html/displaysofgrace.com/WA_eCart/WA_eCart_Definition_PHP.php on line 465
This is the error that comes up when I click checkout.
Warning: Cannot modify header information - headers already sent by (output started at /home/p24acav6/public_html/displaysofgrace.com/ChaseStore.php:6) in /home/p24acav6/public_html/displaysofgrace.com/ChaseStore.php on line 105
The headers already sent error means that there is output to the page between php tags in the head.
the error is saying to look around line 6 for the problem:
output started at /home/p24acav6/public_html/displaysofgrace.com/ChaseStore.php:6
if you can t see the problem, please send a copy of the page in a zip archive so i can examine the code.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.