// Function to update error message
$('#url-alart-mgs').text(message).css('color', message ? 'red' : ''); // Apply red color if message is not empty
// Function to show WordPress error notice
// Function to check store URL availability
// Store URL is available
updateErrorMessage(''); // Clear any existing error message
// Enable submit button
// Clear WordPress error notice
// Remove red border from brand name field
// Store URL is not available
$('#seller-url').val(''); // Clear the store URL field
// Disable submit button
// Show WordPress error notice
// Apply red border to brand name field
// Disable submit button at the start
// Automatically check store URL availability when user focus out of the brand name field
// Check if the store URL is not empty
// Clear any existing error message
// Remove red border from brand name field