YITH Request a quote plugin not working with Xstore

This topic has 21 replies, 4 voices, and was last updated 2 years, 5 months ago ago by Rose Tyler

  • Avatar: Joseph
    Joseph
    Participant
    June 2, 2022 at 13:55

    Dear Support,

    I’ve installed “YITH Request a quote plugin”, but it’s not showing up in the single product page. I have checked it with other built-in themes of WordPress and it’s working fine. Can you please let me know, how this can be fixed? Thank you.

    Please, contact administrator
    for this information.
    20 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 3, 2022 at 09:38

    Hello,

    You use single product builder and some default WooCommerce hooks are missing and it causes the issue I suppose. Provide us with WP Dashboard and FTP access to your site, please. We’ll check the issue in more detail.

    Regards

    Avatar: Joseph
    Joseph
    Participant
    June 3, 2022 at 13:07

    Hello,
    Thank you for your response.
    As you requested, please find the information.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 3, 2022 at 15:03

    Hello,

    I passed your issue to our developers. I’ll inform you once they fix the problem.

    Regards

    Avatar: Joseph
    Joseph
    Participant
    June 3, 2022 at 18:03

    Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 5, 2022 at 07:06

    Hello,

    Thanks for understanding. Our developers team will be back at work after the weekend. Please be patient

    Regards

    Avatar: Joseph
    Joseph
    Participant
    June 6, 2022 at 09:16

    Please, I’m waiting.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 6, 2022 at 11:09

    Hello,

    Our developers do not work on the weekend, unfortunately. Your request for additional customization of compatibility with the third-party plugin is in the queue of the requests from our customers. We do our best to help everybody ASAP but we have a great number of requests, so reply time is longer than usual. Hope for your understanding.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 6, 2022 at 15:04

    Hello,

    Changes were done in xstore-child/functions.php
    https://prnt.sc/WVwd0ljhJpo0

    Code for users who will need to make it work by their own hands:

    if (class_exists('YITH_YWRAQ_Frontend') ) {
    $instance = YITH_YWRAQ_Frontend::get_instance();
    // show button in single page.
    add_action( 'etheme_woocommerce_template_single_excerpt', array( $instance, 'add_button_single_page' ), 35 );
    }

    Note:
    1/ ‘etheme_woocommerce_template_single_add_to_cart’ action could be replaced by any of the next list https://www.8theme.com/documentation/xstore/additional-customisation/single-product-builder-hooks/
    2/ 35 could be changed to another priority number

    Regards

    Avatar: danny
    danny
    Participant
    June 11, 2022 at 11:01

    Hi:

    I faced the same issue. I don’t use a child theme, but instead use code snippets.
    I created a snippet bit It’s not working.

    Sending a sample url

    Can you provide some wisdom?
    Thanks.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 11, 2022 at 12:44

    Hello @Danny,

    Provide temporary wp-admin and FTP access.

    Regards

    Avatar: danny
    danny
    Participant
    June 11, 2022 at 14:45

    The topic was not started by me. Private content area applies the same?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 11, 2022 at 15:11

    Hello @Danny,

    Yes, the Private Content area content will be visible to you and our support team only. Or you can submit a new separate topic https://www.8theme.com/forums/xstore-wordpress-support-forum/

    Regards

    Avatar: danny
    danny
    Participant
    June 11, 2022 at 15:53

    Ok, Here it is then.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2022 at 07:32

    Hello @Danny,

    I’ve passed your question to one of our developers. I will let you know once get an answer. Our developers team will be back at work after the weekend. Please be patient.

    Regards

    Avatar: danny
    danny
    Participant
    June 12, 2022 at 07:48

    Hi:

    Yes, sure no problem.
    I kindly ask you (your developers) to not make any changes without prior notice so i can keep up with changes.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2022 at 09:09

    Hello @Danny,

    Everything is working the same with the code we sent but you didn’t configure YITH settings correctly and had Show add to quote option with value “Product in the Exclusion List only” and mostly your products in the list are out of stock ( https://prnt.sc/YyqRUndfh52s ) but you should have -> https://prnt.sc/SIJrh0ai7I2G to show Request quote for all products that are in stock.

    Regards

    Please contact administrator
    for this information.
    Avatar: danny
    danny
    Participant
    June 12, 2022 at 09:15

    Hi:

    That’s not what we want. Please do not make changes without prior notice ?

    We want to display “ask for quote” only for the products on the exclusion list.
    Yith has that option and is exactly what we need.
    The products on the exclusion list are only for testing purposes as the store is still in development.

    Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2022 at 10:01

    Hello @Danny,

    We added the next code – https://prnt.sc/Qw8eAl1BnBWh

    add_action('init', function() {
    	if (class_exists('YITH_YWRAQ_Frontend') ) {
    		$instance = YITH_YWRAQ_Frontend::get_instance();
    		// show button in single page.
    		add_action( 'etheme_woocommerce_template_single_excerpt', function() {
    			do_action('yith_wcqv_product_summary');
    		}, 35 );
    		add_action('etheme_woocommerce_template_single_excerpt', array($instance, 'show_button_single_page'), 20);
    	}
    });

    We changed the previous code because in previous version added the YITH function to the add to cart hook but it is not used if the product is out of stock so your improved version should be ok for both cases.

    Please note that we do not give a guaranty for full theme compatibility with all existing 3rd party plugins. Sometimes, not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our support.

    Regards

    Please contact administrator
    for this information.
    Avatar: danny
    danny
    Participant
    June 12, 2022 at 12:06

    Ok, I understand.
    Thanks for your effort.

    Xstore is indeed backed by great people. ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2022 at 14:52

    Hello @Danny,

    You’re welcome!
    Have a nice day!

    Regards

  • Viewing 21 results - 1 through 21 (of 21 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.