Sha256: 7774e51052a44f6a6e4747d25288d61faa91e6f5022022cebf715844a60e06ed
Contents?: true
Size: 481 Bytes
Versions: 8
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true # Since https://github.com/solidusio/solidus/pull/3524 was merged, # we need to verify if we're using the single "Name" field or the # previous first/last name combination. module SolidusAddressNameHelper def fill_in_name if Spree::Config.preferences[:use_combined_first_and_last_name_in_address] fill_in "Name", with: "Han Solo" else fill_in "First Name", with: "Han" fill_in "Last Name", with: "Solo" end end end
Version data entries
8 entries across 8 versions & 1 rubygems