Retur

Formular de retragere / retur

Completează formularul de mai jos pentru a transmite online cererea de retragere din contract / retur pentru o comandă Shopius.

Dacă dorești să returnezi unul sau mai multe produse eligibile dintr-o comandă online Shopius, completează formularul de mai jos. După trimitere, vei primi automat o confirmare pe email cu datele cererii tale. Solicitarea va fi procesată conform Politicii de retur Shopius.












    To top
    /** * RETUR Shopius Partener dupa plata: comenzile cu meta _b2b_order_id * redirecteaza pagina "order-received" inapoi in platforma partener. * Comenzile normale de pe magazin NU sunt afectate. */ add_action('template_redirect', function () { if (!function_exists('is_wc_endpoint_url') || !is_wc_endpoint_url('order-received')) { return; } global $wp; $order_id = isset($wp->query_vars['order-received']) ? absint($wp->query_vars['order-received']) : 0; if (!$order_id) { return; } $order = wc_get_order($order_id); if (!$order) { return; } $b2b_id = $order->get_meta('_b2b_order_id'); if ($b2b_id) { wp_redirect('https://b2b.portalefi.online/app/comenzi/' . rawurlencode($b2b_id) . '?paid=1'); exit; } }); /** * Fix paginare WooCommerce/WOOF când linkurile sunt generate greșit către admin-ajax.php. */ add_filter( 'get_pagenum_link', 'shopius_fix_woof_admin_ajax_pagination_link', 20, 2 );function shopius_fix_woof_admin_ajax_pagination_link( $result, $pagenum ) { if ( false === strpos( $result, '/wp-admin/admin-ajax.php' ) && false === strpos( $result, 'admin-ajax.php' ) ) { return $result; }if ( ! shopius_is_filtered_product_archive_request() ) { return $result; }return shopius_build_filtered_archive_page_url( $pagenum ); }function shopius_is_filtered_product_archive_request() { if ( isset( $_REQUEST['swoof'] ) || isset( $_REQUEST['really_curr_tax'] ) ) { return true; }foreach ( $_REQUEST as $key => $value ) { $key = sanitize_key( $key );if ( 0 === strpos( $key, 'pa_' ) || taxonomy_exists( $key ) ) { return true; } }if ( function_exists( 'is_shop' ) && is_shop() ) { return true; }if ( function_exists( 'is_product_taxonomy' ) && is_product_taxonomy() ) { return true; }return false; }function shopius_build_filtered_archive_page_url( $pagenum ) { $pagenum = absint( $pagenum ); $base_url = shopius_get_filtered_archive_base_url(); $args = shopius_get_filtered_archive_query_args();unset( $args['paged'], $args['product-page'] );if ( $pagenum > 1 ) { $args['paged'] = $pagenum; }return esc_url_raw( add_query_arg( $args, $base_url ) ); }function shopius_get_filtered_archive_base_url() { $front_url = shopius_get_front_archive_url_from_request();if ( $front_url ) { $path = wp_parse_url( $front_url, PHP_URL_PATH );if ( $path ) { $path = preg_replace( '#/page/[0-9]+/?$#', '/', $path ); return home_url( $path ); } }if ( ! empty( $_REQUEST['really_curr_tax'] ) && is_scalar( $_REQUEST['really_curr_tax'] ) ) { $really_curr_tax = sanitize_text_field( wp_unslash( $_REQUEST['really_curr_tax'] ) );if ( preg_match( '/^(\d+)-([a-zA-Z0-9_]+)$/', $really_curr_tax, $match ) ) { $term = get_term( absint( $match[1] ), sanitize_key( $match[2] ) );if ( $term && ! is_wp_error( $term ) ) { $link = get_term_link( $term );if ( ! is_wp_error( $link ) ) { return $link; } } } }$queried = get_queried_object();if ( $queried instanceof WP_Term ) { $link = get_term_link( $queried );if ( ! is_wp_error( $link ) ) { return $link; } }if ( function_exists( 'wc_get_page_permalink' ) ) { return wc_get_page_permalink( 'shop' ); }return home_url( '/' ); }function shopius_get_front_archive_url_from_request() { $candidates = array(); $home_host = wp_parse_url( home_url(), PHP_URL_HOST );foreach ( array( 'woof_current_page_link', 'link', '_wp_http_referer' ) as $key ) { if ( ! empty( $_REQUEST[ $key ] ) && is_scalar( $_REQUEST[ $key ] ) ) { $candidates[] = esc_url_raw( wp_unslash( $_REQUEST[ $key ] ) ); } }$referer = wp_get_referer();if ( $referer ) { $candidates[] = $referer; }foreach ( $candidates as $url ) { $path = wp_parse_url( $url, PHP_URL_PATH );if ( ! $path || false !== strpos( $path, 'admin-ajax.php' ) ) { continue; }$host = wp_parse_url( $url, PHP_URL_HOST );if ( $host && $home_host && strtolower( $host ) !== strtolower( $home_host ) ) { continue; }return $url; }return ''; }function shopius_get_filtered_archive_query_args() { $args = array();$front_url = shopius_get_front_archive_url_from_request();if ( $front_url ) { $query = wp_parse_url( $front_url, PHP_URL_QUERY );if ( $query ) { parse_str( $query, $parsed );foreach ( $parsed as $key => $value ) { if ( shopius_should_keep_query_arg( $key, false ) ) { $args[ sanitize_key( $key ) ] = shopius_clean_query_arg_value( $value ); } } } }foreach ( $_GET as $key => $value ) { if ( shopius_should_keep_query_arg( $key, false ) ) { $args[ sanitize_key( $key ) ] = shopius_clean_query_arg_value( $value ); } }foreach ( $_POST as $key => $value ) { if ( shopius_should_keep_query_arg( $key, true ) ) { $args[ sanitize_key( $key ) ] = shopius_clean_query_arg_value( $value ); } }return $args; }function shopius_should_keep_query_arg( $key, $strict_public_only ) { $key = sanitize_key( $key );if ( '' === $key ) { return false; }$blocked = array( 'action', 'security', 'nonce', '_wpnonce', '_wp_http_referer', 'paged', 'product-page', 'page', 'add-to-cart', 'wc-ajax', 'link', 'woof_current_page_link', 'woof_ajax', 'woof_shortcode', 'woof_redraw_elements', 'woof_products_doing_ajax', 'woof_wp_query_args', );if ( in_array( $key, $blocked, true ) ) { return false; }if ( ! $strict_public_only ) { return true; }if ( in_array( $key, array( 'swoof', 'really_curr_tax', 'orderby', 'min_price', 'max_price', 's', 'post_type', 'product_cat', 'product_tag', ), true ) ) { return true; }if ( 0 === strpos( $key, 'pa_' ) || 0 === strpos( $key, 'filter_' ) || 0 === strpos( $key, 'query_type_' ) ) { return true; }if ( taxonomy_exists( $key ) ) { return true; }return false; }function shopius_clean_query_arg_value( $value ) { $value = wp_unslash( $value );if ( is_array( $value ) ) { return array_map( 'shopius_clean_query_arg_value', $value ); }return sanitize_text_field( $value ); } preloader