Hi,
I'm found an error in method PhocacartOrder:: saveOrderMain()
PHP Notice: Undefined index: comment in C:\home\hcproject\www\administrator\components\com_phocacart\libraries\phocacart\order\order.php on line 211
You coded: $d['comment'] = $data['comment'];
You should fix it: $d['comment'] = $data['phcomment'];
Because in the method PhocaCartControllerCheckout::order() you wrote: $item['phcomment'] = $this->input->get( 'phcomment', '', 'string' );
Best regards,
Sergey
Error in PhocacartOrder:: saveOrderMain()
-
- Phoca Newbie
- Posts: 4
- Joined: 31 May 2018, 11:47
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in PhocacartOrder:: saveOrderMain()
Hi, thank you very much for the info, which version do you use?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Error in PhocacartOrder:: saveOrderMain()
Hi Jan,
checked before. It's the latest (released) one. 3.1.0
Christine
checked before. It's the latest (released) one. 3.1.0
Christine
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in PhocacartOrder:: saveOrderMain()
Ok, thank you. Will be fixed in next version.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error in PhocacartOrder:: saveOrderMain()
If you find Phoca extensions useful, please support the project