This topic has 21 replies, 4 voices, and was last updated 2 years, 5 months ago ago by Rose Tyler
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.
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
Hello,
Thank you for your response.
As you requested, please find the information.
Hello,
I passed your issue to our developers. I’ll inform you once they fix the problem.
Regards
Thank you.
Hello,
Thanks for understanding. Our developers team will be back at work after the weekend. Please be patient
Regards
Please, I’m waiting.
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
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
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.
Hello @Danny,
Provide temporary wp-admin and FTP access.
Regards
The topic was not started by me. Private content area applies the same?
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
Ok, Here it is then.
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
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.
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
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
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
Ok, I understand.
Thanks for your effort.
Xstore is indeed backed by great people. ?
Hello @Danny,
You’re welcome!
Have a nice day!
Regards
You must be logged in to reply to this topic.Log in/Sign up