mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[Ui] Add ss shipping required for product variant
This commit is contained in:
parent
9702288ffa
commit
34d766e6d1
4 changed files with 10 additions and 0 deletions
|
|
@ -13,6 +13,11 @@
|
|||
</div>
|
||||
{{ form_row(form.channelPricings) }}
|
||||
</div>
|
||||
<div class="ui segment">
|
||||
<div class="one field">
|
||||
{{ form_row(form.shippingRequired) }}
|
||||
</div>
|
||||
</div>
|
||||
{% if form.optionValues is defined and form.optionValues|length > 0 %}
|
||||
<div class="ui hidden divider"></div>
|
||||
<div class="ui segment">
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ final class ProductVariantTypeExtension extends AbstractTypeExtension
|
|||
->add('tracked', CheckboxType::class, [
|
||||
'label' => 'sylius.form.variant.tracked',
|
||||
])
|
||||
->add('shippingRequired', CheckboxType::class, [
|
||||
'label' => 'sylius.form.variant.shipping_required',
|
||||
])
|
||||
->add('onHand', IntegerType::class, [
|
||||
'label' => 'sylius.form.variant.on_hand',
|
||||
])
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ sylius:
|
|||
on_hand: Current stock
|
||||
price: Price
|
||||
sku: SKU
|
||||
shipping_required: Is shipping required?
|
||||
weight: Weight
|
||||
width: Width
|
||||
attribute:
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
"depth": {},
|
||||
"weight": {},
|
||||
"taxCategory": {},
|
||||
"shippingRequired": {},
|
||||
"shippingCategory": {},
|
||||
"channelPricings": {},
|
||||
"code": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue