Dessky » woocommerce https://dessky.com Providing Digital Products and Support Tue, 16 Dec 2025 10:28:15 +0000 en-US hourly 1 How much is WooCommerce slowing down your WordPress site? https://dessky.com/blog/how-much-is-woocommerce-slowing-down-your-wordpress-site/ https://dessky.com/blog/how-much-is-woocommerce-slowing-down-your-wordpress-site/#comments Fri, 02 Jun 2023 13:10:31 +0000 https://dessky.com/?p=3535 If you are thinking about installing WooCommerce on your WordPress site you might want to think first about how it will affect to your website performance.

The post How much is WooCommerce slowing down your WordPress site? appeared first on Dessky.

]]>
https://dessky.com/blog/how-much-is-woocommerce-slowing-down-your-wordpress-site/feed/ 0
How to speed up WordPress site with BuddyPress and bbPress https://dessky.com/blog/how-to-speed-up-wordpress-site-with-buddypress-and-bbpress/ https://dessky.com/blog/how-to-speed-up-wordpress-site-with-buddypress-and-bbpress/#comments Fri, 02 Jun 2023 13:05:59 +0000 https://dessky.com/?p=3536 In the previous article we have found out that BuddyPress and bbPress took a hefty performance toll on the backend of your website. This is how we fixed it.

The post How to speed up WordPress site with BuddyPress and bbPress appeared first on Dessky.

]]>
https://dessky.com/blog/how-to-speed-up-wordpress-site-with-buddypress-and-bbpress/feed/ 0
How does BuddyPress and bbPress affect WordPress performance? https://dessky.com/blog/how-does-buddypress-and-bbpress-affect-wordpress-performance/ https://dessky.com/blog/how-does-buddypress-and-bbpress-affect-wordpress-performance/#comments Fri, 02 Jun 2023 13:00:38 +0000 https://dessky.com/?p=3534 How much will BuddyPress and bbPress affect performance of your WordPress site? We have conducted some quick tests on the website with 1k users.

The post How does BuddyPress and bbPress affect WordPress performance? appeared first on Dessky.

]]>
https://dessky.com/blog/how-does-buddypress-and-bbpress-affect-wordpress-performance/feed/ 0
We have tested top WooCommerce booking plugins and here is what we found https://dessky.com/blog/we-have-tested-top-woocommerce-booking-plugins-and-here-is-what-we-found/ https://dessky.com/blog/we-have-tested-top-woocommerce-booking-plugins-and-here-is-what-we-found/#comments Fri, 02 Jun 2023 12:00:05 +0000 https://dessky.com/?p=3537 In this particular benchmark test we will look into performance for Bookly, Events Manager, Booking Calendar on PageSpeed Insights, Pingdom and admin area.

The post We have tested top WooCommerce booking plugins and here is what we found appeared first on Dessky.

]]>
https://dessky.com/blog/we-have-tested-top-woocommerce-booking-plugins-and-here-is-what-we-found/feed/ 0
How We Speed Up WooCommerce Website With 10k Products To 99 Performance Score On PageSpeed Insights https://dessky.com/blog/how-we-speed-up-woocommerce-website-with-10k-products-to-99-performance-score-on-pagespeed-insights/ https://dessky.com/blog/how-we-speed-up-woocommerce-website-with-10k-products-to-99-performance-score-on-pagespeed-insights/#comments Tue, 30 May 2023 12:49:41 +0000 https://dessky.com/?p=3501 In this article we will explain in detail how we increased PageSpeed Insights score of the WooCommerce store with 10k products and 1k customers to 99 Performance score on PageSpeed Insights and 98 Performance grade on Pingdom.

The post How We Speed Up WooCommerce Website With 10k Products To 99 Performance Score On PageSpeed Insights appeared first on Dessky.

]]>
https://dessky.com/blog/how-we-speed-up-woocommerce-website-with-10k-products-to-99-performance-score-on-pagespeed-insights/feed/ 0
wc_clean – WooCommerce Core Function https://dessky.com/snippet/wc_clean-woocommerce-core-function/ https://dessky.com/snippet/wc_clean-woocommerce-core-function/#comments Sat, 04 Dec 2021 06:49:54 +0000 http://localhost/lettuce/?p=110 The following useful function is found in the includes/wc-core-functions.php and can be used by themes and plugins. Trims and strips tags from a string ($var). wc_clean( $var )

