Deutsch Demo shop Store

A form on the product page

There is no block here. When the page is called the plugin looks up the matching assignment, and when several match, a fixed order applies. The submission then knows the product, whether it was an availability inquiry, a sample or a quote.

Three positions, three display modes

Both apply per sales channel, not per form.

your-shop.example/workbench-pro-120
Workbench Pro 120€1,249.00*Add to shopping cartProduct number: SW10005
Product requestWe are happy to help with Workbench Pro 120.
Send request
DescriptionReviews

Position

  • Below buy box

    right next to the buy area, the factory setting

  • Below description

    below the description text

  • Own tab

    as another tab next to description and reviews

Display mode

  • Collapsed button

    a "Product request" box with a "Send request" button opens the form, the factory setting; below the buy box it opens as a popup

  • Directly visible

    the form stands there open

  • Collapsed link

    a text link instead of a button

Product
Request
Below buy box
Product
Request
Below description
Product
Request
Own tab

The same product page three times: on the left below the buy box, in the middle below the description, on the right in a tab of its own. Exactly one of them applies.

The chosen combination lands as a class on the form's wrapper. Whoever wants to adjust the look in the theme has a hook there, without overriding a template.

The assignment

It answers: which form, for which products, under what circumstances.

your-shop.example/admin
Workbench adviceCancelSave
Basic information
Workbench advice
Active
Request product advice
Select rule...
100
Products
Individual products
Select product...
Product numberName
SW10005Workbench Pro 120
SW10006Workbench Pro 150
  • Form

    Which form should appear.

  • Products

    Either individual products, down to the variant, or a dynamic product group.

  • Rule

    Optionally a rule from the Shopware rule builder. If it does not apply at that moment, the assignment drops out.

  • Priority

    A number. It decides when several assignments match the same product.

When two assignments match

Exactly one always wins, and it does so in this order.

your-shop.example/admin
Range questionsCancelSave
Basic information
Range questions
Active
Contact form
Business customers
10
Products
Dynamic product group
Workshop supplies
  1. 01Active

    Inactive assignments do not even enter the count.

  2. 02Rule applies

    If a rule is stored, it has to apply at the moment of the call.

  3. 03Higher priority

    The bigger number wins.

  4. 04On a tie

    The individual assignment beats the dynamic product group. If those match too, the most recently created one wins.

An assigned parent product covers the whole variant family. The lookup uses the product id and the parent id, so variants that are nowhere listed individually get the form as well.

An example

Two assignments, two different forms, and the priority decides.

your-shop.example/admin
Search product assignments...
Product assignmentsCreate assignment
NameFormActiveTypePriority
Workbench adviceRequest product adviceIndividual products100
Range questionsContact formDynamic product group10
Product Form Kind Priority
SW10005 and all variants Request product advice individual products 100
SW10001 Contact form dynamic product group 10

The product group covers both products. On SW10005 the advice form still wins, because 100 is greater than 10.

The three places

Product page

Three positions, three display modes, one assignment.

Order

In the customer account, with the order number as context.