Monthly Archives: September 2020

How to overwrite the default contact us form by using a form created by xform?

You will have to do the following steps if you want to overwrite the default contact form by a form created by xform.

  1. Please navigate to X-Form and click the Cog icon of the form you want to overwrite with.
  2. Now click the ShortCode tab and copy the iframe URL of the form
  3. Now navigates into Extension-> Modules. Install the HTML Content module if it is not yet installed. Now click the Edit button of the HTML Content module
  4. On the Editor, please CodeView icon
  5. Now add the following code i.e a frame and some CSS so it can make hidden default form. Please adjust the height of the iframe accordingly. Also, don’t forget to update the form URL that you copied earlier. Now click the Save button to save the HTML content module.
  6. Now navigate to Design -> Layout, Now edit Contact Layout. Finally, add the HTML content module to the Content bottom position.
<style>
#information-contact form.form-horizontal {
    display: none;
}
</style>
<iframe frameborder="0" height="700" width="100%" src="https://demo.opencartmart.com/xform/index.php?route=extension/module/xform&formId=7&ui=0"></iframe>

That’s all.

How to sum the cost up of the two methods?

To sum up the cost of several methods, you can use the Grouping Option. Here are the steps to be followed:

  1. Go to X-Shippingpro -> Global setting -> Grouping, Now select a group e.g. Group1 to SUM

2. Now we have a group1 and we have to assign group method/member for this group.

3. To assign a method into a group, go to the general tab of a method, select the Group to Group1.

4. When X-Shippingpro finds several methods belongs to the same group during checkout,  X-Shippingpro takes the appropriate action and shows one method instead of showing them all.

For example, you have a `Method-1` and `Method-2` methods.  If customer want to purchase only from the `Method-2` or `Method-2`, group mode will not come into action. 

But when a customer wants to purchase from both `Method-1` and `Method-2`, it meets the group criteria and grouping will come into action. So shipping cost will be summed up and it displays the summed cost instead of showing separately.