Fix sorting products by price-desc in search results page in Ajax Search for WooCommerce

Fix sorting products by price-desc in search results page in Ajax Search for WooCommerce.

Snippet Type

Execute on Child Sites

Snippet

https://github.com/mainwp/Code-Snippets-Functions/blob/master/Execute%20a%20function%20on%20a%20child%20site/Ajax%20Search%20for%20WooCommerce/sorting-products-by-price-desc.txt