Post
by sylwekb » Thu Oct 10, 2013 7:15 pm
OpenCart 1.5.6 BUG
Hello, today the first time I had to send the order to the customer of your content inside of Sales -> Order -> Add encountered a problem with sending to the customer orders from the administration panel shop for downloadable files. If you try to add a downloadable product for sale -> Orders -> Add -> Products -> choose the product here, and as I click add product appears in the following Syntax Error.
When a customer orders from the customer panel everything is fine. Below the full text, I cut the initial path.
What could be the problem? Of course, I now have the latest available version of Opencart.
How to solve this problem?
SyntaxError: JSON.parse: unexpected character
OK
<b>Warning</b>: Missing argument 4 for Cart::add(), called in /.../catalog/controller/checkout/manual.php on line 104 and defined in <b>/.../system/library/cart.php</b> on line <b>318</b><b>Notice</b>: Undefined variable: profile_id in <b>/.../system/library/cart.php</b> on line <b>327</b>{"order_product":[{"product_id":"78","name":"TIT - Tomaszowski Informator Tygodniowy nr 41 (1212) z 11 pa\u017adziernika 2013r.","model":"41 (1212) z 11 pa\u017adziernika 2013r.","option":[],"download":[{"name":"T I T nr 41 (1212) z 11 pa\u017adziernika 2013 r.","filename":"tit41_2013.pdf.jushfw89kfjgirhofu5thhdaehhhytegg","mask":"tit41_2013.pdf","remaining":"1"}],"quantity":1,"stock":true,"price":2,"total":2,"tax":0.46,"reward":0}],"order_voucher":[],"shipping_method":[],"order_total":[{"code":"sub_total","title":"Podsuma","text":"2.00 z\u0142","value":2,"sort_order":"1"},{"code":"tax","title":"23% VAT","text":"0.46 z\u0142","value":0.46,"sort_order":"5"},{"code":"total","title":"Suma","text":"2.46 z\u0142","value":2.46,"sort_order":"9"}],"payment_methods":[],"payment_method":{"dotpaysms":{"code":"dotpaysms","title":"P\u0142atno\u015b\u0107 SMS","sort_order":""}},"success":"Transakcja przebieg\u0142a pomy\u015blnie. Dzi\u0119kujemy za zakupy i zapraszamy ponownie."}