Woocommerce to add custom shipping

wordpress

You can add custom shipping or fees on your woocommerce cart using below code.
make your additional charge add in eCommerce cart page add in total value based on cart or based on per product.
just add below code in your function.php file and see magic in cart page.

 

Read More

Contact form 7 data move to third party form

wordpress

You can post your contact form 7 data to third party form. add below code in function.php.  and add js in your js file. in js just change your id and class as per your requirement.

Third party form submition

when you use below code default contact form7 thankyou message not working so you need to java script to settimout() to add custom message using given script.

 

Read More

Remove css and script on specific wordpress page

wordpress

On your wordpress blog you have multiple style and script from plugin or them but you have no need to display all style and script on all page you can follow below step to  dequ.

you can just fien enque script name and dequeu it on specific page.

Read More

Woocommerce to hide specific category post on your shop page

wordpress

When you make shop and you have lot of produc and you need to hide some product from all list you just add below code in function.php to see magic.

Add category slug into array and you can add multiple category also like array(‘child1′,’child2′,’….’)

Read More