Woocommerce product price change

Try this code. function return_custom_price($price, $product) { $price = $product->get_regular_price(); if($price > 100){ $updatedprice = 100; }else{ $updatedprice = $price; } return $updatedprice; } add_filter(‘woocommerce_get_price’, ‘return_custom_price’, 10, 2);

Including Font Awesome in a Custom Theme

You can go about this in a number of ways. 1) Copy and paste the script tag containing your font-awesome kit in your footer.php before the closing body tag. 2) Using wp_enqueue_style. Below is a working example of a custom WordPress theme with FA enqueued: `function theme_enqueue_scripts() { wp_enqueue_style( ‘Font_Awesome’, ‘https://use.fontawesome.com/releases/v5.6.1/css/all.css‘ ); wp_enqueue_style( ‘Bootstrap_css’, get_template_directory_uri() … Read more