Remove Zero Decimals from product price in WooCommerce
you can remove zero from the product price by using this code on function.php file. add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
you can remove zero from the product price by using this code on function.php file. add_filter( 'woocommerce_price_trim_zeros', '__return_true' );
You can change the currency symbol by using the following code: /** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency ) { switch( $currency…
At first, we can see the hook used in woocommerce product page.
Just copy and paste the code your active child theme of functions.php.(take a backup of your website before doing it) add_filter('woocommerce_catalog_orderby', 'wc_customize_product_sorting'); function wc_customize_product_sorting($sorting_options){ $sorting_options = array( 'menu_order' => __(…
Step 1: Copy the code below & paste it to your 'wp-config.php' file your WordPress website directory define('ALLOW_UNFILTERED_UPLOADS', true); Step 2: Copy the code below & paste it to your…