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](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F0a6f5332-a7a5-4309-8f1b-c6a03e37f836%2F5e95c96d-c4e5-482a-9c7e-3b473e4cb4aa%2FCleanShot_2024-01-04_at_12.58.502x.png?table=block&id=dff17a28-b4ae-4997-86c5-5ad6198607e8&cache=v2)
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:
![Notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F0a6f5332-a7a5-4309-8f1b-c6a03e37f836%2Ff706ebc6-79c8-4d8b-9c66-c1b05799a1a6%2FCleanShot_2024-06-14_at_13.57.46.gif?table=block&id=ec196bf1-2bf6-4e58-b2d0-13cebdead163&cache=v2)
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.
Example: https://dfforms.com/shareform/dff3afbf-db87-4756-a9b4-e09c0705c9cf-3?_dfp=dfpiEODM71SySy,dfpirAeGdKAW7B
![Where 1 is the URL parameter
2 is the first product ID
3 is the 2nd product ID](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F0a6f5332-a7a5-4309-8f1b-c6a03e37f836%2Fb74eca2a-f45f-4f87-b579-d16e7dd47c08%2FCleanShot_2024-06-14_at_14.13.052x.png?table=block&id=b300aa23-d618-473a-9d71-a6496d03c439&cache=v2)
The end result will look like
![Notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F0a6f5332-a7a5-4309-8f1b-c6a03e37f836%2Fc34d24a6-3744-4625-9b64-878ec253a5b1%2FCleanShot_2024-06-14_at_14.17.132x.png?table=block&id=1e160735-9ed8-4e95-bcca-1468503ea09b&cache=v2)
Main Product and Multiple Optional
https://dfforms.com/shareform/dff3afbf-db87-4756-a9b4-e09c0705c9cf-3?_dfp=dfpiEODM71SySy,dfpirAeGdKAW7B,dfpiRMW1FsoI4e
![Notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F0a6f5332-a7a5-4309-8f1b-c6a03e37f836%2F954992f9-7dc6-49da-816f-30ad0c7d0dca%2FCleanShot_2024-06-14_at_14.16.002x.png?table=block&id=9945bb72-56c6-423b-8509-fd91260aa786&cache=v2)
Optional Only
![Notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F0a6f5332-a7a5-4309-8f1b-c6a03e37f836%2F6591b9c3-5787-4fc5-b99d-1305f9581c79%2FCleanShot_2024-06-14_at_14.19.262x.png?table=block&id=23d69dfc-6ae6-4886-a43c-01bfde7d24bc&cache=v2)