pidzejj
Forum Replies Created
-
Forum: Plugins
In reply to: [Nastavenia SK/CZ pre WooCommerce] Pri zmene stavu sa zma?e I?O DI? I? DPHPardon za dotaz, ale ?e?íte to nějak? Myslím, ?e by se spoustě u?ivatel?m hodilo, kdyby se to nemazalo p?i změně stavu
Forum: Plugins
In reply to: [Nastavenia SK/CZ pre WooCommerce] Pri zmene stavu sa zma?e I?O DI? I? DPHMám ten stejny problém. WC 3.5.2, WP 4.9.8, plugin 2.0.2
Forum: Plugins
In reply to: [Nastavenia SK/CZ pre WooCommerce] Nákup na firmu zcela naho?eEDIT: Vy?e?eno. Změnil jsem priority v souboru settings ve Va?em pluginu. Díky za tip!
Forum: Plugins
In reply to: [Nastavenia SK/CZ pre WooCommerce] Nákup na firmu zcela naho?eOmlouvám se, ale neumím programovat ve wordpressu. Jak zní syntaxe tohoto filtru?
Jestli to chápu správně, vá?e firemní pole se vlo?í kamsi doprost?ed formulá?e a mají tedy nějakou prioritu, tak?e by sta?ilo někde v nastavení prioritu změnit?dougaitken
Yes for single product it worked also in my site but i am talking about variant product. The problem appeared in this type of product. (Not single)
Now I have a solution. Some guy from another forum gave me this code:
add_filter( 'woocommerce_format_dimensions', 'change_formated_product_dimentions', 10, 2 ); function change_formated_product_dimentions( $dimension_string, $dimensions ){ if ( empty( $dimension_string ) ) return __( 'N/A', 'woocommerce' ); $dimensions = array_filter( array_map( 'wc_format_localized_decimal', $dimensions ) ); return implode( ' x ', $dimensions ) . get_option( 'woocommerce_dimension_unit' ); }
Use it in function.php
It causes change of formatting in original woocommerce php file.The problem has been fixed. On another forum some guy gave me a php code to change format of woocommerce php file, which takes care about formatting of
×
. Thanks for help