Sha256: 1c572c9e84604e2e31f09639a2357dafa82e6b93f4dfd98b7a07294190df7b3b
Contents?: true
Size: 498 Bytes
Versions: 3
Compression:
Stored size: 498 Bytes
Contents
Deface::Override.new( virtual_path: 'spree/admin/products/_form', name: 'add_msrp_to_product_edit', insert_after: 'div[data-hook="admin_product_form_price"]', text: <<HTMLBLOB <div data-hook="admin_product_form_msrp"> <%= f.field_container :msrp do %> <%= f.label :msrp, raw(Spree.t(:msrp)) %> <%= f.text_field :msrp, :value => number_to_currency(@product.msrp, :unit => '') %> <%= f.error_message_on :msrp %> <% end %> </div> HTMLBLOB )
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_msrp-2.1.7 | app/overrides/add_msrp_to_product_edit.rb |
spree_msrp-2.3.1.2 | app/overrides/add_msrp_to_product_edit.rb |
spree_msrp-2.2.4 | app/overrides/add_msrp_to_product_edit.rb |