* Adding Conditions and GTIN to products and variant Summary This commit adds GTIN and Conditions to products to allow a more efficient integration of structured data and the related services such as Google Shopping or Facebook Marketplaces. Changes - Add Conditions and GTIN to products and variants - Added the fields to the Admin Interface - Add the values to API - Provides samples for GTIN (format EAN 8) and Condition (New) to all sample products. - Added Testing of the related fields - feat(i18n): Differentiate GTIN and Condition labels for product and variant forms. * Update solidus-api.oas.yml Reflect the changes to the conditions values. --------- Co-authored-by: Thomas von Deyen <thomas@vondeyen.com>
solidus_sample
Sample contains a set of test data which is used to generate the sandbox can be used to test stores.
Applications including the solidus_sample
gem are provided a rake task to
load the sample data:
bundle exec rake spree_sample:load
Testing
Run the tests:
bundle exec rspec