Expose setting for POD image URL
This commit is contained in:
parent
21669b5f4a
commit
2d2c94e4d7
|
@ -36,6 +36,15 @@
|
|||
</b-checkbox>
|
||||
</b-field>
|
||||
|
||||
<b-field label="POD Image Base URL"
|
||||
style="max-width: 50%;">
|
||||
<b-input name="rattail.pod.pictures.gtin.root_url"
|
||||
v-model="simpleSettings['rattail.pod.pictures.gtin.root_url']"
|
||||
:disabled="!simpleSettings['tailbone.products.show_pod_image']"
|
||||
@input="settingsNeedSaved = true">
|
||||
</b-input>
|
||||
</b-field>
|
||||
|
||||
</div>
|
||||
|
||||
<h3 class="block is-size-3">Handling</h3>
|
||||
|
|
|
@ -2119,6 +2119,8 @@ class ProductView(MasterView):
|
|||
{'section': 'tailbone',
|
||||
'option': 'products.show_pod_image',
|
||||
'type': bool},
|
||||
{'section': 'rattail.pod',
|
||||
'option': 'pictures.gtin.root_url'},
|
||||
|
||||
# handling
|
||||
{'section': 'rattail',
|
||||
|
|
Loading…
Reference in a new issue