- Posts: 36
- Thank you received: 0
Voucher/discount code(custom created) feature
- cinephotorooms
- Topic Author
- Offline
- Junior Member
Less
More
14 years 3 months ago #4828
by cinephotorooms
Voucher/discount code(custom created) feature was created by cinephotorooms
It would be nice to have this option included. Since I use this extension to pay for event and then I offer products connected with this event using virtuemart - I'm offering customers discount after insertion of bonus code( VIRTUE MART only so far). I would love to have the same option in Event Booking extension, so customers will not only be able to insert bonus code in Virtue Mart, but upon event registration as well. I think this is Must Have for most of Event Booking users. Something like: If text typed in to the field(registration form) is same as one of the codes provided in backend, then total prize is being reduced by % of its value.
Please Log in or Create an account to join the conversation.
- cinephotorooms
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
14 years 3 months ago #4829
by cinephotorooms
Replied by cinephotorooms on topic Re: Voucher/discount code(custom created) feature
Is it possible to modify 'custom field' option for this purpose?
Lets say:
Textbox where given values are promotional codes, fee field will be discount amount(percentage ideally, eg 80%), and fee formula eg. '*'.
?
It will have to check whether textbox text is the same as one of the codes.
Lets say:
Textbox where given values are promotional codes, fee field will be discount amount(percentage ideally, eg 80%), and fee formula eg. '*'.
?
It will have to check whether textbox text is the same as one of the codes.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
14 years 3 months ago #4833
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Voucher/discount code(custom created) feature
Hi
Sorry. We could not use custom fee field feature of the extension for this purpose. I will add coupon code feature to the next version of the extension .
Thanks,
Tuan
Sorry. We could not use custom fee field feature of the extension for this purpose. I will add coupon code feature to the next version of the extension .
Thanks,
Tuan
Please Log in or Create an account to join the conversation.
- tybeck
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
14 years 3 months ago #4861
by tybeck
Replied by tybeck on topic Re: Voucher/discount code(custom created) feature
I'd be interested in using this as a ticketing system for my choir. Your Group and custom field fee are intriguing. For coupon codes a fix and percentage discount would be most necessary in addition to a feature that would limit the number of items that would receive a certain percentage off. For example, "two for the price of one," but only allow 50% off if two and only 2 tickets are purchased for the same event. I guess you could also do this by having a group discount only accessible via a coupon code. Just some thoughts.
Please Log in or Create an account to join the conversation.
- cinephotorooms
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
14 years 3 months ago #4933
by cinephotorooms
Replied by cinephotorooms on topic Re: Voucher/discount code(custom created) feature
tuan, can you please roughly predict when the new plugin with vouchers?i'm not pushing, just need to know roughly when it will be available and what workaround i'm gonna need meantime.
cheers
cheers
Please Log in or Create an account to join the conversation.
- Bandola
- Offline
- Senior Member
Less
More
- Posts: 71
- Thank you received: 1
14 years 2 months ago #5432
by Bandola
Replied by Bandola on topic Re: Voucher/discount code(custom created) feature
I would be very interested in this feature too. As soon as possible, since we are going to a fair and market our courses. We would like to offer the people who visit our area there a discount. The fair will take place in two weeks from now.
Please Log in or Create an account to join the conversation.
- MannyG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 0
14 years 2 months ago #5704
by MannyG
Replied by MannyG on topic Re: Voucher/discount code(custom created) feature
I would like too something like that. I hope that next version is out soon. That would be a nice thanksgiving present
Please Log in or Create an account to join the conversation.
- Orchard White Creative
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
14 years 1 month ago #5806
by Orchard White Creative
Replied by Orchard White Creative on topic Re: Voucher/discount code(custom created) feature
I agree. We are very much in need of the ability to add coupon codes. Any idea when this will be released?
Please Log in or Create an account to join the conversation.
- Orchard White Creative
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
14 years 1 month ago #5905
by Orchard White Creative
Replied by Orchard White Creative on topic Re: Voucher/discount code(custom created) feature
SOLUTION!!! Tested and implemented on an out-of-the-box version of Events Booking 1.1.1. You can see a live application of this customization at
www.milehighadjusters.com/index.php?opti...&event_id=2&Itemid=8
. The 2 codes that we have setup right now are only for the event at the link above. The word save will give $100 off and lucky will give $200 off.
My team went ahead and coded something that will give this function in Event Booking. Here are the criteria...
Name: Must be eb_promocode
Title: Whatever you want it to be (we called it Discount Code)
Field Type: textbox
Required: no
Values: This is where you put in the promo code info, which is described below with examples
Fee Field: yes
All fields not mentioned here either don't apply or you can choose what you'd like it to be, such as the events the codes apply to.
Events: This will work as normal and you can setup multiple custom fields with codes and apply them to different events or all events. Even if one event has multiple codes fields setup with these criteria, only 1 input box will appear in the registration form.
Values: You can apply a dollar amount discount or a percentage discount in this field. The way you set these up is as follows -- PROMOCODE=DISCOUNTCRITERIA.
Dollar Discount - ie. LUCKY=100 will give the customer $100 off if the word LUCKY is entered. Any number entered as 1 or above will be treated as a dollar discount.
Percentage Discount - ie. LUCKY=.1 will give the customer 10% off if the word LUCKY is entered. Any number entered as less than 1 will be treated as a percentage discount.
Multiple Discounts - ie. LUCKY=100,FALL=.1,BUY=.25 (put in as many as you'd like with no space comma separation)
Case-Sensitive: The way this is coded right now makes the promo codes case sensitive. So, if I were using one of the code examples above, the word 'lucky' would be denied. You can get around that by putting in all of the likely combinations (ie. LUCKY=100,Lucky=100,lucky=100). We are working to fix this problem, but right now it isn't high on the priority list since there is an easy fix. If someone wants to fix the case-sensitivity issue and post it here, that'd be much appreciated.
Code Verification: The code is verified before going to the registration confirmation page. If the code in invalid, a browser pop-up will come up saying that the code is invalid and will keep them on that same page to fix it. If the code is valid, it will advance to the registration confirmation page and will show the total amount due after the discount.
Down Falls: Two things to keep in mind that are slight down falls with this code is the following... You cannot have 100% off and and you cannot have a dollar discount of less than $1. For our purposes, I saw no reason to fix these issues as we wouldn't ever bother with a discount of less than $1 and our client would never have a paid event be completely free. If someone wants to find a way to fix these 2 issues as well, by all means...
Additionally, only 1 code can be entered in per customer registration, which is also generally policy on these types of things anyway.
Code: The following pages need to be replaced with the files attached in a zip file...
/siteroot/components/com_eventbooking/helper/fields.php
/siteroot/components/com_eventbooking/views/confirmation/view.html.php
/siteroot/components/com_eventbooking/views/register/view.html.php
The files that need to be replaced are attached in a zip file.
My team went ahead and coded something that will give this function in Event Booking. Here are the criteria...
Name: Must be eb_promocode
Title: Whatever you want it to be (we called it Discount Code)
Field Type: textbox
Required: no
Values: This is where you put in the promo code info, which is described below with examples
Fee Field: yes
All fields not mentioned here either don't apply or you can choose what you'd like it to be, such as the events the codes apply to.
Events: This will work as normal and you can setup multiple custom fields with codes and apply them to different events or all events. Even if one event has multiple codes fields setup with these criteria, only 1 input box will appear in the registration form.
Values: You can apply a dollar amount discount or a percentage discount in this field. The way you set these up is as follows -- PROMOCODE=DISCOUNTCRITERIA.
Dollar Discount - ie. LUCKY=100 will give the customer $100 off if the word LUCKY is entered. Any number entered as 1 or above will be treated as a dollar discount.
Percentage Discount - ie. LUCKY=.1 will give the customer 10% off if the word LUCKY is entered. Any number entered as less than 1 will be treated as a percentage discount.
Multiple Discounts - ie. LUCKY=100,FALL=.1,BUY=.25 (put in as many as you'd like with no space comma separation)
Case-Sensitive: The way this is coded right now makes the promo codes case sensitive. So, if I were using one of the code examples above, the word 'lucky' would be denied. You can get around that by putting in all of the likely combinations (ie. LUCKY=100,Lucky=100,lucky=100). We are working to fix this problem, but right now it isn't high on the priority list since there is an easy fix. If someone wants to fix the case-sensitivity issue and post it here, that'd be much appreciated.
Code Verification: The code is verified before going to the registration confirmation page. If the code in invalid, a browser pop-up will come up saying that the code is invalid and will keep them on that same page to fix it. If the code is valid, it will advance to the registration confirmation page and will show the total amount due after the discount.
Down Falls: Two things to keep in mind that are slight down falls with this code is the following... You cannot have 100% off and and you cannot have a dollar discount of less than $1. For our purposes, I saw no reason to fix these issues as we wouldn't ever bother with a discount of less than $1 and our client would never have a paid event be completely free. If someone wants to find a way to fix these 2 issues as well, by all means...
Additionally, only 1 code can be entered in per customer registration, which is also generally policy on these types of things anyway.
Code: The following pages need to be replaced with the files attached in a zip file...
/siteroot/components/com_eventbooking/helper/fields.php
/siteroot/components/com_eventbooking/views/confirmation/view.html.php
/siteroot/components/com_eventbooking/views/register/view.html.php
The files that need to be replaced are attached in a zip file.
Attachment promocode_changes_20101122.zip not found
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
14 years 1 month ago #5909
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Voucher/discount code(custom created) feature
Hi all
Thanks diresolutions for implementing this features and share it back to the community. I was busy implementing the recurring events feature in the last days . The feature was implemented and I am now continue working on the Coupon Code/Voucher feature . I think It will be available at the end today .
Thanks,
Tuan
Thanks diresolutions for implementing this features and share it back to the community. I was busy implementing the recurring events feature in the last days . The feature was implemented and I am now continue working on the Coupon Code/Voucher feature . I think It will be available at the end today .
Thanks,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.