• Dear users and developers of WordPress.

    I am searching for a solution for a website that I am building currently. I add the plugin:

    YITH Woocommerce Request A Quote to make it possible for my clients to ask for a Quote. I don’t want people to buy directly from the shop because the games that I lease are not direct for sale and to make it easy for myself I only want Quotes.

    Now everything is fine I display none the cart items but, I got a product widget what gives a quick view light box. In the light box, I still see the add to cart button, not the add to quote button. I did look into the plugin code but I can’t find a solution. There probably should be a filter that I can insert into my functions but I don’t know what.

    Image with the light box I want to change with the button.

    I hope someone got a solution. Thanks for reading and already a big thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • It sounds like the lightbox is part of the YITH plugin. It’s likely to be leveraging Woo’s ‘add to cart’ functionality though.

    Take a look at this page, follow the instructions and see if it helps:
    https://docs.woocommerce.com/document/change-add-to-cart-button-text/

    Thread Starter gerwinmorren

    (@gerwinmorren)

    Thanks for the respond, but it’s not only to change the text. I also need to change the function of the button into the add to Quote button. So only changing the text won’t make a change I think. I will look into that documentary to see if I can make something out of it.

    Hope someone else got another great answer ??

    Thanks

    If you’re not using the woo functionality to purchase, you could easily re-purpose everything around quotes. As chance would have it I answered a question on StackOverflow a while ago – your basket could just be renamed to ‘Your Quote’, and checkout renamed ‘Submit Your Quote’ if that makes sense?

    Easier than trying to strap extra ‘quote functionality’ over the top of unused ecomm functionality:

    https://stackoverflow.com/questions/16725425/using-woocommerce-checkout-for-quotes-only/16732019

    • This reply was modified 7 years, 7 months ago by crdunst.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change button add to cart to add to quote.’ is closed to new replies.