Home › Forums › WoodMart support forum › how to add custom hook into the Quick View popup.
how to add custom hook into the Quick View popup.
- This topic has 18 replies, 2 voices, and was last updated 4 years, 2 months ago by
Elise Noromit.
-
AuthorPosts
-
December 13, 2020 at 4:14 pm #250575
foryagyParticipantHello
Thanks for greet theme …
I am using it + wcfm + wcfm whasapp connector ( special plugin )
The plugin do not show whatsapp buton in quick view popup and I asked the developer to help me in that case and try several things not work then ask me to send, you he send me this message
” If possible, please ask the theme developer about how to add custom hook into the Quick View popup.
Do they have the custom hook to hook a function and insert it into the Quick View?
For e.g. the OneClick WCFM Connector has this function to place the WhatsApp button next to Add to Cart button on Single Product Page:
add_action( ‘woocommerce_after_add_to_cart_button’, ‘wa_order_wcfm_vendor_add_single_page’ ); ”
So .. can you help wp admin in privateDecember 14, 2020 at 8:28 am #250750
Elise NoromitMemberHello,
We have tested hook woocommerce_after_add_to_cart_button and it works both on single and on quick view.
Best Regards
December 15, 2020 at 6:21 am #251028
foryagyParticipantBut its not work … And plugin developer not have any solutions .
Attachments:
You must be logged in to view attached files.December 15, 2020 at 12:36 pm #251145
Elise NoromitMemberHello,
Can you describe the steps you take?
add_action( 'woocommerce_after_add_to_cart_button', function() { echo 'Test'; } );
Here are the result: http://prntscr.com/w336mk http://prntscr.com/w336v3
Best Regards
December 15, 2020 at 2:51 pm #251181
foryagyParticipantI am sorry but I try something in function.php and it becomes empty 🙁
so where I can find the original one to copy it ( I am not developer I will copy it )
..
and for the problem of quick view its still not shown the button and try to convert it to short code and not working too 🙁December 15, 2020 at 2:57 pm #251183
foryagyParticipantshot code apear and button not
December 15, 2020 at 3:02 pm #251184
foryagyParticipantI FIND i t so lets back to our problem … the button of the plugin
December 16, 2020 at 7:50 am #251328
Elise NoromitMemberHello,
As you can see from the screens we have provided, the buttons work. If they do not, please contact the plugin support.
Best Regards
December 16, 2020 at 2:55 pm #251471
foryagyParticipantOk … I will try with him .. but it seems that there is something block it in popup …
December 16, 2020 at 4:21 pm #251494
foryagyParticipantHello .. I try another quick view plugin and everything work fine .. so there is an issue with woodmart quick view .. see
Attachments:
You must be logged in to view attached files.December 16, 2020 at 4:22 pm #251496
foryagyParticipantSorry not the apove see this
Attachments:
You must be logged in to view attached files.December 16, 2020 at 4:49 pm #251503
foryagyParticipantPlugin name .. yith ajax quick view
December 16, 2020 at 9:40 pm #251570
Elise NoromitMemberHello,
This plugin conflicts the quick view of our theme. Please try to disable the quick view in the Theme settings > Shop page > Quick view and check.
Best Regards
December 16, 2020 at 11:06 pm #251600
foryagyParticipantI just try it and i do not love it . Your quick is awesume so I try my custom plugin to view the button with your quick view
December 17, 2020 at 1:41 pm #251793
Elise NoromitMemberHello,
Have you deactivated the theme built-in Quick view?
Best Regards
December 17, 2020 at 2:48 pm #251809
foryagyParticipantWhy?? . I need to use it not another one . But its block my plugin button
December 17, 2020 at 10:32 pm #251918
Elise NoromitMemberHello,
Please contact the plugin support to get the suggestion from their side, I will check with the dev team on ours.
Best Regards
December 17, 2020 at 10:41 pm #251926
foryagyParticipantHe still trying .. the plugin name ( chat to order wcfm connector )
December 18, 2020 at 12:17 pm #252095
Elise NoromitMemberHello,
As soon as the plugin support gives feedback, let us know and show us this feedback.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register