Luca Tocco

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • in reply to: Catalog Enquiry (Pro) Makes my site super slow #135643
    Luca Tocco
    Participant

    Yes i have a lot of products but the problem is that that query start every time i load every page in the wordpress dashboard(also the one not related with your plugin) and this is not good at all.
    If you need it for some plugin option you need to execute that query only in the page it belong (and also this way it can really slowdown the plugin option if there’s a lot of data).
    Thanks for your attention and waiting for the filter in the next update. As soon as it’s out i let you know if it works properly.

    in reply to: Catalog Enquiry (Pro) Makes my site super slow #135595
    Luca Tocco
    Participant

    We found a way to fix it with a workaround. The problem was that the plugin has a query that call all the products on each page (and there’s no reason to do that..).
    So in woocommerce-catalog-enquiry-core-functions.php we changed the post per page value from -1 to 12 and now it works (see code below).

    // find all woocommerce product
    if(!function_exists(‘woocommerce_catalog_products’)) {

    function woocommerce_catalog_products() {
    $args = array( ‘posts_per_page’ => 12, ‘post_type’ => ‘product’, ‘post_status’ => ‘publish’, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’ );
    $woocommerce_product = get_posts( $args );
    $all_products = array();
    foreach ( $woocommerce_product as $post => $value ){
    $all_products[$value->ID] = $value->post_title;
    }
    return $all_products;
    }
    }

    BTW i think it’s a bug and your tech department need to look at it and find out if that call is needed or not..and maybe use a cron to call that query only where needed.

    Hope this will be fixed in a future release.
    Best.

    in reply to: Catalog Enquiry (Pro) Makes my site super slow #135591
    Luca Tocco
    Participant

    I’ve followed your instruction and the problem is still there. I’ve tried on a website with under 100 products and there’s no problem, the problem start when you have a great amount of products (in my case 1500).In the screenshot you can see the exact query. The really strange thing it’s that it happen everywhere in frontend and backend (also in pages not related to your plugin).

    in reply to: Catalog Enquiry (Pro) Makes my site super slow #135590
    Luca Tocco
    Participant

    Same problem here.
    I’m using the plugin from november and it was not this way.

    in reply to: Customer Query problems #135226
    Luca Tocco
    Participant

    I’ve already used an editor role with no luck so any reference on hook/filter can be great.
    Thanks!

    in reply to: Enquiry Form Tab and WPML #131692
    Luca Tocco
    Participant

    THANKS!
    BTW, in the meantime i’ve fixed almost everything visible on the frontend (also the field i told you in the previous email). Only the Enquiry form email doesn’t keep the inserted translation.
    There’s some other part need to be fix (For example the redirect links) but for now it’s almost usable (apart from the email template).
    Keep me updated about this, but as you can see it’s not a lot of work to do to be compatible.
    Best.

    in reply to: Enquiry Form Tab and WPML #131639
    Luca Tocco
    Participant

    Guys, i’m at 96% of my developing and almost everything it’s done right now..and with this problem i need to switch to another plugin if you are not able to fix it.
    The guys at WPML are super collaborative (they already helped me to fix various parts) and they told me to ask you to contact them cause the remaining work it’s really not that much.

    Here the link to contact them and work togheter in fix the compatibility (and be inserted in the list of plugin that work with them).

    https://wpml.org/documentation/support/go-global-program/

    in reply to: Enquiry Form Tab and WPML #131609
    Luca Tocco
    Participant
    This reply has been marked as private.
    in reply to: Enquiry Form Tab and WPML #131608
    Luca Tocco
    Participant

    Hi Moumita, i’ve already sent you the screenshot and the login without password in the private messages. in there you can see wich fields i’m talking about (there’s the code in the WPML screenshot) and in the other two screenshot you can see italian and english version. In the meantime i’ve translated all the other field with no problem. The main problem is that WPML recognize that field and let me translate it, but they not appear on the frontend.
    If you need additional info let me know.
    Hope you can help.
    Best

    in reply to: Enquiry Form Tab and WPML #131550
    Luca Tocco
    Participant
    This reply has been marked as private.
    in reply to: Enquiry Form Tab and WPML #131541
    Luca Tocco
    Participant
    This reply has been marked as private.
    in reply to: Enquiry Form Tab and WPML #131539
    Luca Tocco
    Participant

    Of course and i know WPML quiet well.
    Everything worked fine for most of your plugin.I’ve translated almost everything

    The missing fields are:

    Content Before Enquiry From
    Content After Enquiry From
    Textbox
    Textarea
    Section

    If i translate this in WPML they appear always in italian in both English and Italian pages on the site.

    in reply to: Dropdown “Country” #131375
    Luca Tocco
    Participant

    Thanks! Waiting for the update at one point.

    in reply to: Dropdown “Country” #131098
    Luca Tocco
    Participant

    It’s not a query but a quiet simple improvement for future release.
    You have a contact form builder in the pro version of Enquiry form and i think a lot of peoples a system with precompiled dropdown country.
    https://www.technicalkeeda.com/index.php/html-tutorials/all-countries-drop-down-list-in-html
    You can check WpForms predefinied block and do something similar, they have Country and Nation and other useful precompiled block.Check this link: https://wpforms.com/how-to-country-dropdown-list/
    Best.

    in reply to: Dropdown “Country” #131100
    Luca Tocco
    Participant

    It’s not a query but a quiet simple improvement for future release.
    You have a contact form builder in the pro version of Enquiry form and i think a lot of peoples a system with precompiled dropdown country.
    You can check WpForms predefinied block and do something similar, they have Country and Nation and other useful precompiled block.Check this link: https://wpforms.com/how-to-country-dropdown-list/
    Best.

Viewing 15 posts - 1 through 15 (of 22 total)