View Product Page

Contact form 7

If you prefer using a form built with Contact Form 7 plugin, please, make sure you have installed and activated Contact Form 7 plugin.

Then, go to YITH  > Form options >Request a quote” Form and select Contact Form 7.

Contact form 7
You will be able to choose one of the forms that you have previously configured in Contact Form 7 plugin settings.
 
To use these plugins and avoid errors during their functioning, you have to follow specific rules when the form is created.
When creating form fields, please, consider the following information to set fields in a way that is adequate for the right integration with “YITH Request a Quote for WooCommerce”. If the fields are added correctly, the information entered by customers on the Request a Quote page will automatically fill the billing and shipping fields in the quote order.
These are the integrated fields that will automatically fill WooCommerce order fields.
  • name: [text* your-name]
  • email: [email* your-email]
  • message: [textarea your-message]

Other fields:

  • billing address: [text* billing-address]
  • billing phone: [text* billing-phone]
  • billing vat: [text* billing-vat]
  • billing first name: [text* billing-first-name]
  • billing last name: [text* billing-last-name]
  • billing company: [text* billing-company]
  • billing country: [text* billing-country]
  • billing address 1: [text* billing-address-1]
  • billing address 2: [text* billing-address-2]
  • billing city: [text* billing-city]
  • billing state: [text* billing-state]
  • billing postcode: [text* billing-postcode]
  • billing phone: [text* billing-phone]
  • billing email: [text* billing-email]
  • shipping first name: [text* shipping-first-name]
  • shipping last name: [text* shipping-last-name]
  • shipping company: [text* shipping-company]
  • shipping country: [text* shipping-country]
  • shipping address 1: [text* shipping-address-1]
  • shipping address 2: [text* shipping-address-2]
  • shipping city: [text* shipping-city]
  • shipping state: [text* shipping-state]
  • shipping postcode: [text* shipping-postcode]
contact form settings

You can also add custom fields, and this will be shown only in the “request Details” in the administration section. Follow contact form documentation for more details.

Add the shortcode [yith-request-a-quote-list] to the message body to show the list of products in the request in the email.

“YITH Request a Quote for WooCommerce” does not manage the style of emails generated by another plugin.

Using WPML

If you are using WPML on your site, please make sure of inserting the [hidden lang “it”] field to the form. This allows applying the current language to the quote request and, as a consequence, getting the email translation.