Small Popcorn (2024)

The store will not work correctly in the case when cookies are disabled.

Account

Settings

Language

Default Store View

Skip to the end of the images gallery

Small Popcorn (4)

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.

YOU NEED TO BE LOGGED IN TO ADD ITEMS TO YOUR CART.

Please go here to log in.

Ok

×

'); 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:

  1. 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.
  2. 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.
  3. 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.
  4. Digital Product Redemption:

    • The code contains functions related to the redemption of digital products using earned credits. The functions postDigitalOrder, confirmDigital, and redeem are likely involved in the process of confirming and executing digital product redemptions.
  5. 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.
  6. 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.
  7. 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.
  8. 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.

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.

Small Popcorn (2024)
Top Articles
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 6595

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.