Loading the form with Pre-selected Products (Hide Product Selection)

This feature is very similar to loading the form the a pre-selected product, the main difference is with this feature, you can load the form with multiple pre-selected products with different combinations (like optional product only), it also remove the ability for end users to change the product selection.

This is particularly beneficial if you don’t want to create multiple forms for different products, or if you want to enforce specific product combinations on a form, if you’re running a promotion for example. Product combinations you can do:

  • One Main product
  • One Main product and any amount of optional products
  • only Optional product(s) without main product.
 

Getting the Product ID

You can get the product ID by copying the ID from the product page, or by clicking on the ? icon on the product list on the form builder.

Notion image
 

Building the form URL

To use this feature, you can pass product ID as a URL parameter like ?_dfp=<ID>

  • Where <ID> is the product ID taken from the DepositFix form builder.
 

For example, if we want to preselect the 2nd product on this page:

We can add the URL parameter above and the product ID. So the URL will be:

⚠️
Notice how using _dfpr hides all other products on the form, and automatically select the ones passed in the URL.
Notion image

Product Combination Examples

This feature will not allow you to load more than one main product in a combination, i.e. if you pre-select two main products, only the one higher in the product list will be pre-selected.

Main Product and One Optional

To select multiple products, you only need to use _dfp= followed by the product IDs, separated by comma.

 
Where 1 is the URL parameter
2 is the first product ID
3 is the 2nd product ID
Where 1 is the URL parameter 2 is the first product ID 3 is the 2nd product ID

The end result will look like

 
Notion image

Main Product and Multiple Optional

 
Notion image
 

Optional Only

 
Notion image
 
Did this answer your question?
😞
😐
🤩