Tags » Woocommerce

How to add new text on order-received or thank-you page in woocommerce with wordpress hooks?

If you want to new text on order-received or thank-you page in woocommerce with woprdpress hooks, please add below add action method in your theme funtions.php file: 14 more words

Wordpress

A Stork

I’ve been busy. I am still busy but I think I can see light at the end of the tunnel. I’m building an e-commerce store with Woocommerce. 52 more words

Photography

Add custom Shipping Rate

add_action( 'woocommerce_cart_calculate_fees','woocommerce_custom_surcharge' );
function woocommerce_custom_surcharge() {
  global $woocommerce;

 if ( is_admin() && ! defined( 'DOING_AJAX' ) )
  return;

 $percentage = 0.01;
 $surcharge = ( $woocommerce->cart->cart_contents_total + $woocommerce->cart->shipping_total ) * $percentage; 
 $woocommerce->cart->add_fee( 'Surcharge', $surcharge, true, '' );

}
Woocommerce

Change Woocommerce Request a Quote Button Text

You can place this text in your functions.php file.

add_filter('add_to_quotelist_text','custom_dvin_quotelistbutton_label'); 
function custom_dvin_quotelistbutton_label(){
return __('My Custom Text',"dvinwcql");
}
Sanjay Triumph

Shipping cost based on minimum cost and maximum cost

Based on minimum cost and maximum cost we can define shipping costs using “WooCommerce Table Rate Shipping by Mangohour“.

Using this plugin we can define shipping costs for individual countries also.

Woocommerce

Aware & Prevent of SQL Injection Methods in PHP

SQL Query Structure or injection is a technique often used for data sanitization and validation by hackers compromising your network to access your data or information, destroy data and take control over your system. 233 more words

Web Development