This topic has 23 replies, 3 voices, and was last updated 4 years, 5 months ago ago by Olga Barlow
Hi guys, just curious what to use to add a shortcode to show a plugin button on Single product page? Adding Request a Quote plugin for my client product page but i can’t seem to make it work. Testing it before buying. Wanna implement first before deciding .
Thanks
Just read the plugin info. I don’t need to add the shortcodes on single page but when the plugin is activated the add to quote button should be automatically added on the single product page but it doesn’t work. Anyone can help?
Hello,
Provide FTP access, we will check what can be done to help you.
Please note that we do not give a guaranty for full theme compatibility with all existing 3rd party plugins.
Regards
Oh no. I hope it gets done. I need this feature for my client..
The plugin is YITH WooCommerce Request a Quote
Testing this one first if it’s what we need.
FTP info in private content.
Hello,
You provided access to empty directory http://prntscr.com/sr777r
Please, change the destination folder of the FTP user, we need access to your WP installation.
Regards
That is weird. You should be able to access the site. Please try this again i made a new one
Hello,
Thank you. I have passed your issue to our developers. I’ll inform you once they fix the problem.
Regards
Hello,
We checked the issue and unfortunately plugin that you use has functions that can’t be overwritten in child theme to show the button with the single product builder. Also, we found that there is shortcode to display the quote button https://docs.yithemes.com/yith-woocommerce-request-a-quote/premium-version-settings/shortcodes/add-to-quote-button/ that could be used in the CUstom HTML element but seems it’s available for the pro version only. So, use pre-created layouts of you need that plugin and customize default product layout using child theme and WooCommerce hooks to change the position of some elements https://businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/
Regards
There is another plugin that i wanna check.. Can you check if this will work on xstore? https://woocommerce.com/products/request-a-quote-plugin-for-woocommerce/
We really need this featre on our website. 🙁
Hello guys, so using the custom single page builder would not work with either the 2 plugins that we need? So, this problem is from the theme right?
The custom HTML won’t work for me i need to set each shortcodes to each products. We have 400+ products..
Hello,
Third-party plugins like that use the WooCommerce hooks https://businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/ to show their custom content. Single product builder does not include these hooks because you change the position of the elements and at this moment we did not find the way to keep hooks and allow the rebuilding of the single product page structure. So, in case you need third-party plugins then use the pre-created structure of the single product and change the position of the elements using child theme and WooCommerce hooks, not the builder elements.
Regards
Hi Olga,
So disabling the builder will have my single product page back to default?
Hello,
Yes, you’ll get single product layout according to your chosen type http://prntscr.com/sx5b5v
Regards
So tha tabs and other elements which i built will be gone? http://prntscr.com/sxlyqw
Hello guys.. i disable the single product page builder. Is it possible to change Additional INformation table to a custom tab like the one i had on the single page builder?
I only can make 1 custom tab on that. 🙁
Hello,
1) Tabs could be moved above the product title using WooCommerce actions
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
I have added them to your child theme functions.php. Check your single product now.
2) You can use either custom tab of the product http://prntscr.com/sxvyjq or WooCommerce snippet https://docs.woocommerce.com/document/editing-product-data-tabs/#section-5
Regards
Yay thank you. Though the custom tab i need was HOW TO ORDER> Should i put it on each product? We have hundreds already waaaahhh
opps guys. i’ll check again with the single page builder we have on xstore. maybe the plugin maker can make it work with the theme. if not ill revert it to normal single page layout. ill keep you guys updated.
Hello,
If you need the same custom tab for all the products then use WooCommerce snippet WooCommerce snippet https://docs.woocommerce.com/document/editing-product-data-tabs/#section-5
Take your time. Contact us if you need any other help.
Regards
YAY!!! the premium plugin works on single product page builder!!!!
Hello,
Oh, great news!
Regards
Thank you guys. I still need a little help. Will post it in another topic. 🙂
Hello,
You are welcome!
Ok, thank you. Let’s continue conversation another topic.
Regards
The issue related to '‘Shortcode from Plugin to add on Single Product Page’' has been successfully resolved, and the topic is now closed for further responses