// function enqueue_custom_scripts() { // Enqueue script for auto-filling billing information on the checkout page if (is_checkout()) { wp_enqueue_script( 'auto-fill-billing', get_stylesheet_directory_uri() . '/js/auto-fill-billing.js', array('jquery'), null, true ); } // Enqueue custom script wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/js/custom-script.js', array('jquery'), null, true ); } add_action('wp_enqueue_scripts', 'enqueue_custom_scripts'); add_action('woocommerce_checkout_process', 'fix_shipping_address_format'); function fix_shipping_address_format() { // Ensure shipping address fields are arrays if (isset($_POST['shipping_address_1']) && !is_array($_POST['shipping_address_1'])) { $_POST['shipping_address'] = array( 'address_1' => sanitize_text_field($_POST['shipping_address_1']), 'address_2' => sanitize_text_field(isset($_POST['shipping_address_2']) ? $_POST['shipping_address_2'] : ''), 'city' => sanitize_text_field(isset($_POST['shipping_city']) ? $_POST['shipping_city'] : ''), 'state' => sanitize_text_field(isset($_POST['shipping_state']) ? $_POST['shipping_state'] : ''), 'postcode' => sanitize_text_field(isset($_POST['shipping_postcode']) ? $_POST['shipping_postcode'] : ''), 'country' => sanitize_text_field(isset($_POST['shipping_country']) ? $_POST['shipping_country'] : ''), ); } } // Display SKU on Shop page // function display_variation_sku_on_product_grid() { // // Get the product ID from the current loop // $product_id = get_the_ID(); // // Get the product object by ID // $product = wc_get_product( $product_id ); // if ( $product ) { // // If the product is a variable product, fetch one variation // if ( $product->is_type( 'variable' ) ) { // $variations = $product->get_available_variations(); // if ( ! empty( $variations ) ) { // // Get the first variation's ID // $variation_id = $variations[0]['variation_id']; // // Fetch the variation product object // $variation_product = wc_get_product( $variation_id ); // // Fetch and display the SKU // if ( $variation_product ) { // $sku = $variation_product->get_sku(); // echo '
SKU: ' . esc_html( $sku ) . '
'; // } // } // } else { // // For simple products, fetch the SKU // $sku = $product->get_sku(); // if ( $sku ) { // echo 'SKU: ' . esc_html( $sku ) . '
'; // } // } // } // } // add_action( 'woocommerce_after_shop_loop_item', 'display_sku_and_tryon_button', 15 );P H I L I P P E V’s Eyewear is offered with a 1 year warranty from invoice date against any manufacturer’s defect, defined as the breaking of solder or weld points, discoloration of finishes not associated with normal wear, loosening if embedded hinges, etc., and any ancillary part or detail of a frame that is defective. Scratch lenses and abused eyewear will not be warranted under any conditions.
If a damaged frame is covered by P H I L I P P E V’s Warranty Policy we will exchange the frame for free.
Misuse and abuse are not covered by Philippe V’s warranty policy.
If you wish to claim for a warranty exchange, please send a clear picture of the problem to websales@philippev.com along with a copy of the invoice and your full details, a customer service representative will contact you within a short time.
ABOUT US:
Full name of our company is Philippe V Limited.
We are registered in Cyprus under registration number 28430568
Our company VAT number is CY10418399K
Our registered address is Arch. Makariou III & Evagorou 1-7,
MITSI 3, 1st floor, office 102, 1065, Nicosia CYPRUS
You can contact us by email to info@philippev.com.