Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Detail Page/EventLink Plugin/Discount Code Validation Glitch

Detail Page/EventLink Plugin/Discount Code Validation Glitch 11 years 11 months ago #19346

  • card1concepts
  • card1concepts's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hello,

I have a strange issue occurring and am wondering if anyone has come across this issue and or how to fix it? I have searched the forum and can not find anything related to this.

Currently I have three events set up on my clients site. All three have separate discount codes set up and applied to them. If you go to the Events List page that lists all available events with the event link buttons "Details" and "Register", if you click on "Register" from this page and enter a discount code in the registration form it validates fine and I get a blue check mark. All is well and right in the world!

However, if I click on "details" from the event list page, on the details page for the specific event two things are happening.

1. The page displays the word "Articles" above the page title? Not a big issue but annoying and I don't know why? But I am mentioning it because maybe it has something to do with the bigger problem?

2. And this is the bigger problem, from a detail page if you click the "Register Now" button at the bottom of the event details page produced by the EventLink Plugin and enter a discount code in the registration form the following validation message comes up:
DT_CODE_NOT_AVAILABLE_FOR_EVENT

I upgraded to the latest and greatest on everything and submitted a support ticket yesterday but I have not heard from support at all?

Does anyone have any thoughts on why this is happening? Or better yet a solution to fixing this?

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

Detail Page/EventLink Plugin/Discount Code Validation Glitch 11 years 11 months ago #19348

  • card1concepts
  • card1concepts's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Hello, How long does it take to get a response from a support ticket?

I submitted one two days ago with no answer yet?

Can anybody help with this?

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

Detail Page/EventLink Plugin/Discount Code Validation Glitch 11 years 8 months ago #20210

  • smallbiz
  • smallbiz's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I am also seeing the error with DT_CODE_NOT_AVAILABLE_FOR_EVENT and the coupon code not being accepted when I try to register with coupon codes.

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

Detail Page/EventLink Plugin/Discount Code Validation Glitch 11 years 8 months ago #20220

  • smallbiz
  • smallbiz's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I've updated to 2.8.5b and still have this issue.

I've resaved all my discount codes, and resaved all my mappings for discount codes for my event.

This file contains the reference to the error message displayed:
administrator/components/com_dtregister/models/event.php

It has the reference to the message string:
DT_CODE_NOT_AVAILABLE_FOR_EVENT

line 2131:
if(!in_array($code[0]->id,$this->discountcode)){
	 $dt_code->error = JText::_( 'DT_CODE_NOT_AVAILABLE_FOR_EVENT' );
	 return false;
}

When I check the language file in /language/en-GB/en-GB.com_dtregister.ini
I find no reference to this language string.

I guess I could comment out the IF block on 2131, but not sure what other implications this has.

Anyone have any ideas?

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

Detail Page/EventLink Plugin/Discount Code Validation Glitch 11 years 8 months ago #20221

  • smallbiz
  • smallbiz's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Removing that IF block results in the coupon code not be restricted to assigned events...

Guess that's not a good idea to remove. Still not clear why this is occurring -- the data in the tables _dtregister_codes and _dtregister_events_codes shows the discount codes as correctly mapped to the events.

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

Detail Page/EventLink Plugin/Discount Code Validation Glitch 11 years 8 months ago #20222

  • smallbiz
  • smallbiz's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Okay, a bit more information here for anyone who might have the same issue.

We were just linking to the event by taking a URL for another event and changing the event ID.

So, we thought to create a new menu item to point directly to the event that was having issues with the coupon, and voila, the coupon codes began working.

The only difference that I can see is the Itemid value changed. Not sure why this would make a difference...

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

  • Page:
  • 1
Time to create page: 0.256 seconds