Link custom field to order status?

  • Posts: 3
  • Thank you received: 0
7 years 7 months ago #267562

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.17

Is there a way to link the value of a custom field in the checkout to the order status?

What I need to do is, give the customer the possibility to waive the right to cancel an order within 14 days (value = yes). Then he should be able to download files directly after payment (status = confirmend). If he does NOT waive the right to cancel (value = no), the order status should be changed to pending so no download is allowed until I change the status manually after 14 days, which also means that the status would still need to be pending even so payment is received. I know that’s silly and nobody will choose the second option, but that’s German law for you. ;-)

If this is not possible, is there another way to achieve this functionality?

Please Log in or Create an account to join the conversation.

  • Posts: 82865
  • Thank you received: 13372
  • MODERATOR
7 years 7 months ago #267566

Hi,

It's not possible with a custom field.

What you could do is to duplicate your payment methods.
One set with the rights waived and one set with the rights not waived. And in the payment methods, you have settings to configure the order status that the orders will have after creation/payment.

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds
Powered by Kunena Forum