The post wc_clean – WooCommerce Core Function appeared first on Dessky.

]]>
https://dessky.com/snippet/wc_clean-woocommerce-core-function/feed/ 0
Disable the default stylesheet in WooCommerce https://dessky.com/snippet/disable-the-default-stylesheet-in-woocommerce/ https://dessky.com/snippet/disable-the-default-stylesheet-in-woocommerce/#comments Wed, 01 Dec 2021 22:16:44 +0000 http://localhost/lettuce/?p=62 Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be overwritten completely when you update the theme. Disable all stylesheets WooCommerce enqueues 3 […]

The post Disable the default stylesheet in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/disable-the-default-stylesheet-in-woocommerce/feed/ 0
Change the default state and country on the checkout in WooCommerce https://dessky.com/snippet/change-the-default-state-and-country-on-the-checkout-in-woocommerce/ https://dessky.com/snippet/change-the-default-state-and-country-on-the-checkout-in-woocommerce/#comments Thu, 25 Nov 2021 16:42:47 +0000 http://localhost/lettuce/?p=79 Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be overwritten completely when you update the theme. /** * Change the default state […]

The post Change the default state and country on the checkout in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/change-the-default-state-and-country-on-the-checkout-in-woocommerce/feed/ 0
Add a custom currency symbol in WooCommerce https://dessky.com/snippet/add-a-custom-currency-symbol-in-woocommerce/ https://dessky.com/snippet/add-a-custom-currency-symbol-in-woocommerce/#comments Thu, 04 Nov 2021 21:00:36 +0000 http://localhost/lettuce/?p=17 Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be overwritten completely when you update the theme. /** * Custom currency and currency […]

The post Add a custom currency symbol in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/add-a-custom-currency-symbol-in-woocommerce/feed/ 0
Retrieving a customer in WooCommerce https://dessky.com/snippet/retrieving-a-customer-in-woocommerce/ https://dessky.com/snippet/retrieving-a-customer-in-woocommerce/#comments Wed, 13 Oct 2021 16:50:13 +0000 http://localhost/lettuce/?p=120 $customer = new WC_Customer( $user_id ); $email = $customer->get_email(); $address = $customer->get_billing_address(); $name = $customer->get_first_name() . ' ' . $customer->get_last_name();

The post Retrieving a customer in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/retrieving-a-customer-in-woocommerce/feed/ 0
Exclude products from a particular category on the shop page in WooCommerce https://dessky.com/snippet/exclude-products-from-a-particular-category-on-the-shop-page-in-woocommerce/ https://dessky.com/snippet/exclude-products-from-a-particular-category-on-the-shop-page-in-woocommerce/#comments Tue, 05 Oct 2021 06:01:08 +0000 http://localhost/lettuce/?p=92 As ‘clothing’ is an example in the snippet below, be sure to use a product category slug that exists in your WooCommerce store. Note that this will only work when you have your “Shop Page Display” option set to ‘Show Products’ under your Customizers’ WooCommerce > Product catalog settings. Add this code to your child […]

The post Exclude products from a particular category on the shop page in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/exclude-products-from-a-particular-category-on-the-shop-page-in-woocommerce/feed/ 0
WooCommerce payment gateway plugin base https://dessky.com/snippet/woocommerce-payment-gateway-plugin-base/ https://dessky.com/snippet/woocommerce-payment-gateway-plugin-base/#comments Thu, 30 Sep 2021 04:33:54 +0000 http://localhost/lettuce/?p=54 This code can be used as a base to create your own simple custom payment gateway for WooCommerce. Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php […]

The post WooCommerce payment gateway plugin base appeared first on Dessky.

]]>
https://dessky.com/snippet/woocommerce-payment-gateway-plugin-base/feed/ 0
Adding a Custom Special Field in WooCommerce https://dessky.com/snippet/adding-a-custom-special-field-in-woocommerce/ https://dessky.com/snippet/adding-a-custom-special-field-in-woocommerce/#comments Sat, 04 Sep 2021 05:17:52 +0000 http://localhost/lettuce/?p=102 Let’s add a new field to checkout, after the order notes, by hooking into the following. /** * Add the field to the checkout */ add_action( 'woocommerce_after_order_notes', 'my_custom_checkout_field' ); function my_custom_checkout_field( $checkout ) { echo '<div id="my_custom_checkout_field"><h2>' . __('My Field') . '</h2>'; woocommerce_form_field( 'my_field_name', array( 'type' => 'text', 'class' => array('my-field-class form-row-wide'), 'label' => __('Fill […]

