[Skip to main content](#vessel-content)

#   Link custom field to order status?

##

- **[luix](/forum/user/48868-luix "View luix's Profile")**
- [![luix's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48868-luix "View luix's Profile") Topic Author
- [ Offline](/forum/user/48868-luix)

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 6 months ago [\#267562](#267562) by [luix](/forum/user/48868-luix "View luix's Profile")  *[Link custom field to order status?](/forum/35-orders-management/889844-link-custom-field-to-order-status#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?")* was created by *[luix](/forum/user/48868-luix "View luix's Profile")*

-- 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. ![;-)](/media/kunena/emoticons/24.png ";-)")

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg4OTg0NC1saW5rLWN1c3RvbS1maWVsZC10by1vcmRlci1zdGF0dXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

9 years 6 months ago [\#267566](#267566) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Link custom field to order status?](/forum/35-orders-management/889844-link-custom-field-to-order-status#267566 "-- 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?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg4OTg0NC1saW5rLWN1c3RvbS1maWVsZC10by1vcmRlci1zdGF0dXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
