diff --git a/src/Resources/translations/messages.en.yml b/src/Resources/translations/messages.en.yml index 61f378c3..ab250ed3 100644 --- a/src/Resources/translations/messages.en.yml +++ b/src/Resources/translations/messages.en.yml @@ -8,3 +8,4 @@ bitbag_sylius_product_bundle: products_in_bundle: Products in bundle is_packed_product: Is packed product is_bundle: Is bundle + is_packed_help: If the bundle is not marked as packed, customers will be able to select different variants for products in the bundle diff --git a/src/Resources/views/Admin/Product/Tab/_bundle.html.twig b/src/Resources/views/Admin/Product/Tab/_bundle.html.twig index 586e8568..aa724a8e 100644 --- a/src/Resources/views/Admin/Product/Tab/_bundle.html.twig +++ b/src/Resources/views/Admin/Product/Tab/_bundle.html.twig @@ -3,6 +3,10 @@
{{ form_row(form.productBundle.isPackedProduct) }} + {{ form_help(form.productBundle.isPackedProduct, { + 'help': 'bitbag_sylius_product_bundle.ui.is_packed_help'|trans, + 'help_attr': {'class':'ui info message'} + }) }} {{ form_row(form.productBundle.productBundleItems) }} {{ sonata_block_render_event('sylius.admin.product.' ~ action ~ '.tab_bundle', {'form': form }) }}