Trigger a Discount Code from Radio button

  • Posts: 37
  • Thank you received: 0
9 years 1 month ago #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?

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

  • Posts: 12953
  • Thank you received: 1778
9 years 1 month ago #216003

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 or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 0
9 years 1 month ago #216129

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 or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 0
9 years 1 month ago #216130

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 or Create an account to join the conversation.

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
9 years 1 month ago #216135

Hi,

That's possible.
To do that, you want to create a custom user field via the menu Display>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 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>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 or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 0
9 years 1 month ago #216866

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

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

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
9 years 1 month ago #216892

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 or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum