View Cart “Orange T-Shirt & Program Combo – Extra Large” has been added to your cart.
Gray T-Shirt & Program Combo – Large
13 in stock
Product Description
Gray T-Shirt & Program Combo – Large
One program and one shirt. Shipping included.
');
} else { // double opt-in
$ymce('#yks-status-0-5453f74bbe').html('
');
}
/** Header Call Out Submission **/
if ( $ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').hasClass( 'header-callout-form' ) ) {
var container_height = $ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( '#wrapper' ).css( 'height' );
var container_width = $ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( '#wrapper' ).css( 'width' );
var top_margin_confirmation = ( container_height.replace( 'px' , '' , container_height ) - 25 ) / 2;
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( '#wrapper' ).css( 'height' , container_height ).css( 'width' , container_width );
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( '#wrapper' ).children().each(function() {
$ymce(this).fadeOut('fast');
}).promise().done( function() {
var confirmation_message = $ymce('#yks-status-0-5453f74bbe');
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( '#wrapper' ).html( confirmation_message );
$ymce( confirmation_message ).removeClass('yks-status').fadeIn('fast').attr( 'style' , 'text-align:center;vertical-align:middle;margin-top:19%;');
});
} else {
// remove the preloader
jQuery( '.yks-mc-submit-preloader' ).remove();
// re-enable all input fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find('input').each(function() {
$ymce(this).not('#wrapper').removeAttr( 'disabled' ).css( 'opacity' , '1' );
});
// re-enable all select fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'select' ).each(function() {
$ymce(this).removeAttr('disabled').css('opacity','1');
});
/* reset the form, append the confirmation before the form */
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'input[type="text"]', 'textarea' ).val( '' );
$ymce('#yks-status-0-5453f74bbe').fadeIn('fast');
}
} else {
// bundle the MailChimp returned error
// with our yks mc error messages
$ymce('#yks_form_error_message').fadeOut('fast', function() {
jQuery(this).remove();
});
$ymce('#ykfmc-submit_0-5453f74bbe').removeAttr('disabled');
if( MAILCHIMP.errorResponse.toLowerCase().indexOf( "is already subscribed to the list." ) >= 0 ) {
$ymce('#yks-mailchimp-form_0-5453f74bbe').prepend('
'+MAILCHIMP.errorResponse+' Click Here to send an email to update your profile.').delay(1000).queue(function(next){
// remove the preloader
jQuery( '.yks-mc-submit-preloader' ).remove();
// remove disable from all input fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'input' ).each(function() {
$ymce(this).removeAttr( 'disabled' ).css('opacity','1');
});
// re-enable all select fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'select' ).each(function() {
$ymce(this).removeAttr('disabled').css('opacity','1');
});
jQuery('#yks_form_error_message').fadeIn();
var offset_top = jQuery('#yks-mailchimpFormContainerInner_0-5453f74bbe').offset().top;
jQuery("html, body").animate({ scrollTop: offset_top - 50 }, 500 );
next();
});
} else {
$ymce('#yks-mailchimp-form_0-5453f74bbe').prepend('
'+MAILCHIMP.errorResponse+'').delay(1000).queue(function(next){
// remove the preloader
jQuery( '.yks-mc-submit-preloader' ).remove();
// remove disable from all input fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'input' ).each(function() {
$ymce(this).removeAttr( 'disabled' ).css('opacity','1');
});
// re-enable all select fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'select' ).each(function() {
$ymce(this).removeAttr('disabled').css('opacity','1');
});
jQuery('#yks_form_error_message').fadeIn();
var offset_top = jQuery('#yks-mailchimpFormContainerInner_0-5453f74bbe').offset().top;
jQuery("html, body").animate({ scrollTop: offset_top - 50 }, 500 );
next();
});
}
}
},
// append our error up above, much like the others!
error: function(error) {
jQuery( '#yks_form_error_message' ).remove();
jQuery( '.yks-mc-submit-preloader' ).remove();
jQuery( '.ykfmc-submit' ).removeAttr( 'disabled' );
jQuery('#yks_form_error_message').fadeIn();
jQuery('#yks-mailchimp-form_0-5453f74bbe').prepend('
'+error.responseText+'').delay(1000).queue(function(next){
// remove the preloader
jQuery( '.yks-mc-submit-preloader' ).remove();
// remove disable from all input fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'input' ).each(function() {
$ymce(this).removeAttr( 'disabled' ).css('opacity','1');
});
// re-enable all select fields while the data send...
$ymce('#yks-mailchimpFormContainerInner_0-5453f74bbe').find( 'select' ).each(function() {
$ymce(this).removeAttr('disabled').css('opacity','1');
});
jQuery('#yks_form_error_message').fadeIn();
var offset_top = jQuery('#yks-mailchimpFormContainerInner_0-5453f74bbe').offset().top;
jQuery("html, body").animate({ scrollTop: offset_top - 50 }, 500 );
next();
});
console.log( error );
}
});
}
return false;
});
jQuery( 'body' ).on( 'click' , '.update-email-profile-link' , function() {
jQuery( '.preloader-confirmation-box' ).remove();
var user_email = jQuery(this).attr('alt');
var list_id = jQuery(this).parents('form').attr('rel');
var list_id_split = list_id.split( '-' );
var list_id_final = list_id_split[1];
jQuery( '#yks_form_error_message' ).after( '
' );
$ymce.ajax({
type: 'POST',
url: 'https://rivercitycomicexpo.com/wp-admin/admin-ajax.php',
data: {
action: 'yks_mailchimp_form_submit',
form_action: 'send_update_email',
user_email: user_email,
list_id : list_id_final
},
dataType: 'html',
success: function(response) {
jQuery( '.preloader-confirmation-box' ).html( response );
console.log('success' + response);
},
error: function(errorResponse) {
jQuery( '.preloader-confirmation-box' ).html( errorResponse );
console.log(errorResponse);
}
});
return false;
});
});
function extractEmails(text) {
return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);
}