Events Booking version 3.3.0 released

More
6 years 3 days ago #111175 by Russell Noble
Replied by Russell Noble on topic Events Booking version 3.3.0 released
Hi Tuan,

does the non-Discountable flag apply to coupons?

ie. we have an entry fee of $6 which is discountable. We have an optional medallion which is $8 is not discountable. If I apply a coupon will the coupon only be applied against the $6 fee but they have to pay the $8 fee?

The behaviour I'm seeing is that coupons are used to pay for non-discountable fields. Is this correct?

thanks,
Russell.

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

More
6 years 3 days ago #111176 by Russell Noble
Replied by Russell Noble on topic Events Booking version 3.3.0 released
Around line 789 of helper/registration.php I added the following to ensure that the total discount amount can never include the non-discountable items. This now means that the non-discountable items aren't discounted by the coupon.

if ( $totalAmount - $discountAmount < $noneDiscountableFee ) {
$discountAmount = $totalAmount - $noneDiscountableFee;
}

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

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
6 years 3 days ago #111181 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Events Booking version 3.3.0 released
Hi Russell

When an item is marked as none-discountable, it won't be used to calculate discount for any kind of discount amount available in the system:

1. Coupon Discount
2. Members Discount
3.Early Bird Discount

So in your case, the coupon only be applied against the $6 fee but they have to pay the $8 fee

Regards,

Tuan

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

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
6 years 3 days ago #111182 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Events Booking version 3.3.0 released
For the modification you made, I don't really understand the purpose of it. Could you please give me a sample setup which the original code could not handle causes you have to modify code like that so that I can understand the logic better?

Tuan

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

More
6 years 3 days ago #111184 by Russell Noble
Replied by Russell Noble on topic Events Booking version 3.3.0 released
Tuan,
with the default install and a $6 discountable fee and a $8 non-discountable fee, the $8 fee was actually being discounted when a coupon was used.

Default 3.3.0 installation. Coupon is $25 type = $. The calculation was showing $14 total, and was discounted $14, when it should only have been discounted $6.

The purpose of the code is to check if the final fee payable is less than the non-discountable fees then the fee is set to the non-discountable amount.

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

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
6 years 3 days ago #111185 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Events Booking version 3.3.0 released
Ah, the current code, honestly, only handle the case for coupon with percent discount type. I will have to think about this case to see how to handle it and find a solution

Tuan

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

More
6 years 2 days ago #111200 by Uugankhuu
Replied by Uugankhuu on topic Events Booking version 3.3.0 released
When do you add feature "Filter" to table layout on user side? It will be great addition to Event booking. Because customers asking to me how to see events by categories, prices or dates.

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

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 years 11 months ago #111742 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Events Booking version 3.3.0 released
Hi

Want to add support for this option in the next release of the extension. Do you have sample filter styles which you like ? If Yes, send us the sample pages so that we can take it as an example and implement it into the system

Regards,

Tuan
The following user(s) said Thank You: Uugankhuu

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

More
5 years 11 months ago #111749 by Uugankhuu
Replied by Uugankhuu on topic Events Booking version 3.3.0 released
Hi,
Thank you for your response.

It is good if it looks like Joomla admin filters. Category, date, price interval and it would be great if included tags that work real time.

Thank you.

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

More
5 years 11 months ago #111751 by Uugankhuu
Replied by Uugankhuu on topic Events Booking version 3.3.0 released
mihajlovicnenad.com/product-filter/creative/shop/
In this website, so many filters. We need just category, price range, search products from keyword real time, and date.
In this example using left side column, we need put it on the top of the Table layout for inline like Joomla admin filters.

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