Home › Forums › WoodMart support forum › Incompatible with YITH Waitlist
Incompatible with YITH Waitlist
- This topic has 22 replies, 3 voices, and was last updated 1 year, 5 months ago by alex28.
-
AuthorPosts
-
June 7, 2023 at 2:27 pm #473271
alex28ParticipantHello,
I am using YITH Waitlist ( https://yithemes.com/themes/plugins/yith-woocommerce-waiting-list/ ). Ever since switching to WoodMart, the Waitlist form doesn’t appear anymore (check here for example: https://plugins.yithemes.com/yith-woocommerce-waiting-list/product/blue-man-t-shirt/ ).
I have contacted YITH, and this was their reply:
“Hi there,
thank you for contacting us.
It seems your theme is not using the standard WooCommerce hook woocommerce_get_stock_html, needed to print out the waitlist form.
Please report it to developers and let us know their feedback.”I am using the Mega Electronics Demo.
Can this be fixed?Thanks.
June 7, 2023 at 3:10 pm #473283
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderThank you in advance
June 7, 2023 at 3:16 pm #473290
alex28ParticipantHello,
Thank you for your answer.
The main website is in production, so that’s not possible.
The staging website allows only certain IPs.
Please mention the public IP you will use, so I can whitelist it.However, this used to work on Flatsome just fine (so I don`t think it’s related to other modules, but it’s worth checking ๐ )
Thanks!
June 7, 2023 at 4:19 pm #473325
Artem TemosKeymasterSure, here is my current IP 176.98.71.57
June 8, 2023 at 10:57 am #473497
alex28ParticipantThanks, i’ve updated the info.
June 8, 2023 at 12:04 pm #473519
Artem TemosKeymasterHello,
Please disable the custom product layout in WoodMart -> Layouts and check if it works for you.
Kind Regards
June 8, 2023 at 3:32 pm #473585
alex28ParticipantHey!
Thanks, it does seem to work.
However, can this be made possible for custom layouts too?
Shouldn’t the hook they mention (woocommerce_get_stock_html) be used when we add the “product add to cart” wpbakery element?Thanks
June 8, 2023 at 4:20 pm #473603
Artem TemosKeymasterHello,
This hook exists in our theme. Probably, this plugin needs some extra hook which is missed when you create a custom layout. Use our Hook element to add a missing hook to your custom product page layout.
Kind Regards
June 8, 2023 at 6:02 pm #473639
alex28ParticipantThanks for your help and time. Please mark this as Solved, for the moment. I`ll try the hook element. Have a nice day!
June 9, 2023 at 9:16 am #473704
Artem TemosKeymasterYou are welcome! Let me know if there is anything else I can help you with.
June 14, 2023 at 11:19 am #474825
alex28ParticipantHey,
i tried to use your Hook Element to add a missing hook, like you suggested, but in the dropdown list, I don’t see “woocommerce_get_stock_html” hook, which I need.
Can you please add it? (or in the future, allow custom inputs).Thanks
June 14, 2023 at 12:34 pm #474849
Artem TemosKeymasterHello,
WooCommerce hook
woocommerce_get_stock_html
is not an action but a filter. And it exists on the product page no matter if you are using a layout or not. You can check the source code and you will see that we don’t remove it from the product page when the layout is enabled.Kind Regards
June 14, 2023 at 12:40 pm #474851
alex28ParticipantErm, thanks for the explanation, but i`m more confused now.
If so, why doesn’t it work with custom layout on and it works with it off?
It seems the custom layout is missing something the plugin uses to show the form, but I can’t tell what.June 14, 2023 at 12:42 pm #474853
Artem TemosKeymasterYes, it looks like the plugin needs something else and not this filter only. Unfortunately, we don’t know what exactly.
June 15, 2023 at 7:49 pm #475298
alex28ParticipantI got a reply from them, check extra info.
June 16, 2023 at 9:15 am #475364
Artem TemosKeymasterHello,
Have you tried the solution with
[ywcwtl_form]
shortcode suggested by the plugin developer?Kind Regards
July 7, 2023 at 7:37 pm #479997
alex28ParticipantHey,
Sorry for the late reply.
Yes, but that only works for Simple products, not for variable products ๐It always seems to stop working if a custom Layout is enabled for the product page.
I`ll try and fix it or find another plugin ๐Thanks!
July 9, 2023 at 7:48 pm #480246
Artem TemosKeymasterHello,
Thank you for letting us know. Feel free to contact us if you have any further questions.
Kind Regards
July 27, 2023 at 11:18 pm #484706
tussibagParticipantDid you find any solution?
With other themes its working fine, with Woodmart not?! ๐July 28, 2023 at 12:53 am #484712
alex28ParticipantHey,
Unfortunately, no.
WoodMart sends me to YITH and YITH to WoodMart.I think it’s a WoodMart problem (specifically for custom layouts, since without custom layouts it seems to work fine). I think custom layouts is missing something so the plugin can’t render correctly, but I couldn’t tell you what.
For the moment, I’ve given up. ๐
August 2, 2023 at 1:18 pm #485943
tussibagParticipantThe support from yith was able to solve it. Now we use shortcode and its working for simple and varitation products.
Ask in your support ticket for ticket id 261764, its solved by “Ivรกn S.”August 3, 2023 at 1:30 pm #486234
alex28ParticipantThank you very much for coming back with a solution ๐
August 10, 2023 at 6:40 pm #487987
alex28ParticipantOkay, with the help of YITH I have figured it out.
This only happened on the Mega Electronics Demo Layout.
The WoodMart Mega Electronics Single Product layout doesn’t have the hook “woocommerce_before_single_product”, at the top.
Add that hook (with Clean Actions on) and the module will work just fine. (and probably other modules too).
-
AuthorPosts
- You must be logged in to create new topics. Login / Register