Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Keep CSV field as a text field for better UX, added missing translation

Damian Legawiec89e4607b22e1
diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml
index 6ed817d954..ad5acf81dd 100644
--- a/core/config/locales/en.yml
+++ b/core/config/locales/en.yml
@@ -1872,6 +1872,7 @@ en:
usage_limit: Usage Limit
use_app_default: Use App Default
use_billing_address: Use Billing Address
+ use_shipping_address: Use Shipping Address
use_existing_cc: Use an existing card on file
use_new_cc: Use a new card
use_new_cc_or_payment_method: Use a new card / payment method
diff --git a/storefront/app/views/spree/checkout/payment/_gateway.html.erb b/storefront/app/views/spree/checkout/payment/_gateway.html.erb
index 840fe7c975..72d02d324f 100644
--- a/storefront/app/views/spree/checkout/payment/_gateway.html.erb
+++ b/storefront/app/views/spree/checkout/payment/_gateway.html.erb
@@ -44,7 +44,7 @@
</div>
<div class="form-group">
<label for="card_code" class="block text-xs text-neutral-600 mb-1"><%= Spree.t(:cvv) %></label>
- <%= password_field_tag "#{param_prefix}[verification_value]", '',
+ <%= text_field_tag "#{param_prefix}[verification_value]", '',
options_hash.merge(
id: 'card_code',
class: 'text-input',