- Posts: 3
- Thank you received: 0
How to allow frontend editing of order custom fields
- apurvkolte
-
Topic Author
- Offline
Less
More
5 years 9 months ago #329267
by apurvkolte
How to allow frontend editing of order custom fields was created by apurvkolte
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.3.27
-- Browser(s) name and version -- : Chrome 88.0.4324.146
I have added few custom fields with table 'order'. How to allow users to edit these custom fields after placing the order ?
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.3.27
-- Browser(s) name and version -- : Chrome 88.0.4324.146
I have added few custom fields with table 'order'. How to allow users to edit these custom fields after placing the order ?
Please Log in or Create an account to join the conversation.
5 years 9 months ago #329279
by nicolas
Replied by nicolas on topic How to allow frontend editing of order custom fields
Hi,
It's not possible to allow customers to modify order custom fields after the order has been placed.
The custom order fields can only be filled during the checkout process thanks to the "fields" view of the checkout workflow.
It's not possible to allow customers to modify order custom fields after the order has been placed.
The custom order fields can only be filled during the checkout process thanks to the "fields" view of the checkout workflow.
Please Log in or Create an account to join the conversation.
- apurvkolte
-
Topic Author
- Offline
Less
More
- Posts: 3
- Thank you received: 0
5 years 9 months ago #329290
by apurvkolte
Replied by apurvkolte on topic How to allow frontend editing of order custom fields
Hi,
Is it possible to execute a php script on placing an order ?
I want to trigger a flow to accept user input for custom order.
Is it possible to execute a php script on placing an order ?
I want to trigger a flow to accept user input for custom order.
Please Log in or Create an account to join the conversation.
5 years 9 months ago #329293
by nicolas
Replied by nicolas on topic How to allow frontend editing of order custom fields
Hi,
Yes.
The best is to code a small plugin implementing the onBeforeOrderCreate(&$order, &$do) event:
www.hikashop.com/support/documentation/6...mentation.html#intro
If you set $do to false you can cancel the order creation and you can use Joomla's $app->enqueueMessage(); to display a message to the user. And in $order you'll have the values of the custom order fields so that you can easily do your check.
Yes.
The best is to code a small plugin implementing the onBeforeOrderCreate(&$order, &$do) event:
www.hikashop.com/support/documentation/6...mentation.html#intro
If you set $do to false you can cancel the order creation and you can use Joomla's $app->enqueueMessage(); to display a message to the user. And in $order you'll have the values of the custom order fields so that you can easily do your check.
Please Log in or Create an account to join the conversation.
- apurvkolte
-
Topic Author
- Offline
Less
More
- Posts: 3
- Thank you received: 0
5 years 9 months ago #329487
by apurvkolte
Replied by apurvkolte on topic How to allow frontend editing of order custom fields
Hi,
Does the market edition with front end access allow admin to edit these front end ?
Thanks
Does the market edition with front end access allow admin to edit these front end ?
Thanks
Please Log in or Create an account to join the conversation.
5 years 9 months ago #329525
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How to allow frontend editing of order custom fields
Hello,
Yes, HikaMarket front-edition allow to edit an order with the same features you have in the HikaShop backend.
Regards,
Yes, HikaMarket front-edition allow to edit an order with the same features you have in the HikaShop backend.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds