• Resolved kennypurnomo

    (@kennypurnomo)


    Hi,

    I want to create a custom button named “ask”. So, when my employee (“employee” is a role i created from restrict content pro plugin) login to my site, he can see this “ask” button.

    This “ask” button shall be next to “add to cart” button. When it is pressed, it grabs the product name and send a payload to via webhook.

    Is it possible to have this done?

Viewing 1 replies (of 1 total)
  • Hi @kennypurnomo

    Thanks for reaching out!

    I understand that you want to add a custom button called Ask that would be displayed next to the Add to Cart button but will only be visible to Employee roles only, is that correct?

    These forums are meant for general support with the core functionality of WooCommerce itself. What you want to achieve is a bit complex and would require customization to do it. Since custom coding is outside our scope of support, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.

    WooCommerce Developer Resources Portal
    WooCommerce Advanced Facebook group
    WooCommerce Community Forum
    WooCommerce Developer Slack Channel.
    – Hire a WooCommerce Expert

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Create a custom button and Disable it in woocommerce for certain role’ is closed to new replies.