One problem with Magento 1.8 in the standard seems to be, that
- the number of items is not changed successfully, if you e.g.. in an amount 2 enters, and then click “Update Cart” click. The page is reloaded while but then stands back as the old lot. A change in the quantity of items in your shopping cart is not therefore possible-except for deletion of the article.
- Furthermore, there is probably the problem, that customers could not log in with their account.
These two problems are related and can be solved as follows.
The file
cart.phtml in the directory app / design / frontend /[base or default]/[IhrTemplate]/template/checkout
Open and after
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
as. in line 50 search. After this line then add the following line directly:
<?php echo $this->getBlockHtml('formkey'); ?>
Then, the problems should be solved.
Used in Magento Version 1.8.1.0 Comments? Additions? Notes? Gladly!
Hello I have the same problem and I followed your instructions. Since I am not a programmer, I've done exactly what you wrote, However, I get an error message in the form of the source text is displayed above the basket item. Have di please correct syntax for the entry, I have something in <? php sat or ???
For your help I am now grateful to you!! 🙂
Hi, possibly incorrect conversion? Please try again. I have put the code into the code field just.
Hi, have included it as, but unfortunately get an error: see here https://3cxshop.nopptec24.com – because you can indeed something put in the shopping cart and then update…
<form action="getUrl(‘checkout/cart/updatePost’) ?>” method=”post”>
{{block type=”core/template” template =”sample/home.phtml”}}
Uups, passes through the, if you do several things at once….please try again. That was the wrong code 🙁
and, thank you now it works flawlessly….. Thank you for your effort!!! 🙂
Gladly, good luck and nice evening!
After 3 Seconds looking in google, immediately found your instructions and successfully implemented. Thank you!
Hi works for me the add of getBlockHtml(‘formkey’); ?> unfortunately not. I have changed it in base template and.
1. Can the product page no items in the shopping cart button “to shopping basket” So not responding.
2. Articles which I have put outwit page Add to basket, can not be edited, as said button on the product page does not work
Dachte an Ajax Problem, but error.log shows no error.
Does anyone have any idea?
Regards
So from the not distant. But that sounds like a lot more, than those described above. What you could do times:
1. Try it with the default theme, if there is the same problems (probably not). So you can then make sure, that it really is well on its own Theme.
2. In the configuration enable the path hints and look, which respective sides of the own themes are responsible on the faulty pages.
3. Then try it, To disable these files (rename temporarily). If it is not a unique file, this function should be caught by the default or base theme. Klappt es dann, then it is clearly at or. IN the disabled file.
This is an-admittedly- slightly amateur approach, but can help.
Good luck with your search!
erster Treffer in Google bzgl. der Warenkorbaktualisierung.
Diese funktioniert dank Deiner Zeile – Thank you.
Was jedoch leider weiterhin nicht funktioniert (und ich jetzt schon Hoffnung hatte es gelöst zu bekommen) ist der Login im Checkout… ;(
Ich muss jedoch gestehen, dass ich Die 1.8.1 habe und daher wohl nun weiter suchen muss – oder hast Du einen Tipp?
Danke aber auf jeden Fall nochmal bzgl. der Warenkorbaktualisierung… 😉
Greeting
Sunny
Wo liegt das Problem genau?
Hai,
vielen Dank erstmal, klappt jetzt wunderbar. Die Sache mit
getBlockHtml('formkey'); ?>
lief mir schon einmal bei der Registrierung als neuer Kunde über den Weg.
Ich habe gerade ein Template am Wickel, dass nur bis Magento 1.7 freigegeben worden ist. Mal sehen. Ich werde wohl alle Formulare überprüfen müssen;-)
Schönen Tag noch
Thorsten
The error is still in the Magento 1.9.0 available. Could I use your instructions but also solve. Thank you very much!
Hallo,
ich habe jetzt unzählige Male alles was ich im INet gefunden habe ausprobiert, alle Themes (unchanged) probiert doch grundsätzlich kann ich den Warenkorb ALS GAST nach den Änderungen annulieren, doch weiterhin ist die Mengeder Artikel nicht veränderbar- Fehlermedlung immer “Warenkorb kann nicht aktualisiert werden.” Benutzt wird von uns die Version 1.9.1.0
Ich verbringe nun schon 3 Tage mit der Suche des Fehlers, habe aber auch nicht wirklich gute Programmierkenntnisse. Fürden Aufbau hat es bisher gereicht, es sind “nur noch” Kleinigkeiten bis wir an den Start gehen können.
Vielleicht hast Du eine Idee?
Big problem small solution. Also works in 1.9.2 without problems. Thank you very much !
Thank you very much!
Also helps Version 1.9.1
I have the same problem and for me that was not a solution…