@ini_set( 'upload_max_size' , '256M' ); @ini_set( 'post_max_size', '64M'); @ini_set( 'max_execution_time', '300' ); // Add custom Theme Functions here add_filter( 'idoklad_order_item_name_size', 'toret_idoklad_order_item_name_size', 10, 2 ); function toret_idoklad_order_item_name_size(){ return true; } add_filter( 'woocommerce_ship_to_different_address_checked', '__return_false' ); add_filter( 'woocommerce_price_trim_zeros', '__return_true' ); add_filter( 'wc_order_is_editable', 'wc_make_processing_orders_editable', 10, 2 ); function wc_make_processing_orders_editable( $is_editable, $order ) { if ( $order->get_status() == 'processing' or $order->get_status() == 'eka-na-platbu') { $is_editable = true; } return $is_editable; //Platba na fakturu zákazník "zpracovává se" // // } // /** * @snippet Save & Display Order Total Weight - WooCommerce Order * @how-to Get CustomizeWoo.com FREE * @author Rodolfo Melogli * @compatible WooCommerce 3.6.4 * @donate $9 https://businessbloomer.com/bloomer-armada/ */ add_action('wp_ajax_add_custom_product_to_cart', 'add_custom_product_to_cart'); add_action('wp_ajax_nopriv_add_custom_product_to_cart', 'add_custom_product_to_cart'); function add_custom_product_to_cart() { $product_id = 123; // ID produktu $quantity = 1; $custom_data = array( 'thickness' => sanitize_text_field($_POST['thickness']), 'width' => sanitize_text_field($_POST['width']), 'height' => sanitize_text_field($_POST['height']), 'price' => sanitize_text_field($_POST['price']), ); $cart_item_data = array( 'custom_data' => $custom_data ); WC()->cart->add_to_cart($product_id, $quantity, 0, array(), $cart_item_data); wp_send_json_success(); } //omezení plateb pro Messinu a Oliveri add_filter('woocommerce_available_payment_gateways', 'custom_disable_payment_gateways_for_specific_products'); function custom_disable_payment_gateways_for_specific_products($available_gateways) { if (is_admin()) return $available_gateways; // Seznam produktů, pro které chceme zakázat platební metody $restricted_product_ids = array(25926, 25858); // Procházení produktů v košíku foreach (WC()->cart->get_cart() as $cart_item) { if (in_array($cart_item['product_id'], $restricted_product_ids)) { // Zakázané platební metody unset($available_gateways['cod']); // Dobírka unset($available_gateways['vznm']); // Příklad jiné platební metody unset($available_gateways['dobirka']); // Další platební metoda } } return $available_gateways; } add_filter( 'wpcvt_hide_variations_form', '__return_false' ); // neukrývej form add_filter( 'wpcvt_sync_table_with_attributes', '__return_true' ); // zapni synchronizaci Stopsol Super Silver čirý 6mm - Sklenářství online

Stopsol Super Silver čirý 6mm

2862,86  včetně DPH 21 %

Další možnosti:
Užíváme cookies, abychom vám zajistili co možná nejsnadnější použití našich webových stránek. Pokud budete nadále prohlížet naše stránky, předpokládáme, že s použitím cookies souhlasíte.
Sdílet košík