Step One: Gather required information from your Breezing Form

 

Step One: Prepare your Breezing Form. It must be fully configured, tested & ready to use.

 

Do you need to adjust pricing based on form responses?

Icon

Will any of your form responses need to adjust the product price?  If so, you will need to add information into your Breezing Form to indicate how much the price should be increased or decreased for each form response.

For directions on how to do this, visit our Pricing Adjustment FAQ page for details.

If your product price will not change based on the form responses, you can skip this step.

 

Please consult the Crosstec Breezing Form documentation if you have questions about how to develop a Breezing Form.

Polished Geek does not provide free form development services or Breezing Form component support as part of our extension. We do offer paid technical services and would be happy to assist you in developing your custom form. Please Contact Us for a quote.

 

 

You need to check your configuration and write down some information from your Breezing Form(s).

Breezing Forms "Quick Mode" Instructions

Icon

The following instructions only refer to the "Quick Mode" form options in Breezing Forms.

If you use either "Easy Mode" or "Classic Mode", you will need to modify these instructions accordingly to get your form and field names.

 

1) You will need the Breezing Form form name. Under the form Properties tab, get the form name and save it for later. You must provide this name exactly as you have it set up in Breezing Forms, so be sure to copy it down accurately.

 

In this screenshot, the form name to write down would be "eyeglass_prescription_form"

2) You also will need to make sure on this same page that the form has been configured with a Submit button. You can change the Submit Button text to be whatever you feel is appropriate within the product page (for example "Add to Cart". When customers click on this, the values for the product will be captured, the price adjusted accordingly (if you have pricing changes), and the item will be added to their cart.

 

3) Enter the provided code snippet in the Breezing Form form options.

To find this location, click first on the form name, then click on the Advanced tab, then click "More Options".

 

A modal window will open. Click on the "Submit Pieces" tab, and then under End Submit choose Type = Custom. Paste in the code snippet provided below.

 

Code Snippet for Breezing Forms Submit

Code snippet for Breezing Forms End Submit
global $database, $_SESSION;
$this->execPieceByName('ff_InitLib');
$database->setQuery("SELECT MAX(id) FROM #__facileforms_records");
$lastid = $database->loadResult();
$_SESSION['virtuemart_bf_id'] = $lastid;
$session =& JFactory::getSession();
$session->set( 'virtuemart_bf_id', $lastid );

 

If you are still not sure where to place the code snippet, here are a full set of click-by-click instructions of exactly where to place the code. These instructions assume you are using Breezing Forms "QuickMode":

Edit the Form:

  1. In the left hand column, make sure the form is selected (not a page or element).
  2. Click the "Advanced" tab in the right hand box.
  3. Click the "More options" link.
  4. In the box that pops up, select the "Submit pieces" tab.
  5. Under the "End submit", click "Custom".
  6. An edit box will appear, add the code into that edit box.
  7. Scroll down in the pop-up box and click "Save".
  8. Click "Save properties" right above the "Form Properties".
  9. Click the "Save" button in the right hand corner of the window.

 

4) Get the field name(s) of all field from the Breezing Form that you would like to have brought into the VirtueMart order record. You can have as many fields as you like in the Breezing Form and then just select the ones you want to have captured and brought into VirtueMart when the user submits it.  Click on each Breezing Form field you want to capture, then the Properties tab.

 

You  will need to get all of the field names that you want to have show up in the cart and on the order. If a field is just a heading field, or not one that you want to see on the order, you can skip it. If your form is long with many field names, you may want to open a text editor and copy/paste them with commas between them. Here's an example:

 

5) Add the custom Quantity field to your Breezing Form

You must add an additional field to your Breezing Form with the field name "vmbf_quantity" as shown on the screenshot above. You can use any type of input you like, as long as it is a numeric field (text input, radio buttons, drop down, etc.). This will replace the normal VirtueMart 2 quantity button for your product.

 

Are you changing the product price based on the form options?

Icon

Will any of your form responses need to adjust the product price? 

If so, you will need to add information into your Breezing Form to indicate how much the price should be increased or decreased for each form response.

For directions on how to do this, visit our Pricing Adjustment FAQ page for instructions. It's important that you add the additional "vmbf_subtotal" field to your Breezing Form as described there to capture the dynamic pricing.

If your product price will not change based on the form responses, you can skip this step.

 

You are now ready to proceed to Step Two: Configure the VirtueMart Custom Field

 

Need Help Creating Your Breezing Form? We are pleased to offer technical services to build your Breezing Form for an additional fee. Contact Us to learn more and receive a free quote.

 

 

  • Keine Stichwörter

 

Special Offer

Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!