add_action( ‘woocommerce_before_shop_loop_item_title’, ‘amitpal_show_sale_percentage_loop’, 25 ); function amitpal_show_sale_percentage_loop() { global $product; if ( ! $product->is_on_sale() ) return; if ( $product->is_type( ‘simple’ ) ) { $max_percentage =
// Removing sale badge add_filter(‘woocommerce_sale_flash’, ‘__return_false’); // Removing archives prices remove_action( ‘woocommerce_after_shop_loop_item_title’, ‘woocommerce_template_loop_price’, 10 ); // Add the saved discounted percentage to variable products add_filter(‘woocommerce_format_sale_price’,
Switch product image on hover on WooCommerce or How To Flip Product Images On Hover or Flip or Change a Product Image on Hover add_action(
You can achieve disable billing address by using the hooks in functions file of wordpress theme. Use these two hooks below: add_filter( ‘woocommerce_checkout_fields’ , ‘remove_billing_fields_from_checkout’
We will discuss here, how to implement Google Login using the native Google+ App on your android or or your iOS device in a Cordova/Phonegap
Use this code snippet to base64 encode your font directly in the browser (OS independent, no need to install anything) Then copy the output and
Disable WordPress Admin Bar for All Users Except Administrators
Accessing form data in JS
Account
Site
Copyright © 2022 AmitpalSingh.com, doing business as Woocoders. All Rights Reserved.
Got a Question? Check out our FAQ Section.