/** * Theme functions and definitions. * * For additional information on potential customization options, * read the developers' documentation: * * https://developers.elementor.com/docs/hello-elementor-theme/ * * @package HelloElementorChild */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } define( 'HELLO_ELEMENTOR_CHILD_VERSION', '2.0.0' ); /** * Load child theme scripts & styles. * * @return void */ function hello_elementor_child_scripts_styles() { wp_enqueue_style( 'hello-elementor-child-style', get_stylesheet_directory_uri() . '/style.css', [ 'hello-elementor-theme-style', ], HELLO_ELEMENTOR_CHILD_VERSION ); } add_action( 'wp_enqueue_scripts', 'hello_elementor_child_scripts_styles', 20 ); if (function_exists("register_sidebar")) { register_sidebar(); } //brands shortcode function brandsshortcode() { $markes = get_terms("pa_marka"); $count_value = 4; $marka_teliko[] = '
'; $bulletmetrhma = 0; $bullets[] = '
  • '; foreach($markes as $marka){ //$marka_id[] = $marka->term_id; // ID value //$marka_name[] = $marka->name; //$marka_link[] = get_site_url().'/marka/'.$marka->slug; $marka_teliko[] = '
    '; $count_value = $count_value+4; } $bulletmetrhma = 1; while ($bulletmetrhma < (count($markes)/4)){ $bullets[] = '
  • '; $bulletmetrhma++; } $bullets2 = implode("\n", $bullets); $markateliko2 = implode("\n", $marka_teliko); return '

    '; } add_shortcode('brands', 'brandsshortcode'); //το shortcode είναι το [brands] //custom categories add_filter( 'wp_get_nav_menu_items', 'wpcb_add_product_subcats_to_menu' ); if ( ! function_exists( 'wpcb_add_product_subcats_to_menu' ) ) { /** * wpcb_add_product_subcats_to_menu. * * @see https://wpcodebook.com/snippets/automatically-add-woocommerce-product-subcategories-to-categories-in-menu/ */ function wpcb_add_product_subcats_to_menu( $items ) { if ( is_admin() ) { return $items; } $children_order = count( $items ) + 1; foreach ( $items as $item ) { $items = wpcb_process_menu_item( $item, $items, $children_order ); } return $items; } } if ( ! function_exists( 'wpcb_process_menu_item' ) ) { /** * wpcb_process_menu_item. */ function wpcb_process_menu_item( $item, $items, &$children_order ) { if ( 'product_cat' === $item->object ) { $children = get_terms( array( 'taxonomy' => 'product_cat', 'hide_empty' => false, 'parent' => $item->object_id, 'limit' => -1, 'orderby' => 'title', 'order' => 'ASC', ) ); if ( ! empty( $children ) && ! is_wp_error( $children ) ) { foreach ( $children as $child ) { $tmp_item = new stdClass(); $tmp_item->ID = 100000 + $children_order; $tmp_item->post_author = $item->post_author; $tmp_item->post_date = ''; $tmp_item->post_date_gmt = ''; $tmp_item->post_content = ''; $tmp_item->post_title = ''; $tmp_item->post_excerpt = ''; $tmp_item->post_status = 'publish'; $tmp_item->comment_status = ''; $tmp_item->ping_status = ''; $tmp_item->post_password = ''; $tmp_item->post_name = $child->name; $tmp_item->to_ping = ''; $tmp_item->pinged = ''; $tmp_item->post_modified = ''; $tmp_item->post_modified_gmt = ''; $tmp_item->post_content_filtered = ''; $tmp_item->post_parent = 0; $tmp_item->guid = ''; $tmp_item->menu_order = $children_order; $tmp_item->post_type = 'nav_menu_item'; $tmp_item->post_mime_type = ''; $tmp_item->comment_count = ''; $tmp_item->filter = 'raw'; $tmp_item->db_id = $tmp_item->ID; $tmp_item->menu_item_parent = $item->ID; $tmp_item->object_id = $child->term_id; $tmp_item->object = 'product_cat'; $tmp_item->type = 'taxonomy'; $tmp_item->type_label = ''; $tmp_item->url = get_term_link( $child->term_id ); $tmp_item->title = $child->name; $tmp_item->target = ''; $tmp_item->attr_title = ''; $tmp_item->description = ''; $tmp_item->classes = array( 0 => '' ); $tmp_item->xfn = ''; $items[] = $tmp_item; $children_order++; $items = wpcb_process_menu_item( $tmp_item, $items, $children_order ); } } } return $items; } } //κώδικας μεταφορικών add_action( 'woocommerce_cart_calculate_fees', function() { $cod_fee = 2.5; $chosen_gateway = WC()->session->get( 'chosen_payment_method' ); $synolokalathiou = WC()->cart->subtotal; if ($chosen_gateway == 'cod' && ($synolokalathiou < 100 || $synolokalathiou == 100)) { $chosen_shipping_methods = wc_get_chosen_shipping_method_ids(); if ( !in_array('local_pickup', $chosen_shipping_methods) ) { WC()->cart->add_fee( __('Έξοδα Αντικαταβολής', 'woocommerce'), $cod_fee ); } } } ); add_filter( 'woocommerce_available_payment_gateways', 'custom_available_payment_gateways' ); function custom_available_payment_gateways( $gateways ) { if ( WC()->cart->subtotal > 100 ) { unset( $gateways['cod'] ); } return $gateways; } add_filter( 'rank_math/sitemap/base_url', function( $base ){ return 'body-sitemap/'; // Change "search-sitemaps/" to your desired path }); DVERGE JR 92800407748 helmet - Bodypro

    DVERGE JR 92800407748 helmet

    23,70 

    👁️ 648 επισκέπτες είδαν το προϊόν τις τελευταίες 30 ημέρες.
    ΕΠΙΠΛΕΟΝ ΕΚΠΤΩΣΗ ΕΠΙ ΤΗΣ ΤΕΛΙΚΗΣ ΤΙΜΗΣ για παραγγελίες με Άμεση Τραπεζική Μεταφορά - ή με Iris Payments
    Κωδικός: 92800407748 Κατηγορίες: , ,

    Περιγραφή

    Helmet DVERGE JR

    Properties:

    • made for children
    • IN-MULD technology
    • size adjustment
    • insect mesh
    • 15 vents
    • detachable lining
    • size: S (48-52cm), M (52-56cm), L (55-61cm),

    Material:

    • polyester

    Color:

    • black

    Μεγέθη: 38|39,5|40|40,5|41,5|42|42,5|43,5|44|44,5|45

    Επιπλέον πληροφορίες

    Βάρος 0,5 κ.
    Category

    Accessories

    Barcode

    5902786336593, 5902786336586, 5902786336579

    Gender

    Men, Women

    Sport

    Multisport, Bike

    Product Type

    Protectors and knee pads

    Producer

    Another

    Colour

    Black

    Material

    Polyester

    Google Icon Δείτε τι λένε οι Πελάτες μας για εμάς
    ★★★★★
    2

    Your Cart

    DVERGE JR 92800407748 helmet

    DVERGE JR 92800407748 helmet

    23,70