How to Add Woocommerce Product Enquiry form For Free?

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 282

  • @wpsimplehacks
    @wpsimplehacks  2 роки тому +2

    Code snippet used in the video is here: wpsimplehacks.com/woocommerce-product-enquiry-form/

    • @eglev2343
      @eglev2343 6 місяців тому

      Hello! Thanks for a great video! Could you please help me explaining how to add different enquiry forms to at least 4 different categories? What code to use?

  • @shamsheeralikhan1333
    @shamsheeralikhan1333 3 роки тому +4

    Thank you !
    I'm designing a website for my company , I had to put feature of this type in it, but I was not able to put it. You helped me a lot.
    thank you so much once again !!!!!

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      Thank you for watching ☺️

    • @revolucionarioe2123
      @revolucionarioe2123 3 дні тому

      @@wpsimplehacks Same for me, I searched for a lot of time and even the newer tutorials are not as good as this one. Thanks a lot

  • @murugesh9338
    @murugesh9338 Місяць тому

    Thanks a lot bro. I was trying 5+ free plugins - nothing are satisfactory. yours is a Perfect solution.

  • @kunalbhatia5607
    @kunalbhatia5607 2 роки тому +1

    One small question: Can we create a inquiry form where we can add the products to cart and then isnetad of check out we could send the cart as an email with all products added

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому +1

      Nope. You would have to find a plugin for that.

    • @semehboubaker613
      @semehboubaker613 Рік тому

      hello, did you find a solution ?

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      @@semehboubaker613 How about this? ua-cam.com/video/qpDZlrzPK3U/v-deo.html

    • @semehboubaker613
      @semehboubaker613 Рік тому

      @@wpsimplehacks Thank you very much for the quick answer and the solution. ❤

  • @h__07m07
    @h__07m07 4 місяці тому

    I searched a lot to do that but i wasn't able to do, I found your video form blog and I helped me !!

  • @-howido9307
    @-howido9307 4 роки тому +1

    Thanks a lot, for many weeks looking for a method like this, I found it now.
    Greetings to you from Morocco

  • @---Cy
    @---Cy 2 роки тому +1

    I can't explain how helpful it was ❤️

  • @visualsbyshivam
    @visualsbyshivam 4 роки тому +1

    Mate! Well done. This was to the point. Keep up the good work. New SUB

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому +2

      Thanks for the sub!
      You may be also interested in video How to Show Contact Form Only When Product Is Out Of Stock. See here ua-cam.com/video/u78jVDCyWEE/v-deo.html

    • @ThierryRivette
      @ThierryRivette 3 роки тому

      @@wpsimplehacks easier to find if you put a link either in a comment or in the description of this video👆
      What do you think?

  • @anirudhachakrabarty2050
    @anirudhachakrabarty2050 3 роки тому

    Best tutorials on youtube... Super awesome mate.. Keep going.. 👍👌

  • @minhaskhan7132
    @minhaskhan7132 4 роки тому

    Subscribed, eagerly waiting for content like this.

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому +1

      Thanks :)
      You me also be interested in video on How to Show Contact Form When Product Is Out Of Stock. See here ua-cam.com/video/u78jVDCyWEE/v-deo.html

  • @johnscott6926
    @johnscott6926 Рік тому

    Hi there. Great tutorial. Thank you. QUESTION: How do I add more fields to the form? I've tried but it is not displaying on the front end? Is there perhaps addition code that needs to be added to the code snippets after adding new fields for the form?

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      Forms fields come from your form plugin, so it's not rwlated to the code snippet. You're just using the shortcode to display it.

  • @JohnPaulCorrea-i9t
    @JohnPaulCorrea-i9t 11 місяців тому

    Hi, Thanks for the video this is great! I have a question. Maybe you have a video tutorial or idea about it.
    I need a product page where there are varations. Let us say colors and the inquiry button. once they choose the color and click the inquire now, form will pop out and the selected color will be there together with the required contact fields. thanks in advance.

    • @wpsimplehacks
      @wpsimplehacks  11 місяців тому

      Sorry, can't help you with this

  • @ghanizworks
    @ghanizworks 2 роки тому

    hi thank you for sharing this trick,
    I have one question if we don't want to show the product price how can we use this trick.

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      See whether this video helps you out ua-cam.com/video/-EzCP-4V_mk/v-deo.html

  • @onlinechemistuk
    @onlinechemistuk 2 роки тому

    Great video thank you.
    Just one question, how can I add 'add to cart' button after completing a form (such as questionnaire)

  • @thabodigital
    @thabodigital 2 роки тому

    Great tutorial, Thank you very much. I want the form to display only certain categories. How to do that?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому +1

      You need to use conditionals. See here www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/

  • @taichenglightingtechnology8488
    @taichenglightingtechnology8488 2 роки тому

    Very helpful and easy to follow. Thanks so much!

  • @秦宁-t9d
    @秦宁-t9d Рік тому

    Thanks a lot, really good guide for a total beginner

  • @webdesigngc
    @webdesigngc 3 роки тому

    Great video and tutorial!!! You my friend have earned yourself a new sub!

  • @magnusigland8709
    @magnusigland8709 10 місяців тому

    Thank you for a great way of explaining it :)

  • @thabodigital
    @thabodigital 3 роки тому

    Do you have a video on how to create a quotation form ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      Maybe this will help you out ua-cam.com/video/KsJK3-GzwLI/v-deo.html

  • @herharmonichigh
    @herharmonichigh 2 роки тому

    3:38 - Where did that code snippet come from? He didn't even copy the shortcode for the form... I have re-watched this video more than 10 times but I don't understand where that code snippet popped out from. Please help, people.

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      As I said in the video (at 3:45 mark): the link the snippet is in the video description. Open it up and then you can use it on your site.
      At 4:10 mark I even show where did I get the shortcode for Fluent Forms (that I use in this video).

    • @herharmonichigh
      @herharmonichigh 2 роки тому

      @@wpsimplehacks Thank you so much. I had mistaken the information, and now my form is working perfectly. Thanks a ton!

  • @FactorChill
    @FactorChill 2 роки тому

    This guy is amazing at what he does.

  • @thabodigital
    @thabodigital 3 роки тому

    Thanks very much , exactly what I've been looking for . I needed to add application form I think this will help ❤️

  • @mohamedkhalid763
    @mohamedkhalid763 3 роки тому

    thanks a lot , how can add vendor profile to single product page

  • @ridhijain34
    @ridhijain34 Рік тому

    Hello, Thanks for the video. But is it possible to disable Add to cart button for some products?

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      Try with conditional logic www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/

  • @kunalbhatia5607
    @kunalbhatia5607 2 роки тому

    Best Video ever. God bless brother.

  • @jeffreyhuen
    @jeffreyhuen 3 роки тому

    Awesome - anyway to do this using the Gutenberg block forms, like from Kadence?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Then you wouod need to output your Gutenberg template as a shortcode. If you have Kadence Pro theme then create an Element which containt your form and use the element shortcode.

  • @callehjortenbrink679
    @callehjortenbrink679 4 роки тому

    Great video! Well done! Is there a way to get information back on wich variation of the product they have selected? Say I have some different sizes and colors i make my products in.

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому

      I haven’t figured out a way to do that with the regular contact forms. There is a plugin that does that but you have to pay for it. If you’re interested then it is here www.piwebsolution.com/product/enquiry-quotation-for-woocommerce-pro/

    • @callehjortenbrink679
      @callehjortenbrink679 4 роки тому

      @@wpsimplehacks Thanks for answering! Do you know of a way to show different forms depending on product category?

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому

      You have to use conditionals. here a tutorial for you www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/

  • @TallerDinamo
    @TallerDinamo Рік тому

    Hello! It's just what I was looking for. Is there any option to display the form into a pop-up or light box? Thank you in advance.

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      Depends on the plugin you're using. Some of them have an option to display it inside the modal.

  • @lehlohonolomokoena2204
    @lehlohonolomokoena2204 3 роки тому

    Thank you for this video, how do I style the button "Enquiry" and close? I don't need it to be the same as "add to cart" button.

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      Replace this single_add_to_cart_button button alt with something else, for example "button-2". Now go to Appearance >> Customizer >> Additional CSS and customize your button. For example:
      .button-2 {
      background: #ffcc00;
      color: #000000;
      padding: 10px 30px;
      }

    • @lehlohonolomokoena2204
      @lehlohonolomokoena2204 3 роки тому

      @@wpsimplehacks Hope you don't stop here for this chnnel!! Thank you.

    • @lehlohonolomokoena2204
      @lehlohonolomokoena2204 3 роки тому

      @@wpsimplehacks Replacing class name didn't. I think it's theme I am using, I used #trigger_cf to style button which worked but I am getting a block on hover. you know how to style that?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      @@lehlohonolomokoena2204 Try this:
      #trigger_cf.single_add_to_cart_button {
      background: #000;
      color: #fff;
      }

    • @lehlohonolomokoena2204
      @lehlohonolomokoena2204 3 роки тому

      @@wpsimplehacks I solved this with #trigger_cf:focus {
      background: #FFF !important;
      }

  • @ThierryRivette
    @ThierryRivette 3 роки тому

    Thank you for your this video. 🙏
    Is there any way we can change the button in the form?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +2

      Customize this here below accordingly:
      #trigger_cf.single_add_to_cart_button {
      background: #000;
      color: #fff;
      }

  • @TheScreamlp1
    @TheScreamlp1 Рік тому

    Hey great tutorial but it dosent seem to be working when using elementor pro and the theme builder or am I overlooking sommething

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      It's because Elementor overrides default Woocommerce hooks and uses their own hooks.

    • @TheScreamlp1
      @TheScreamlp1 Рік тому

      @@wpsimplehacks okay and how would i use the elementor hooks or find them?

  • @moniqueboshoff7684
    @moniqueboshoff7684 Рік тому

    Hello, thank you so much for your video! You have helped me out A LOT!
    Just one question please, I don't want to Remove the Add to Cart button all over my site, only for these items with a contact form. Other items on the website should still be purchasable as per normal. How can I modify this code to get it right, please?

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      Try to add conditionals like displayed here www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/

  • @pallavpancholi3747
    @pallavpancholi3747 2 роки тому

    Thanks Its a great informative video. Very easy and simple explanation.

  • @fafamiggy
    @fafamiggy 2 роки тому

    Man, You are a life saver. Thank you for this video it help me a lot

    • @fafamiggy
      @fafamiggy 2 роки тому

      I've been looking at this since last week, But thankyou you are the only one I saw having this kind of video thankyou so much.

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      Glad it helped :)

    • @fafamiggy
      @fafamiggy 2 роки тому

      @@wpsimplehacks Do you have full tutorial making a woo commerce website from login and registration until the website finished?

  • @Dr.DoctorAyurveda
    @Dr.DoctorAyurveda 4 роки тому

    i am a ui developer . i ask many people to do this for me but know one have time i see this video now i can do this . thanks

  • @innisfox
    @innisfox 2 місяці тому

    About embed product title, and product URL issue. Could you please let me know how to make it by Contact form 7? Thanks so much.

    • @wpsimplehacks
      @wpsimplehacks  2 місяці тому

      Sorry, but I haven't used CF7. Here's something for you, though wordpress.org/support/topic/how-to-embed-the-wordpress-page-title-on-the-contact-form/

  • @mattadrian5005
    @mattadrian5005 3 роки тому

    Very helpful video, thank you!!

  • @pixelgap
    @pixelgap 2 роки тому

    Simply amazing. Thank you

  • @theomoura2620
    @theomoura2620 3 роки тому

    Hey, it worked but how can i set the button's bottom margin (the button that code snippets creates)

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      See whether this helps you out. Code goes to Customizer >> Additional CSS.
      #trigger_cf.single_add_to_cart_button {
      margin-bottom: 2em;
      }

    • @theomoura2620
      @theomoura2620 3 роки тому

      @@wpsimplehacks thanks, it worked :)

  • @bindalenya2927
    @bindalenya2927 Рік тому

    Woo! The exact video I have been looking for the whole time. Thanks very much. However, I have one worry, I am using the divi them, and the contact form does not show up when on mobile. Any ideas how i could remedy the situation? Thanks.

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      Sorry, can’t help you with that. It would be wise to ask about it from the Divi support team.

  • @marcusmuller1674
    @marcusmuller1674 3 роки тому

    Thank you so much for that Video, but unfortantly it does not work on my side, i use Astra Theme with Elementor. Doing all steps, but the Button do not display on the Product page. Shuld i set up something special in the Themebuilder on the Single Product Page?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      If you are using Elementor for creating custom single product pages then pay attention that Elementor overrides all Woocommerce default templates and therefore my snippet is not working.

  • @DonMickyXavier
    @DonMickyXavier 11 місяців тому

    I succeeded the rest of the stuff. but I cannot set a custom email other than the admin email to sent the notification

    • @wpsimplehacks
      @wpsimplehacks  11 місяців тому

      It depends on your form plugin. Every plugin has an option to add sender and a receiver emails-

  • @simonkralev5735
    @simonkralev5735 3 роки тому

    You're appreciated! Thank you!

  • @oldrsl7341
    @oldrsl7341 3 роки тому

    wow this video was a great help. However, I am having problems with changing submit this form button name and color. please help

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      It depends on your contact form plugin you’re using. For example: Fluent forms allows you to change submit button colors.

  • @alexsandertallesvl
    @alexsandertallesvl 2 роки тому

    Fantástico, procurava por isso a alguns meses. Obrigado (Fantastic, I've been looking for this for a few months. Thanks)

  • @crispikios6751
    @crispikios6751 4 роки тому

    Thanks a lot!Working just right!If we want to play the form only for the product with no price?Is a way for that?Thanks again!

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому

      I’m not sure but you may play with the conditional
      if ( '' === $product->get_price() || 0 == $product->get_price() ) :

  • @ManuelePolverini
    @ManuelePolverini 3 роки тому

    How can i choose the right place to put the button? i want it after category section...

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Visual hooks guide for you www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/

  • @Hiscaffold
    @Hiscaffold 3 роки тому

    good video, can codes be used in Blocksy theme?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Yes, it works well with the Blocksy theme

  • @cassius.giorgio
    @cassius.giorgio Рік тому

    Wowww, this is very helpful!!!

  • @AndreaKChen
    @AndreaKChen 3 роки тому

    What if I want to enquire several products, can I add it to a list and then inquire all together??

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      You would need to find a Woocommerce quotation plugin for this

  • @haventso
    @haventso Рік тому

    thanks i was looking for thing for hours

  • @arfatalib377
    @arfatalib377 2 роки тому

    Hi. Thanks for the video. When i put my enquiry form code on snippet . after putting the code, Im facing an issue of disturbance onproduct page footer. Means the main headings of footer has been moved to right position because of Enquiry form code. And when i disable this form code , footer work perfectly!!

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      Probably your theme overrides some hooks. Try to use another hook location.

  • @szymonpyrdek8516
    @szymonpyrdek8516 2 роки тому

    Can I add Kadence Element instead of fluent form? I ask coz Kadence also provides shortcodes for Elements

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      I haven't tested but most likely yes.

    • @szymonpyrdek8516
      @szymonpyrdek8516 2 роки тому

      @@wpsimplehacks
      Thank for answer. I asked because it didn't work for me. Turned out you have to leave the Placement option on the Element Settings to blank(None) and set it to show on the Entire Site in the Display Settings. Maybe it hels someone.

  • @charisael3673
    @charisael3673 3 роки тому

    How to apply the form only to a specific product category? thank you

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      See the post here wpsimplehacks.com/woocommerce-product-enquiry-form/
      I added the conditional category chapter for you.

    • @charisael3673
      @charisael3673 3 роки тому

      @@wpsimplehacks Thank you for the help

  • @herculesblackthundergamer930
    @herculesblackthundergamer930 2 роки тому

    sir can you make video on product hover zoom plz

  • @huronmobegi9698
    @huronmobegi9698 4 роки тому

    Nice tutorial. I was wondering on how to addd enquiry form on product result page if no product results was found.

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому

      Add this snippet and replace the heading and shortcode
      add_action( 'woocommerce_no_products_found', 'show_products_on_no_products_found', 20 );
      function show_products_on_no_products_found() {
      echo '' . __( 'Send us an enquiry.', 'domain' ) . '';
      echo do_shortcode( '[your shortcode goes here]' );
      }

  • @baffourkonadu9274
    @baffourkonadu9274 3 роки тому

    my question is can you enable on a particular product

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      You need to use conditional logic in your snippet. See here www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/

  • @kashyapnandan2986
    @kashyapnandan2986 4 роки тому

    Thanks a lot. you saved my day

  • @ARYAN199809
    @ARYAN199809 Рік тому

    Can i add different enquiry form for different variations?

    • @wpsimplehacks
      @wpsimplehacks  Рік тому

      You would need to modify the code but unfortunately I can’t help you with that.

  • @herculesblackthundergamer930
    @herculesblackthundergamer930 2 роки тому

    Sir you are the best thankyou so much 👍👍😀🤙

  • @SoftExpert1
    @SoftExpert1 3 роки тому

    How can we enable 'add to cart' after submitting the form? (add to cart will be disabled before the form submission.

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      You would need to find a custom solution for it because this snippet is not intended for adding something to cart or is not in any way connected to the add to cart button.

  • @dsuinfotech
    @dsuinfotech Рік тому

    Bro thanks awesome video..

  • @christopher6328
    @christopher6328 3 роки тому

    thank you this made my life easier

  • @tomzawyer8790
    @tomzawyer8790 3 роки тому

    Great tutorials! How can I add the "Send us inquiry" button in my single page?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Well... this tutorial you’re commenting here should showe you exactly this :)

  • @uzairiqbal3062
    @uzairiqbal3062 4 роки тому

    Hello, thanks for the video. But I need your help. I have done all the things which you mentioned in the video but the "Enquiry Now" button is not showing on my product page. Can you help me, please?

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому +1

      Please post a screenshot of the code you pasted on your theme.

    • @uzairiqbal3062
      @uzairiqbal3062 4 роки тому

      @@wpsimplehacks I have installed the plugin and do the same procedure. I have to change in theme as well?

    • @uzairiqbal3062
      @uzairiqbal3062 4 роки тому

      @@wpsimplehacks I have sent you screenshot by email. Kindly check

  • @Bazilcalton-hb2me
    @Bazilcalton-hb2me Рік тому

    Perfect sir, just Perfect

  • @OFC1975
    @OFC1975 3 роки тому

    Excelent video! I´ve been looking for this. When I add the code in the plugin and save it, it says that I don't have permission to access this resource. Can you help me with this? Thanks!

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      Problably there is something wrong with your role permissions or there is a plugin that interferes. Hard to say.

  • @hariswami4827
    @hariswami4827 2 роки тому

    Hi
    I am going to give this a try but my product is extremely complex variable product using extra product options. Is it possible for us to have that button as “build quote” and after customizing it, we send this quote directly to customer email where they accept and it redirects them to check out? We can use fluent forms pro with CRM so this is only for the store people to use not for the customer. Please advise how. I would love to connect with you if you could help. Thanks in advance

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      Hi,
      I’m not sure that this kind of solution can be done with it. It would be wise to ask Fluent CRM / Fluent Forms team about it.

    • @hariswami4827
      @hariswami4827 2 роки тому

      @@wpsimplehacks As much as that plugin is powerful the video tutorials are repetitive and scenario based tutorial will be helpful. But if fluent is not involved, what would be your recommendation to achieve this?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      I haven’ t used any but try to search for a Woocommerce quatation plugins. Maybe some of them is offering such a features.

    • @hariswami4827
      @hariswami4827 2 роки тому

      @@wpsimplehacks tried YITH, but i want to send it from the front end. It acts as if for the customer. But we need it for the store. But thanks for your response.

  • @easyhacks8694
    @easyhacks8694 Рік тому

    You save me a lot of stress.i mean a lot . Thank you

  • @CamiloRosero
    @CamiloRosero 3 роки тому

    Muchísimas gracias! Thank you so much!

  • @anohngolle1431
    @anohngolle1431 3 роки тому

    where can i found the snippet code to copy please?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      How about the video description as said in the video? :)

    • @karanvij00
      @karanvij00 3 роки тому

      @@wpsimplehacks There is no Snippet in the description, mate. Plz check and re-post it

  • @HasanKayali
    @HasanKayali 2 роки тому

    Thank you :) I'm using Gravity Forms shortcode. After submitting, the form closes and the confirmation text is not visible. If I click the Enquiry button again the confirmation text becomes visible. How can I disable hiding the form after submission?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому +1

      Sorry, but I’m not familiar with the GF.

  • @tisserindia5640
    @tisserindia5640 3 роки тому

    after doing all step, after testing the button doesnt open form, tried many times

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      You may have some kind of conflick with the theme or any other plugin

  • @vzconsultoriaemti3387
    @vzconsultoriaemti3387 2 роки тому

    Congratulations on the content, it worked very well! I would like to know if it is possible to include two buttons in a product, Example: I have products with a quotation form and products available for approval which is another form, but in this product with an approval category I would like to make both buttons available (Request Quotation / Request Homologation ), it would be possible?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      It would need re-writing the code from the scratch.

  • @waliwalow7180
    @waliwalow7180 4 роки тому

    hI and thank you for this awsome tips! how can i add a custom fiels that customer can fill for some customizable products. Like the name he want for a customizable necklace fir example and i wish that this text would be display on order notifications. Is there a solution for this using code ?

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому +1

      Hi,
      This can be done by using custom code but it is a bit more difficult than a couple of lines of code. Take a look at this plugin here: wordpress.org/plugins/woo-extra-product-options/ This on helps you do the things you asked.

    • @waliwalow7180
      @waliwalow7180 4 роки тому

      @@wpsimplehacks Okay thank you for quick reply. I will try it. keep going with your good tips, especially for Kadence ;)

    • @NikkiPete
      @NikkiPete 3 роки тому

      @@wpsimplehacks Thank you!

  • @ebazart4637
    @ebazart4637 2 роки тому

    Salaam, brother I'm Abdelaziz from Morocco.
    First of all thanks a lot for your purposive videos.
    Q: how can I hide a product price ( price will be on application) yet at the sane time keep the add to cart button)
    Best greetings.

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      See this video "Woocommerce Catalog Mode & Conditionally hide add to cart button and price"
      ua-cam.com/video/-EzCP-4V_mk/v-deo.html

  • @usamanaseer5472
    @usamanaseer5472 3 роки тому

    thanks for video after whole day i find your video. i have a qustion.. how can we use subcategories ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      What do you mean by that? :)

    • @usamanaseer5472
      @usamanaseer5472 3 роки тому

      @@wpsimplehacks i want to use this enquiry form in specific subcategory not in main category how will its possible ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      You need to use conditionals for thet. See here www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/

    • @usamanaseer5472
      @usamanaseer5472 3 роки тому

      @@wpsimplehacks thanks its work 🙂 ..... But its not show on my product page which i created by elementor pro

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      It’s because Elementor overrides default Woocommerce template. Us Elementor Pro modal option to insert a enquiry form on product pages.

  • @tanmaytripathi5179
    @tanmaytripathi5179 3 роки тому

    How can we add simple send enquiry button form in a simple wordpress website ? In product varieties display ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      So you want to show enquiry form for variations only? This need custom coding so you would need to hire someone who can code it for you.

    • @tanmaytripathi5179
      @tanmaytripathi5179 3 роки тому

      @@wpsimplehacks thanks for your valuable response

  • @thabodigital
    @thabodigital 3 роки тому

    I'm using astra theme and when press the buttom nothing is happening . Wa na change astra theme without breaking my website . Is that possible ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      I have tested it with Astra and works well here. If you’re using any page builder (Elementor etc) that overrides Woocommerce default hooks then those snippets won’t work.

    • @thabodigital
      @thabodigital 3 роки тому

      @@wpsimplehacks yes I'm using Elementor may be that's why

    • @thabodigital
      @thabodigital 3 роки тому

      @@wpsimplehacks I got it right finally . Thank you very much ❤️

  • @chinnasamyv8432
    @chinnasamyv8432 2 роки тому

    when i click on the button it does not call the form why is that

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      I don’t know :) Did you use correct shortcode etc?

  • @benjaminhammond9648
    @benjaminhammond9648 2 роки тому

    Such a great tutorial -Thanks! Quick Q: How to remove enquire button when out of stock?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      It would require a modification of the snippet but unfortunatley I have too much stuff going on at the moment to take a closer look at it.

    • @benjaminhammond9648
      @benjaminhammond9648 2 роки тому

      @@wpsimplehacks I would be willing to pay if that makes a difference!

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      @@benjaminhammond9648 Hi, Sorry Benjamin, but at the moment I am fully booked and have no time to spare for these kinds of project. See, whether a freelancer from Upwork can help you out www.upwork.com/hire/woocommerce-developers/

  • @yt.dipak97
    @yt.dipak97 2 роки тому

    Hey I just want add the form without the enquiry button is it possible?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      Try this:
      add_action( 'woocommerce_single_product_summary', 'wpsh_enquiry_form_without_button', 30 );
      function wpsh_enquiry_form_without_button() {
      echo do_shortcode('[fluentform id="1"]'); // Add your own shortcode here
      }

    • @tomkasparoff8688
      @tomkasparoff8688 2 роки тому

      Hi, If I want to Show Woocommerce Product Enquiry form For a Specific Sub_category. E.g. Animals (Parent category), Tigers (subcategory of Animals), Cats(subcategory of Tigers). So how to display it in code if in you category for parent category you mentioned "product_cat". What will it be for Cats and Tigers in my example. Thank you in advance.
      @@wpsimplehacks

  • @GeekOne87
    @GeekOne87 4 роки тому

    Absolutely brilliant supper easy to follow.. Subs.. It would be great if you could start a complete woocommerce series basic to advance..

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому

      Hi,
      Thank you for the sub. The basic Woo stuff is a bit out of my niche and there are a lot of videos on "how to set up a woo site" or "how to confifure a woo site" and therefore I think I will stay with the small hacks like this :)
      Is there anything particular you would like me to make a video on?

  • @silvestarspasov2470
    @silvestarspasov2470 4 роки тому

    Thanks for this video.

  • @MohitPatel-lc7ly
    @MohitPatel-lc7ly 3 роки тому

    thank you it worked ....

  • @RickyJogging
    @RickyJogging 3 роки тому

    Hello, thank you for the great snippet! I am having one issue - When I click my form button to expand it, it seems to treat the form button as the add to cart button as well. Giving me an error that I need to select quantity and dates before adding to cart (I use a booking base product purchase system called Easy Booking). Have you or anyone else encountered this error?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Nope. Either your theme or Easy booking button has a conflict with the snippet. Try to change this part here: class="single_add_to_cart_button button alt". For example, instead of "single_add_to_cart_button" rename it as "enquiry_button"

  • @sreejith7578
    @sreejith7578 2 роки тому

    sir..Is there any way to display name of the particular product automatically in the Enquiry form?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      Dont use the hidden field. Use HTML field and add this inside the content {embed_post.post_title}. This will display product name in your form.

    • @sreejith7578
      @sreejith7578 2 роки тому

      @@wpsimplehacks Thanks sir . Working fine.:)

  • @plunkett1209
    @plunkett1209 4 роки тому

    Can I add enquiry form to a variable product

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому +1

      I haven’t figured out a way to do that with the regular contact forms. There is a plugin that does that but you have to pay for it. If you’re interested then it is here www.piwebsolution.com/product/enquiry-quotation-for-woocommerce-pro/

  • @vinaymohanvny3589
    @vinaymohanvny3589 3 роки тому

    Awesome video its works perfectly on the desktop site. But The button is not working on mobiles

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      Just tested on four of my sites and works well everywhere.

    • @vinaymohanvny3589
      @vinaymohanvny3589 3 роки тому

      @@wpsimplehacks I am using ocean wp theme is that any conflict ?

    • @vinaymohanvny3589
      @vinaymohanvny3589 3 роки тому

      is there any option to add like popup for enquiry form ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      @@vinaymohanvny3589 It depends on your form. Fluent forms for exampla has tan option to add it as a popup wpmanageninja.com/docs/fluent-form/advanced-features-functionalities-in-wp-fluent-form/modal-popup-lightbox-wp-fluent-forms/

  • @ACMEWeldCut
    @ACMEWeldCut 2 роки тому

    I did it following these steps, but no button showing. What's wrong?

    • @wpsimplehacks
      @wpsimplehacks  2 роки тому

      I don't know because I have no access to your site 🙂

  • @Johnwick-vx8nh
    @Johnwick-vx8nh 4 місяці тому

    helped a lot I've to do the same work you did Jazakallah

  • @news123-4
    @news123-4 2 роки тому

    I'll save it and watch it later

  • @usamanaseer5472
    @usamanaseer5472 3 роки тому

    How can we do css of this form ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Fominator -> Forms -> [Your form->edit] -> Appearance -> Custom CSS

  • @fredfabrega1664
    @fredfabrega1664 Рік тому

    Hello, thanks for your video. Is it possible to do the following ?
    For non-registered users :
    Hide the price and add to cart button
    Display an enquiry form on the short description section of the product page.
    For registered users :
    Show prices and add to cart
    Hide the enquiry form

    • @wpsimplehacks
      @wpsimplehacks  Рік тому +1

      Hi,
      Yes, it can be done, but you need to tweak the code with conditionals. For example, "is_user_logged_in" conditional. Here are some examples on how to use conditional logic www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/

  • @usamanaseer5472
    @usamanaseer5472 3 роки тому

    how to add custom CSS in "Send us your enquiry" button ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      It depends on the form you are using. If you know what plugin is that then you should ask from the contact form plugin support.

    • @usamanaseer5472
      @usamanaseer5472 3 роки тому

      @@wpsimplehacks i using your snippet which you used in your video

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому +1

      Yeah, but the submit button depends from your theme colors and form submit button depends on the form you are using. If you are using Fluent forms then you can customize this button from the form edit page.

  • @niralsura
    @niralsura 4 роки тому

    Hi please make a tutorial to open contact form in a popup. Thanks for the great video.

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому +1

      Fluent Forms allows you to make a popup form. See tutorial here wpmanageninja.com/docs/fluent-form/advanced-features-functionalities-in-wp-fluent-form/modal-popup-lightbox-wp-fluent-forms/
      Also, with Caldera forms you can create pop-up forms. See here calderaforms.com/doc/caldera-forms-shortcode/

    • @niralsura
      @niralsura 4 роки тому

      Website working now thanks :)

    • @CaerelsJan
      @CaerelsJan 4 роки тому

      @@wpsimplehacks I have tried this WP Fluent Forms popup/modal forms, but it doesn't work for me. The shortcode for the form itself works, but the shortcode for the modal doesn't. Can you make a tutorial and see if I'm doing something wrong? I was also thinking that the popup option might be a premium feature & maybe that's why it doesn't work for me.

    • @wpsimplehacks
      @wpsimplehacks  4 роки тому

      @@CaerelsJan The modal should also work with the free version. Take a look at the Fluent Forms docs site here wpmanageninja.com/docs/fluent-form/advanced-features-functionalities-in-wp-fluent-form/modal-popup-lightbox-wp-fluent-forms/
      If it still does not work then probably the best way to get the solution is to ask from the Flurent forms support team here wordpress.org/support/plugin/fluentform/

    • @CaerelsJan
      @CaerelsJan 4 роки тому

      @@wpsimplehacks Hi! Yes I followed the instructios from the docs exactly! The form shortcode works, but the form-modal shortcode doesn't :(
      The suggestion for the support team: I already did :-) But I sent a request via their website directly (not via wordpress.org). I will see what they say

  • @georgiali992
    @georgiali992 2 роки тому

    thank you

  • @richardlilley6027
    @richardlilley6027 3 роки тому

    Hi ive added and it look sgreat but im using if ( has_term( 'unique', 'product_cat' ) ) { with unique being my slug for categoey - however its showing on all categpry products , any ideas please ?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Hi,
      Did you try this one here? wpsimplehacks.com/woocommerce-product-enquiry-form/#how-to-show-woocommerce-product-enquiry-form-for-a-specific-category
      I just tested it and it works as promised. Pay attention though that your product doesn’t belong to the category "unique" if you don’t want it to show the form.

    • @richardlilley6027
      @richardlilley6027 3 роки тому

      I have the below: 'unique' is the category I only want the enquire form to show - but its showing on all categories for me ? thanks
      add_action( 'woocommerce_single_product_summary', 'enquiry_form', 30 );
      function enquiry_form() {
      if ( has_term( 'unique', 'product_cat' ) ) {
      echo 'Enquire for more colours';
      echo '';
      echo do_shortcode('[contact-form-7 id="1580" title="colour form"]');
      echo '';
      }
      else {
      echo 'Enquire for more colours';
      echo '';
      echo do_shortcode('[contact-form-7 id="1580" title="colour form"]');
      echo '';
      }
      }
      add_action( 'woocommerce_single_product_summary', 'enquiry_form_1', 40);
      function enquiry_form_1() {
      ?>
      jQuery('#trigger_cf').on('click', function(){
      if ( jQuery(this).text() == 'Enquire for more colours' ) {
      jQuery('#product_inq').css("display","block");
      jQuery("#trigger_cf").html('Close');
      } else {
      jQuery('#product_inq').hide();
      jQuery("#trigger_cf").html('Enquire for more colours');
      }
      });

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      You're using wrong snippet. You're using snippet that should show one form for specific category and other one for everything else. Although you're using same form for everything. See my link in my previous comment which contains the snippet you should use.

    • @richardlilley6027
      @richardlilley6027 3 роки тому

      @@wpsimplehacks Thankd went through it all again and it works - thats great help ...

  • @dianamendoza108
    @dianamendoza108 3 роки тому

    when I finish, it gets me this error message:
    "A potentially unsafe operation has been detected in your request to this site
    Your access to this service has been limited. (HTTP response code 403)
    If you think you have been blocked in error, contact the owner of this site for assistance."
    I suppose it's because i'm entering new code but.. I'm not sure :S Is this normal?

    • @wpsimplehacks
      @wpsimplehacks  3 роки тому

      Probably you are usinf Wordfence or any other security plugin which gives this warning. You may not pay attention to it