The item-initial.html file needs one tiny piece of JavaScript code added to it.
New or modified code is displayed in bold text.
<html> <head> <script> <!-- top.myOrderList.itemsVisible = true; --> </script> </head> <body> </body> </html> |
The code that we added sets the myOrderList.itemsVisible flag to false, so that if the customer presses the "Clear" button, the myOrderList.clear method will not attempt to uncheck a group of checkboxes that do not exist.
This tutorial has been translated to Serbo-Croatian language by Jovana Milutinovich from Webhostinggeeks.com.
This tutorial has been translated to Slovak by Juraj Rehorovsky from Coupofy team.
If you find this tutorial useful and want to show your apprectiation, a small donation is most welcome, either in Bitcoins to 19QpWDmZPmTqawcr8VsXcbdc4Znq1ecrza, or via PayPal.