own form field is not saved in the order

Phoca Cart - complex e-commerce extension
derChristoph
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 21 Dec 2020, 18:05

own form field is not saved in the order

Post by derChristoph »

I have created my own form field:
https://i.imgur.com/YX7zcBA.png

But when I place an order, the field is not saved:
https://i.imgur.com/meyfhjY.png

Does anyone have an idea what this can be?

System infos:
  • Version 3.5.5Beta
  • Joomla!-Version 3.9.23
  • OS SunOS l
  • PHP 7.4.13
  • MySQLi 5.6.42-log
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: own form field is not saved in the order

Post by Jan »

Hi, testing now, it works Ok for me.

Setting new field (Ortsteil):
Image

Selected or set by Checkout:

Image

Image

Did you try to test the latest Beta4 version?
https://www.phoca.cz/download/category/ ... -component


Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: own form field is not saved in the order

Post by Jan »

Testing even without predefined values:
Image

the same output, works Ok:
Image

Jan
If you find Phoca extensions useful, please support the project
derChristoph
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 21 Dec 2020, 18:05

Re: own form field is not saved in the order

Post by derChristoph »

It doesn't always work, in 2 out of 3 cases it doesn't work, I have experimented a lot with new fields, but no consistent result with the selection box.
derChristoph
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 21 Dec 2020, 18:05

Re: own form field is not saved in the order

Post by derChristoph »

What can I do to investigate this further?

When I enter it in the store and press save, it is always displayed correctly and saved. I can edit it then also afterwards


But the way into the order does not seem to work cleanly, maybe it is a display problem in the Backaend?
derChristoph
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 21 Dec 2020, 18:05

Re: own form field is not saved in the order

Post by derChristoph »

I think this has something to do with the backend, I can not change the field in the order, it is always the 1st entry saved or displayed.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: own form field is not saved in the order

Post by Jan »

Hi, can you paste a screenshot? Really hard to say, testing now, different conditions and all works OK :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply