Shopping experiences
Block and element for any page in the editor.
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.
Both apply per sales channel, not per form.
right next to the buy area, the factory setting
below the description text
as another tab next to description and reviews
a "Product request" box with a "Send request" button opens the form, the factory setting; below the buy box it opens as a popup
the form stands there open
a text link instead of a button
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.
It answers: which form, for which products, under what circumstances.
Which form should appear.
Either individual products, down to the variant, or a dynamic product group.
Optionally a rule from the Shopware rule builder. If it does not apply at that moment, the assignment drops out.
A number. It decides when several assignments match the same product.
Exactly one always wins, and it does so in this order.
Inactive assignments do not even enter the count.
If a rule is stored, it has to apply at the moment of the call.
The bigger number wins.
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.
Two assignments, two different forms, and the priority decides.
| 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.
Block and element for any page in the editor.
Three positions, three display modes, one assignment.
In the customer account, with the order number as context.