Skip to content

Studio WP

Wordpress && WooCommerce Tips and Tricks

  • Home
Main Menu
WooCommerce

Disable password strange check when creating account

February 27, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

To disable password strength checking when creating a customer account in the order form, add the following code to the theme’s functions.php. View the code on Gist.

Tweet
Share
Share
Pin
0 Shares
Read More
WooCommerce

Send new order email to additional address when coupon applied

January 27, 2018January 27, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

To send new order email when coupon applied to additional address you can use code below. Add this code to functions.php in your theme.  Modify $coupon_code and $add_recipient variables to you requirements. View …

Tweet
Share
Share
Pin
0 Shares
Read More
WooCommerce

Products search – product category

January 27, 2018January 27, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

By default, the WooCommerce Search Engine only searches the titles and content of the product description. In order to include the product category in the search, the two following code …

Tweet
Share
Share
Pin
0 Shares
Read More
Wordpress

Posts search – categories

January 27, 2018 - by grola - 1 Comment
Tweet
Share
Share
Pin
0 Shares

By default, the WordPress search engine only searches the titles and content of the posts. In order to include the category of the post in the search, the two following …

Tweet
Share
Share
Pin
0 Shares
Read More
WooCommerce

Disable payment method for currency

January 24, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

To disable specified payment method for specified currency you should add this code to functions.php file in theme folder. This code should work with any currency switcher plugin. In this code …

Tweet
Share
Share
Pin
0 Shares
Read More
WooCommerce

Additional content under the “Add to cart” button on the product page in the categories indicated

January 24, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

To add content under the “Add to cart” button on the product page in the categories indicated, add the following code to the file functions.php in the theme directory. You …

Tweet
Share
Share
Pin
0 Shares
Read More
WooCommerce

Optimizing large stores – removing product sorting options

January 22, 2018January 22, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

In large and very large stores there is a so-called scale effect – loading some pages that generate a heavy load on the database can significantly slow down, while slowing …

Tweet
Share
Share
Pin
0 Shares
Read More
WooCommerce

Displaying one price for variable products

January 22, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

To display variable product price as a single value, add the following code to the functions.php file in theme.  After adding the code, the price of the cheapest variant with …

Tweet
Share
Share
Pin
0 Shares
Read More
Wordpress

Remove meta generator from page header

January 20, 2018January 20, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

To remove the meta generator tag from the page header, add the following code in the functions.php: View the code on Gist.

Tweet
Share
Share
Pin
0 Shares
Read More
Wordpress

Shortcodes in text widgets

January 19, 2018January 19, 2018 - by grola - Leave a Comment
Tweet
Share
Share
Pin
0 Shares

By default, WordPress does not execute shortcodes in text widgets. To enable this function, simply add one line of code to the theme’s functions.php. View the code on Gist.

Tweet
Share
Share
Pin
0 Shares
Read More

Posts navigation

1 2 Next

Categories

  • WooCommerce
  • Wordpress

Recent Posts

  • Disable password strange check when creating account
  • Send new order email to additional address when coupon applied
  • Products search – product category
  • Posts search – categories
  • Disable payment method for currency

Recent Comments

  • Janusz Kamiński on Posts search – categories

Language

  • English
  • Polski
Copyright © 2023 Studio WP.
Powered by WordPress and HitMag.