Fixed some payment display options

master
Mark Moffat 2020-03-14 11:37:21 +10:30
parent 6aca8fce8d
commit 16d5bc80f4
3 changed files with 8 additions and 3 deletions

View File

@ -109,7 +109,7 @@
"This is used as the \"from\" email when sending receipts to your customers.": "This is used as the \"from\" email when sending receipts to your customers.",
"Orders over this value will mean the shipped will the FREE. Set to high value if you always want to charge shipping.": "Orders over this value will mean the shipped will the FREE. Set to high value if you always want to charge shipping.",
"Payment gateway": "Payment gateway",
"Payment_Gateway_Info": "You will also need to configure your payment gateway credentials in the `/config/<gateway_name>.json` file.",
"Payment_Gateway_Info": "You will also need to configure your payment gateway credentials in the `/config/<gateway_name>.json` file.",
"Currency symbol": "Currency symbol",
"Set this to your currency symbol. Eg: $, £, €": "Set this to your currency symbol. Eg: $, £, €",
"Theme": "Theme",

View File

@ -111,7 +111,7 @@
"Cart Email": "Cart Email",
"Orders over this value will mean the shipped will the FREE. Set to high value if you always want to charge shipping.": "Ordini oltre questo valore avranno la spedizione GRATUITA. Configura un alto valore se vuoi sempre addebitare la spedizione.",
"Payment gateway": "Gateway pagamento",
"Payment_Gateway_Info": "Dovrai configurare anche le tue credenziali per il gateway di pagamento nel file `/config/&lt;gateway_name&gt;.json`.",
"Payment_Gateway_Info": "Dovrai configurare anche le tue credenziali per il gateway di pagamento nel file `/config/<gateway_name>.json`.",
"Currency symbol": "Simbolo valuta",
"Set this to your currency symbol. Eg: $, £, €": "Configura il simbolo della tua valuta. Es: $, £, €",
"Theme": "Tema",

View File

@ -36,6 +36,9 @@
<select class="form-control" name="paymentGateway">
<option {{selectState 'paypal' config.paymentGateway}} value="paypal">Paypal</option>
<option {{selectState 'stripe' config.paymentGateway}} value="stripe">Stripe</option>
<option {{selectState 'adyen' config.paymentGateway}} value="adyen">Adyen</option>
<option {{selectState 'authorizenet' config.paymentGateway}} value="authorizenet">Authorize.Net</option>
<option {{selectState 'instore' config.paymentGateway}} value="instore">Instore</option>
<option {{selectState 'blockonomics' config.paymentGateway}} value="blockonomics">Blockonomics</option>
</select>
<p class="help-block">{{ @root.__ "Payment_Gateway_Info" }}</p>
@ -45,6 +48,7 @@
<input type="text" class="form-control" name="currencySymbol" value="{{currencySymbol config.currencySymbol}}">
<p class="help-block">{{ @root.__ "Set this to your currency symbol. Eg: $, £, €" }}</p>
</div>
{{#ifCond config.paymentGateway '==' 'blockonomics'}}
<div class="form-group">
<label>{{ @root.__ "Currency ISO" }}</label>
<select class="form-control" name="currencyISO">
@ -53,7 +57,8 @@
<option {{selectState 'GBP' config.currencyISO}} value="GBP">GBP</option>
</select>
<p class="help-block">{{ @root.__ "Currency used for Blockonomics conversion" }}</p>
</div>
</div>
{{/ifCond}}
<div class="form-group">
<label>{{ @root.__ "Theme" }}</label>
<select class="form-control" name="theme">