The post Adding a Custom Special Field in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/adding-a-custom-special-field-in-woocommerce/feed/ 0
Make phone number not required in WooCommerce https://dessky.com/snippet/make-phone-number-not-required-in-woocommerce/ https://dessky.com/snippet/make-phone-number-not-required-in-woocommerce/#comments Wed, 07 Jul 2021 09:07:51 +0000 http://localhost/lettuce/?p=104 Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be overwritten completely when you update the theme. add_filter( 'woocommerce_billing_fields', 'wc_npr_filter_phone', 10, 1 ); […]

The post Make phone number not required in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/make-phone-number-not-required-in-woocommerce/feed/ 0
Show product categories in WooCommerce breadcrumbs https://dessky.com/snippet/show-product-categories-in-woocommerce-breadcrumbs/ https://dessky.com/snippet/show-product-categories-in-woocommerce-breadcrumbs/#comments Sat, 05 Jun 2021 23:11:58 +0000 http://localhost/lettuce/?p=70 Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be overwritten completely when you update the theme. /** * Show product categories in […]

The post Show product categories in WooCommerce breadcrumbs appeared first on Dessky.

]]>
https://dessky.com/snippet/show-product-categories-in-woocommerce-breadcrumbs/feed/ 0
Declaring WooCommerce Support https://dessky.com/snippet/declaring-woocommerce-support/ https://dessky.com/snippet/declaring-woocommerce-support/#comments Sun, 09 May 2021 12:40:01 +0000 http://localhost/lettuce/?p=124 function mytheme_add_woocommerce_support() { add_theme_support( 'woocommerce' ); } add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' );

The post Declaring WooCommerce Support appeared first on Dessky.

]]>
https://dessky.com/snippet/declaring-woocommerce-support/feed/ 0
Hide loop read more buttons for out of stock items in WooCommerce https://dessky.com/snippet/hide-loop-read-more-buttons-for-out-of-stock-items-in-woocommerce/ https://dessky.com/snippet/hide-loop-read-more-buttons-for-out-of-stock-items-in-woocommerce/#comments Mon, 03 May 2021 10:56:27 +0000 http://localhost/lettuce/?p=65 Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be overwritten completely when you update the theme. /** * Hide loop read more […]

The post Hide loop read more buttons for out of stock items in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/hide-loop-read-more-buttons-for-out-of-stock-items-in-woocommerce/feed/ 0
wc_get_weight – WooCommerce Core Function https://dessky.com/snippet/wc_get_weight-woocommerce-core-function/ https://dessky.com/snippet/wc_get_weight-woocommerce-core-function/#comments Sun, 02 May 2021 22:22:05 +0000 http://localhost/lettuce/?p=112 The following useful function is found in the includes/wc-core-functions.php and can be used by themes and plugins. Takes a weight ($weight) weighed in WooCommerce’s weight unit and converts it to the target weight unit ($to_unit). wc_get_weight( 10, 'lbs' )

The post wc_get_weight – WooCommerce Core Function appeared first on Dessky.

]]>
https://dessky.com/snippet/wc_get_weight-woocommerce-core-function/feed/ 0
Customize the WooCommerce breadcrumb https://dessky.com/snippet/customize-the-woocommerce-breadcrumb/ https://dessky.com/snippet/customize-the-woocommerce-breadcrumb/#comments Fri, 23 Apr 2021 20:32:50 +0000 http://localhost/lettuce/?p=85 Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Dessky Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be overwritten completely when you update the theme. Useful if you want to change […]

The post Customize the WooCommerce breadcrumb appeared first on Dessky.

]]>
https://dessky.com/snippet/customize-the-woocommerce-breadcrumb/feed/ 0
Register the taxonomy for menus in WooCommerce https://dessky.com/snippet/register-the-taxonomy-for-menus-in-woocommerce/ https://dessky.com/snippet/register-the-taxonomy-for-menus-in-woocommerce/#comments Wed, 07 Apr 2021 16:23:42 +0000 http://localhost/lettuce/?p=113 When registering taxonomies for your custom attributes, WooCommerce calls the following hook: $show_in_nav_menus = apply_filters('woocommerce_attribute_show_in_nav_menus', false, $name); So, for example, if your attribute slug was ‘size’ you would do the following to register it for menus: add_filter('woocommerce_attribute_show_in_nav_menus', 'wc_reg_for_menus', 1, 2); function wc_reg_for_menus( $register, $name = '' ) { if ( $name == 'pa_size' ) $register […]

The post Register the taxonomy for menus in WooCommerce appeared first on Dessky.

]]>
https://dessky.com/snippet/register-the-taxonomy-for-menus-in-woocommerce/feed/ 0