Installation Guide
Listed below is the guide to get your plugin up and running. This plugin does not do all the work for you. You must properly configure your product, gravity form, and fields for the plugin to work properly within your site. Every site is different, and this plugin is designed to get you going, but you may need to adjust your product, form, and perhaps even your theme to fully utilize it.
1. Get Whitelisted!
This plugin integrates with a 3rd party API you will need to get your site whitelisted with. Please contact Scorpion to start this process!
2. Install Other Plugins
- Install WooCommerce and configure it for your store. We recommend you keep WooCommerce up to date!
- Install Gravity Forms.
- Install WooCommerce Gravity Forms Product Add-On.
3. Create Your Product
You'll need a WooCommerce product to sell the kits.
- Create a new product and set the basic properties of image, description, categories, etc. as you'd like them
- Give your product a unique SKU and note that SKU for input in this admin tool
4. Configure the Form for your Product
Create and associate a new gravity form with the product. To associate a form to a product, go to the product and scroll down below the description box. There you will see a box called Product Data. Select the Gravity Forms tab. Select your form from the dropdown menu, or create a new one. Once a form is associated, set the following fields / specifications:
- Year:
- Type: Drop Down Field
- Required: Checked
- Options: One blank option
- Custom CSS Class: api-year
- Make
- Type: Drop Down Field
- Required: Checked
- Options: One blank option
- Custom CSS Class: api-make
- Advanced: Enable Conditional Logic - SHOW field if Year is not blank.
- Model
- Type: Drop Down Field
- Required: Checked
- Options: One blank option
- Custom CSS Class: api-model
- Advanced: Enable Conditional Logic - SHOW field if Year is not blank AND Make is not blank.
- Trim
- Type: Drop Down Field
- Required: Checked
- Options: One blank option
- Custom CSS Class: api-trim
- Advanced: Enable Conditional Logic - SHOW field if Year is not blank AND Make is not blank AND Model is not blank.
- Selected Patterns
- Type: HTML Content
- Content: [scorpion_ppf_selected_patterns]
- Custom CSS Class: api-selected-patterns-list
- Advanced: Enable Conditional Logic - SHOW field if Trim is not blank.
- Patterns
- Type: Paragraph Text
- Required: Checked
- Custom CSS Class: api-selected-patterns
- Advanced: Enable Conditional Logic - SHOW field if Trim is not blank.
- Kit Price
- Type: Product
- Required: Checked
- Field Type: User Defined Price
- Custom CSS Class: api-price
- Advanced: Enable Conditional Logic - SHOW field if Trim is not blank.
Change a few other settings on your product as well:
- Regular Price - set to 0
- Price Labels - check the "Remove WooCommerce Price" box.
- Advanced Options - uncheck the "Enable Cart Edit" checkbox.
- Total Calculations - check "disable calculations", "disable subtotal"