<img src="abc.png" />
    
call to replace anchor tags contains '/admin' in href

How to edit product enquiry form?

Scenario

You want to modify the Product Enquiry form (built-in form) on the site and add new fields that your customers can fill the information which you seek.

Example

Steps

StoreHippo allows you to edit an existing form. If you wish to add a new field, you will need to save the data of the new field. For this, create a metafield which will be used to store the data of the field created. Follow the below-mentioned steps to add a new field to your existing form:

Creating Metafields

  1. Go to Advance Settings > Metafields section in StoreHippo Admin Panel 
  2. Click on Add New.
  3. Select the Name of the entity as 'ms.product_enquiries' where the data will be stored.
  4. Under fields, Enter the field name as 'Address' and select the Data Type as 'string'.
  5. Click on the Add Field button to add more field.
  6. Provide the Name as "Preferred time to call" and Type as 'datetime' for the new field.
  7. Click on Save to save the metafield.

    Edit Product Enquiry form

Please follow these steps to edit a form:

  1. Go to Site > Forms section in StoreHippo Admin Panel to edit a form.
  2. Click on the Product Enquiry form.
  3. The Product Enquiry form opens. Click on Add Field to add new fields in the form.
  4. Provide the Field label as 'Address' and Field name as 'metafield.address' for the new field.
  5. Similarly, add one more field. Enter the Field label as 'Preferred time to call' and Field name as 'metafield.preferred_time_to_call'.
  6. Click on Save to save the changes. 
  7. The fields will be added to the form and it will appear as given below:
2018-12-04T11:02:45.710Z