The store will not work correctly in the case when cookies are disabled.
- Home
- Crown Club
- Rewards Center
- Small Popcorn
Skip to the end of the images gallery
Skip to the beginning of the images gallery
6,000 Credits
Soft Drink Upsize
Reward Details
This is a free small popcorn that will be immediately loaded to your Regal Crown Club card. Simply present your card at a participating theatre's concession stand to redeem this tasty popcorn treat. Only ONE discount can be applied per popcorn purchased.This product expires 60 days after purchase. Valid only at participating locations.
'); jQuery(obj).attr('aria-hidden', 'true'); // mark the modal window as hidden // remove the listener which redirects tab keys in the main content area to the modal jQuery('body').off('focusin', elementsToHide); jQuery('body').removeClass('modal-open'); jQuery(elementsToHide).attr('aria-hidden', 'false'); // set focus back to element that had it before the modal was opened //focusedElementBeforeModal.focus();}var showSpinnerModal = function(obj, cb) { jQuery('#modal').removeClass('modal').addClass('loading-message'); jQuery('#modal').html('
'); showModal(obj, cb);}var hideSpinnerModal = function(obj) { jQuery('#a2cPromptModal').removeClass('active'); jQuery('body').removeClass('modal-active'); jQuery('#modal').removeClass('loading-message').addClass('modal'); hideModal(obj);} function postDigitalOrder(credits, url) { var agreed = (jQuery('input#agreement').length) ? jQuery('input#agreement').is(':checked') : true; var links = (jQuery('input[name="links[]"]').length) ? jQuery('input[name="links[]"]').val() : null; jQuery.post( url, { 'product':3618, 'links': links, 'qty': jQuery('input#qty').val(), 'form_key' : jQuery('input[name="form_key"]').val(), 'agreement' : agreed, 'credits' : credits, 'applied_coupon': jQuery('input[name="coupon_code"]').val() }, function($data){ //console.log($data); // show thank you modal hideSpinnerModal(); jQuery('#modal').html($data.modal); jQuery('#a2cPromptModal').addClass('active'); jQuery('body').addClass('modal-active'); showModal(jQuery('#modal')); // update credit balance on page jQuery('.btn-addcart').attr('disabled', false); if($data.topCart!= undefined){ if(jQuery('#top-cart')){ jQuery('#top-cart').replaceWith($data.topCart); } } if(jQuery('.member-nav .points .price').length) { jQuery('.member-nav .points .price').text($data.creditBalance); } } ).fail(function ($data){ //find the response info var response = null; var modal = null; if ($data.responseJSON && $data.responseJSON.message) { response = $data.responseJSON.message; modal = $data.responseJSON.modal; } else if ($data.responseText) { responseText = JSON.parse($data.responseText); response = responseText.message; modal = responseText.modal; } //build the message if (response) { message = $data.statusText + ': ' + response; } else { message = "The transaction failed. Please contact the system admin."; } if (jQuery('#modal').is(':visible')) { hideSpinnerModal(); } jQuery('#modal').html(modal); showModal(jQuery('#modal')); }).always(function(){ jQuery('#ajax_loader').hide(); jQuery('.btn-addcart').html('Redeem Credits'); }) } /** Show confirmation modal for digital checkout */ confirmDigital = function(button) { jQuery(button).html(jQuery('#ajax_loader').html()).attr('disabled', true); postDigitalOrder( jQuery(button).data('credits'), 'https://regalcrownclub.regmovies.com/rcccheckout/digital/confirmRedemption/' ); return false; }; /** Digital product redemption action */ redeem = function(button) { hideModal(); jQuery('.btn-cart').attr('disabled', true); showSpinnerModal(); postDigitalOrder( jQuery(button).data('credits'), 'https://regalcrownclub.regmovies.com/rcccheckout/digital/redeem/' ); };});
As an expert in digital rewards programs and online transactions, I can confidently dissect the provided code snippet and shed light on the underlying concepts. The code appears to be a segment of a web page, likely part of an online platform for a movie theater's loyalty program, specifically the Regal Crown Club. Let me break down the key concepts used in this snippet:
-
Cookies and Store Functionality:
- The snippet begins with a message stating that the store will not work correctly if cookies are disabled. This suggests that the website relies on cookies for storing user-related information, such as login sessions, preferences, or items in the shopping cart.
-
Rewards and Credits System:
- The central theme revolves around a rewards program where users earn credits. The snippet lists recommended rewards, including movie tickets, small popcorn, and a small soft drink, each with its corresponding credit cost.
-
Regal Crown Club Information:
- There's a section encouraging users to join the Regal Crown Club, which implies a membership or loyalty program associated with the movie theater chain. It also prompts users to log in to their accounts for a personalized experience.
-
Digital Product Redemption:
- The code contains functions related to the redemption of digital products using earned credits. The functions
postDigitalOrder
,confirmDigital
, andredeem
are likely involved in the process of confirming and executing digital product redemptions.
- The code contains functions related to the redemption of digital products using earned credits. The functions
-
Modal Windows and User Interaction:
- Modal windows are employed for various purposes, such as displaying messages, confirmation prompts, and loading spinners. These modal windows enhance user interaction and provide feedback during different stages of the digital order process.
-
Form Submission and AJAX Requests:
- The code utilizes jQuery to handle form submissions and AJAX requests. For instance, the
postDigitalOrder
function is responsible for sending data to a specified URL asynchronously, likely triggering backend processes related to digital order processing.
- The code utilizes jQuery to handle form submissions and AJAX requests. For instance, the
-
Expiration and Restrictions:
- The snippet mentions that the free small popcorn product expires 60 days after purchase and is valid only at participating locations. This indicates the presence of limitations and expiry mechanisms for redeemed products.
-
Error Handling:
- The code includes error-handling mechanisms, as seen in the
fail
callback of the AJAX request. It captures and displays error messages, providing users with information in case of transaction failures.
- The code includes error-handling mechanisms, as seen in the
In summary, this code snippet is a glimpse into the workings of a movie theater's online platform, particularly its loyalty program and digital redemption system. It showcases elements like rewards, credits, user interaction, and error handling that collectively contribute to a seamless and engaging online experience for users participating in the Regal Crown Club.