• Resolved kissenefrega

    (@kissenefrega)


    Hi,
    the plugin works fine!
    I need a little tweak for the error/successful message.
    When a user click the Send Button the message appears on the top of the form.
    It’s hard to see it specially when the form is scrolled down.

    How can I copy/move that message at the bottom of the form?

    Thank you!
    Marco

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @kissenefrega, thanks for getting in touch with us.

    You can place the error/successfull message by woocommerce-catalog-enquiry/classes/class-wc-Woocommerce-Catalog-Enquiry-frontend.php and replace this code and place this as per your required place :
    <p id=”msg_for_enquiry_error” style=”color:#f00; text-align:center;”></p>
    <p id=”msg_for_enquiry_sucesss” style=”color:#0f0; text-align:center;”></p>

    Thread Starter kissenefrega

    (@kissenefrega)

    Could you tell me please the number of the line where I can place the code?
    Thanks

    @kissenefrega, we have used this two code at line number 299 and 300.

    Now, paste this code at the desired line number at class-wc-Woocommerce-Catalog-Enquiry-frontend.php file to place the sucess and error message as per your need :

    <p id=”msg_for_enquiry_error” style=”color:#f00; text-align:center;”></p>
    <p id=”msg_for_enquiry_sucesss” style=”color:#0f0; text-align:center;”></p>

    Thread Starter kissenefrega

    (@kissenefrega)

    No, it does not not work. I put the code between the “woo_catalog_captcha” and the “modal-footer” but the message does not appear..
    any other suggestion?

    @kissenefrega Sorry, we forgot to ask you. Maybe you are using enquiry form in “pop up” on your product page.

    So do the same things within ‘add_form_for_enquiry’ function ( line no. 402 and 403)

    Thread Starter kissenefrega

    (@kissenefrega)

    Hi,
    no I tried in both functions but it does not work.
    I thought a solution. How could I put an url (to anothor page) on “send an enquiry” button?
    Is it possible?

    Very thanks!

    @kissenefrega The code should work if added properly. Can you please get in touch with our support forum and share the code with us so that our team can look into this and assist you accordingly: https://wc-marketplace.com/support-forum/forum/wcmp-catalog-enquiry/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Copy or move down the “Error/successfull message”’ is closed to new replies.