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

#   Trigger a Discount Code from Radio button

##

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

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 1 month ago [\#215986](#215986) by [omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")  *[Trigger a Discount Code from Radio button](/forum/27-checkout/879606-trigger-a-discount-code-from-radio-button#215986 "-- HikaShop version -- : 5.5.0 -- Joomla version -- : 3.4 -- PHP version -- : 5.6  I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page. How should I write a code for that? Where should i write a code for it? And how to create a Radio button on check box page?")* was created by *[omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")*

-- HikaShop version -- : 5.5.0
-- Joomla version -- : 3.4
-- PHP version -- : 5.6

I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page.
How should I write a code for that? Where should i write a code for it?
And how to create a Radio button on check box page?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 1 month ago [\#216003](#216003) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Trigger a Discount Code from Radio button](/forum/27-checkout/879606-trigger-a-discount-code-from-radio-button#216003 "-- HikaShop version -- : 5.5.0 -- Joomla version -- : 3.4 -- PHP version -- : 5.6  I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page. How should I write a code for that? Where should i write a code for it? And how to create a Radio button on check box page?")*

Hello,

> How should I write a code for that? Where should i write a code for it?
> And how to create a Radio button on check box page?

If by "check box" you mean checkout workflow, a solution can just be to use COUPON instead of discounts.
If not, can you give us more information about what you want ?

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

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

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 1 month ago [\#216129](#216129) by [omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")  Replied by *[omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")* on topic *[Trigger a Discount Code from Radio button](/forum/27-checkout/879606-trigger-a-discount-code-from-radio-button#216129 "-- HikaShop version -- : 5.5.0 -- Joomla version -- : 3.4 -- PHP version -- : 5.6  I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page. How should I write a code for that? Where should i write a code for it? And how to create a Radio button on check box page?")*

In Britain , disabled people can apply for VAT-EXEMPTION so I want a radio button on checkout page such that if I select yes for vat-exemption , VAT amount should not be applied by the customer

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

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

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 1 month ago [\#216130](#216130) by [omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")  Replied by *[omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")* on topic *[Trigger a Discount Code from Radio button](/forum/27-checkout/879606-trigger-a-discount-code-from-radio-button#216130 "-- HikaShop version -- : 5.5.0 -- Joomla version -- : 3.4 -- PHP version -- : 5.6  I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page. How should I write a code for that? Where should i write a code for it? And how to create a Radio button on check box page?")*

In Britain , disabled people can apply for VAT-EXEMPTION so I want a radio button on checkout page such that if user select yes for vat-exemption , VAT amount should not be applied to the customer

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTYwNi10cmlnZ2VyLWEtZGlzY291bnQtY29kZS1mcm9tLXJhZGlvLWJ1dHRvbj90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 1 month ago [\#216135](#216135) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Trigger a Discount Code from Radio button](/forum/27-checkout/879606-trigger-a-discount-code-from-radio-button#216135 "-- HikaShop version -- : 5.5.0 -- Joomla version -- : 3.4 -- PHP version -- : 5.6  I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page. How should I write a code for that? Where should i write a code for it? And how to create a Radio button on check box page?")*

Hi,

That's possible.
To do that, you want to create a custom user field via the menu Display&gt;Custom fields, so that the customer can select if he is disabled or not.
Then, you want to use this extension [ extensions.joomla.org/extensions/extensi...oup-ftw-for-hikashop](http://extensions.joomla.org/extensions/extension/extension-specific/hikashop-extensions/user-group-ftw-for-hikashop) to add the user to a joomla user group based on his selection in the custom field.
And finally, in your tax rules, that you can edit via the menu System&gt;Taxes, you can restrict your taxes to only some user groups thanks to the "access level" setting there.
This will require the Business edition of HikaShop.

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

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

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 1 month ago [\#216866](#216866) by [omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")  Replied by *[omkar123](/forum/user/38042-omkar123 "View omkar123's Profile")* on topic *[Trigger a Discount Code from Radio button](/forum/27-checkout/879606-trigger-a-discount-code-from-radio-button#216866 "-- HikaShop version -- : 5.5.0 -- Joomla version -- : 3.4 -- PHP version -- : 5.6  I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page. How should I write a code for that? Where should i write a code for it? And how to create a Radio button on check box page?")*

I have hika shop free edition , can I do that part in free edition???

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTYwNi10cmlnZ2VyLWEtZGlzY291bnQtY29kZS1mcm9tLXJhZGlvLWJ1dHRvbj90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

11 years 1 month ago [\#216892](#216892) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Trigger a Discount Code from Radio button](/forum/27-checkout/879606-trigger-a-discount-code-from-radio-button#216892 "-- HikaShop version -- : 5.5.0 -- Joomla version -- : 3.4 -- PHP version -- : 5.6  I want to create a Discount code that will be triggered from a radio button , which will be placed just above the the Discount Code area on checkout page. How should I write a code for that? Where should i write a code for it? And how to create a Radio button on check box page?")*

Hi,

You won't be able to restrict tax rules to user groups with the free edition. That's why I said that it would require the Business edition.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTYwNi10cmlnZ2VyLWEtZGlzY291bnQtY29kZS1mcm9tLXJhZGlvLWJ1dHRvbj90bXBsPW1hcmtkb3du) 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.057 seconds

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