var breeze_prefetch = {"local_url":"https:\/\/hobbylegends.com","ignore_remote_prefetch":"1","ignore_list":["\/cart\/","\/checkout\/","\/my-account\/","wp-admin","wp-login.php"]};
var njt_gdpr_policy = {"ajaxurl":"https:\/\/hobbylegends.com\/wp-admin\/admin-ajax.php","nonce":"314724f790","plugin_url":"https:\/\/hobbylegends.com\/wp-content\/plugins\/ninja-gdpr-compliance"};
var wc_add_to_cart_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https:\/\/hobbylegends.com\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
var njt_gdpr = {"ajaxurl":"https:\/\/hobbylegends.com\/wp-admin\/admin-ajax.php","nonce":"181d76f50a","plugin_url":"https:\/\/hobbylegends.com\/wp-content\/plugins\/ninja-gdpr-compliance","current_lang":null,"current_page_id":"1491"};
Win exciting offers on purchases made in our eBay stores! *
Collect
Grow your collection + watch your investments grow!
Hobby Legends Card Shop NOW OPEN!
1277 W Central Ave Brea CA 92821
7145822584
Come visit our incredible selection of Sports cards, Trading Card Games, Comics, Supplies and much more. We BUY, SELL, TRADE, and specialize in all the latest Hobby Collectibles. Our huge inventory ranges from Baseball, Football, Basketball, Hockey, Soccer, Magic, Marvel, Pokémon, One Piece, Comics, Supplies, and so much more!
BREAK with the only LEGENDS in the HOBBY!
Bid on our auctions. Watch us on YouTube.
Bid on your favorite player or team and you'll receive all the cards of that team or player during that break. Join our breaks on eBay and watch us live on YouTube while we rip open boxes of cards LIVE ON CAMERA with one of the highest quality streams around! Once the live stream is complete, we then will ship you all the cards you've won to add to your collection. We specialize in large multi-case group breaks and offer immediate turn around service so you get your cards fast. Get in on the action and join the fun!
We use cookies to improve your experience, analyze traffic, and personalize content. You can manage your cookie preferences or opt out of non-essential cookies at any time.
Cookie Preferences
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
Name
Description
Duration
Cookie Preferences
This cookie is used to store the user's cookie consent preferences.
30 days
These cookies are needed for adding comments on this website.
Name
Description
Duration
comment_author
Used to track the user across multiple sessions.
Session
comment_author_email
Used to track the user across multiple sessions.
Session
comment_author_url
Used to track the user across multiple sessions.
Session
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
SourceBuster is used by WooCommerce for order attribution based on user source.
Name
Description
Duration
sbjs_session
The number of page views in this session and the current page path
30 minutes
sbjs_udata
Information about the visitor’s user agent, such as IP, the browser, and the device type
session
sbjs_first
Traffic origin information for the visitor’s first visit to your store (only applicable if the visitor returns before the session expires)
session
sbjs_current
Traffic origin information for the visitor’s current visit to your store
session
sbjs_first_add
Timestamp, referring URL, and entry page for your visitor’s first visit to your store (only applicable if the visitor returns before the session expires)
session
sbjs_current_add
Timestamp, referring URL, and entry page for your visitor’s current visit to your store
session
sbjs_migrations
Technical data to help with migrations between different versions of the tracking feature
session
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
A video-sharing platform for users to upload, view, and share videos across various genres and topics.
Registers a unique ID on mobile devices to enable tracking based on geographical GPS location.
1 day
VISITOR_INFO1_LIVE
Tries to estimate the users' bandwidth on pages with integrated YouTube videos. Also used for marketing
179 days
PREF
This cookie stores your preferences and other information, in particular preferred language, how many search results you wish to be shown on your page, and whether or not you wish to have Google’s SafeSearch filter turned on.
10 years from set/ update
YSC
Registers a unique ID to keep statistics of what videos from YouTube the user has seen.
Session
DEVICE_INFO
Used to detect if the visitor has accepted the marketing category in the cookie banner. This cookie is necessary for GDPR-compliance of the website.
179 days
LOGIN_INFO
This cookie is used to play YouTube videos embedded on the website.
2 years
VISITOR_PRIVACY_METADATA
Youtube visitor privacy metadata cookie
180 days
You can find more information in our Cookie Policy and .
×
Please enter you Paypal email ID to verfication
Verfiy
function paypaltogglePopup() {
jQuery(".paypalemailid").toggle();
}
function validatePhone(txtPhone) {
var phonenumber = txtPhone;
var filter = /^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/;
if (filter.test(phonenumber)) {
return true;
} else {
return false;
}
}
//validating address field on register page so that user cant enter random data
function validateAddress(addressInput, e) {
if (typeof placeId === 'undefined' || placeId === null || !placeId) {
// User hasn't selected an address from the suggestions
console.log('Please select an address from the suggestions.');
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please select a valid address from the autocomplete suggestions.</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault(); // Prevent form submission if the address is empty
jQuery('html, body').animate({
scrollTop: jQuery('.woocommerce-error').offset().top - 300
}, 1000);
return false;
} else {
// User has selected an address from the suggestions
// Proceed with your further validation or processing
console.log('Address is validated. Place ID: ' + placeId);
// var user_address = addressInput.val();
if (user_address === '') {
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please select a valid address from the autocomplete suggestions.</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault(); // Prevent form submission if the address is empty
jQuery('html, body').animate({
scrollTop: jQuery('.woocommerce-error').offset().top - 300
}, 1000);
return false;
} else {
// Make a synchronous API request to the Google Geocoding API
var apiKey = 'AIzaSyB0mAr0TtwwE4kSoCh42pquepIYhDw3VBs'; // Replace with your Google API key
var geocodingApiUrl = 'https://maps.googleapis.com/maps/api/geocode/json';
// Prepare the parameters for the API request
var requestData = {
address: user_address,
key: apiKey
};
var isValid = false;
// Send the API request
$.ajax({
url: geocodingApiUrl,
data: requestData,
async: false, // Make the request synchronous
success: function(response) {
if (response.status === 'OK') {
// Address is valid
isValid = true;
var location = response.results[0].geometry.location;
var latitude = location.lat;
var longitude = location.lng;
console.log('Latitude: ' + latitude);
console.log('Longitude: ' + longitude);
e.preventDefault();
} else {
// Address is not valid, display an error message
var errorMessage = 'Invalid or incomplete address. Please select a valid address.';
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> ' + errorMessage + '</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault();
// Scroll to the error message
jQuery('html, body').animate({
scrollTop: jQuery('.woocommerce-error').offset().top - 300
}, 1000); // You can adjust the scrolling duration (1000ms = 1 second)
}
}
});
return isValid;
}
}
}
jQuery(document).ready(function() {
//jQuery('form.woocommerce-EditAccountForm fieldset').remove();
jQuery('form.woocommerce-form-register').on('submit', function(e) {
var reg_username = jQuery('form.woocommerce-form-register input#reg_username').val();
var reg_email = jQuery('form.woocommerce-form-register input#reg_email').val();
var reg_password = jQuery('form.woocommerce-form-register input#reg_password').val();
var phonenumber = jQuery('form.woocommerce-form-register input#phone_number').val();
//var user_address = jQuery('form.woocommerce-form-register textarea#user_address').val();
var addressInput = jQuery('form.woocommerce-form-register textarea#user_address');
jQuery('.woocommerce-error').remove();
if (reg_username == '') {
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a username.</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault();
} else if (reg_email == '') {
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a valid email address.</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault();
} else if (phonenumber != '' || phonenumber == '') {
if (phonenumber == '') {
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a phone number.</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault();
} else {
if (!validatePhone(phonenumber)) {
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a valid phone number.</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault();
} else {
// if (user_address == '' ) {
// var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide address.</li></ul>';
// jQuery(html).insertBefore("form.woocommerce-form-register");
// e.preventDefault();
// }
if (!validateAddress(addressInput, e)) {
e.preventDefault(); // Prevent form submission if the address is not valid
}
}
}
} else if (user_address == '') {
var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide address.</li></ul>';
jQuery(html).insertBefore("form.woocommerce-form-register");
e.preventDefault();
} else {
}
})
jQuery('.paymentGateway button').click(function() {
jQuery('body').addClass('popup-body');
});
jQuery('.paypalemailid .close-btn').click(function() {
jQuery('body').removeClass('popup-body');
});
jQuery('#paypalemailbutton').click(function() {
var paypalemail = jQuery('#paypalemail').val();
if (paypalemail) {
jQuery('.loadingImg').show();
var ajax_url = "https://hobbylegends.com/wp-admin/admin-ajax.php";
var datas = {
'action': 'verificationPaypalEmail',
'paypalemail': paypalemail
};
jQuery.ajax({
url: ajax_url,
type: 'POST',
data: datas,
success: function(response) {
jQuery('.loadingImg').hide();
jQuery('#requestresponse').html(response);
setTimeout(function() {
location.reload();
}, 1500);
}
});
} else {
jQuery('#paypalemail').css('border', '1px solid red');
}
})
});
var video = document.getElementById('banner-vdo');
function toggleMutes() {
video.muted = !video.muted;
}
jQuery(document).ready(function($) {
//var video=document.getElementById("banner-vdo") ;
$(video).on("click", function(e) {
video.muted = !video.muted;
});
})
var wpconsent = {"consent_duration":"30","css_url":"https:\/\/hobbylegends.com\/wp-content\/plugins\/wpconsent-cookies-banner-privacy-suite\/build\/frontend.css","css_version":"a8286cb6badc0ea54ce0","default_allow":"","consent_type":"optin","manual_toggle_services":"","slugs":["essential","statistics","marketing"],"enable_consent_banner":"1","enable_script_blocking":"1","enable_content_blocking":"1","enable_consent_floating":"1","enable_shared_consent":"","cookie_domain":"","accept_button_enabled":"1","cancel_button_enabled":"1","preferences_button_enabled":"1","respect_gpc":"","gpc_toast_message":"GPC Signal Honored","gpc_toast_duration":"10000","gpc_toast_enabled":"1"};
var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"base64":false,"ajaxurl":"https:\/\/hobbylegends.com\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
//paste this code under the head tag or in a separate js file.
// Wait for window load
$(document).ready(function(){
// Animate loader off screen
$(".se-pre-con").fadeOut("slow");
});