Home Forums WoodMart support forum Incompatible with YITH Waitlist

Incompatible with YITH Waitlist

Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #473271

    alex28
    Participant

    Hello,

    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.

    #473283

    Artem Temos
    Keymaster

    Hello,

    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 builder

    Thank you in advance

    #473290

    alex28
    Participant

    Hello,

    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!

    #473325

    Artem Temos
    Keymaster

    Sure, here is my current IP 176.98.71.57

    #473497

    alex28
    Participant

    Thanks, i’ve updated the info.

    #473519

    Artem Temos
    Keymaster

    Hello,

    Please disable the custom product layout in WoodMart -> Layouts and check if it works for you.

    Kind Regards

    #473585

    alex28
    Participant

    Hey!

    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

    #473603

    Artem Temos
    Keymaster

    Hello,

    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

    #473639

    alex28
    Participant

    Thanks for your help and time. Please mark this as Solved, for the moment. I`ll try the hook element. Have a nice day!

    #473704

    Artem Temos
    Keymaster

    You are welcome! Let me know if there is anything else I can help you with.

    #474825

    alex28
    Participant

    Hey,

    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

    #474849

    Artem Temos
    Keymaster

    Hello,

    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

    #474851

    alex28
    Participant

    Erm, 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.

    #474853

    Artem Temos
    Keymaster

    Yes, it looks like the plugin needs something else and not this filter only. Unfortunately, we don’t know what exactly.

    #475298

    alex28
    Participant

    I got a reply from them, check extra info.

    #475364

    Artem Temos
    Keymaster

    Hello,

    Have you tried the solution with [ywcwtl_form] shortcode suggested by the plugin developer?

    Kind Regards

    #479997

    alex28
    Participant

    Hey,

    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!

    #480246

    Artem Temos
    Keymaster

    Hello,

    Thank you for letting us know. Feel free to contact us if you have any further questions.

    Kind Regards

    #484706

    tussibag
    Participant

    Did you find any solution?
    With other themes its working fine, with Woodmart not?! 🙁

    #484712

    alex28
    Participant

    Hey,

    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. 🙁

    #485943

    tussibag
    Participant

    The 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.”

    #486234

    alex28
    Participant

    Thank you very much for coming back with a solution 🙂

    #487987

    alex28
    Participant

    Okay, 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).

Viewing 23 posts - 1 through 23 (of 23 total)