PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

How to enable support of turbo mode for custom extension?

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I have created the custom extension for product filter.

Its contains various condition based on multiple fields of the product meta data. It work perfectly when turbo mode is off.

Whenever i enable turbo mode it stop working.

Can you points-out the requirement for the turbo mode and what changes i need to make?

Hello

Unfortunately, I cannot answer your question, too little information

Please describe your extension in more detail

Ask more specific questions

Hello,

I have created 3 radio button for the filter.

  1. Free Product
    • product is 0 or empty
  2. On Sell
    • when product on sell
  3. Premium Product
    • product price is greater than 0

I have set meta query with 'AND' relation using 'assemble_query_params()'.

The query string key I have used for it is"product_for".

Hello

Ok!  you  need  code  customization  here - plugins\woocommerce-products-filter\ext\turbo_mode\js\turbo_mode.js

Add  your  key - https://share.pluginus.net/image/i20210803135503.png - And create a SQL query to search for your parameters

Hello,

Is there any way around to do it? May be filters or hooks? Because I don't want to make any changes inside the"Woocommerce Products Filter" Plugin.

Hello

Unfortunately no. In this mode, the search is performed in JS.