harpiya_core 4.3.0.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (764) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/LICENSE +26 -0
  4. data/Rakefile +15 -0
  5. data/app/assets/config/harpiya_core_manifest.js +1 -0
  6. data/app/assets/images/logo/harpiya_50.png +0 -0
  7. data/app/assets/images/noimage/large.png +0 -0
  8. data/app/assets/images/noimage/mini.png +0 -0
  9. data/app/assets/images/noimage/product.png +0 -0
  10. data/app/assets/images/noimage/small.png +0 -0
  11. data/app/assets/javascripts/harpiya.js +78 -0
  12. data/app/controllers/harpiya/base_controller.rb +14 -0
  13. data/app/controllers/harpiya/errors_controller.rb +11 -0
  14. data/app/finders/concerns/harpiya/product_filterable.rb +9 -0
  15. data/app/finders/harpiya/addresses/find.rb +6 -0
  16. data/app/finders/harpiya/base_finder.rb +14 -0
  17. data/app/finders/harpiya/countries/find.rb +39 -0
  18. data/app/finders/harpiya/credit_cards/find.rb +12 -0
  19. data/app/finders/harpiya/line_items/find_by_variant.rb +13 -0
  20. data/app/finders/harpiya/menus/find.rb +11 -0
  21. data/app/finders/harpiya/option_values/find_available.rb +20 -0
  22. data/app/finders/harpiya/orders/find_complete.rb +69 -0
  23. data/app/finders/harpiya/orders/find_current.rb +34 -0
  24. data/app/finders/harpiya/product_properties/find_available.rb +20 -0
  25. data/app/finders/harpiya/products/find.rb +242 -0
  26. data/app/finders/harpiya/taxons/find.rb +82 -0
  27. data/app/finders/harpiya/variants/option_types_finder.rb +21 -0
  28. data/app/finders/harpiya/variants/visible_finder.rb +22 -0
  29. data/app/helpers/harpiya/base_helper.rb +228 -0
  30. data/app/helpers/harpiya/currency_helper.rb +34 -0
  31. data/app/helpers/harpiya/locale_helper.rb +35 -0
  32. data/app/helpers/harpiya/mail_helper.rb +29 -0
  33. data/app/helpers/harpiya/products_helper.rb +182 -0
  34. data/app/mailers/harpiya/base_mailer.rb +46 -0
  35. data/app/mailers/harpiya/order_mailer.rb +26 -0
  36. data/app/mailers/harpiya/reimbursement_mailer.rb +12 -0
  37. data/app/mailers/harpiya/shipment_mailer.rb +12 -0
  38. data/app/mailers/harpiya/test_mailer.rb +8 -0
  39. data/app/models/concerns/harpiya/adjustment_source.rb +58 -0
  40. data/app/models/concerns/harpiya/calculated_adjustments.rb +35 -0
  41. data/app/models/concerns/harpiya/default_price.rb +36 -0
  42. data/app/models/concerns/harpiya/display_link.rb +34 -0
  43. data/app/models/concerns/harpiya/display_money.rb +32 -0
  44. data/app/models/concerns/harpiya/filter_param.rb +21 -0
  45. data/app/models/concerns/harpiya/named_type.rb +12 -0
  46. data/app/models/concerns/harpiya/number_as_param.rb +9 -0
  47. data/app/models/concerns/harpiya/product_scopes.rb +310 -0
  48. data/app/models/concerns/harpiya/ransackable_attributes.rb +23 -0
  49. data/app/models/concerns/harpiya/user_address.rb +51 -0
  50. data/app/models/concerns/harpiya/user_methods.rb +90 -0
  51. data/app/models/concerns/harpiya/user_payment_source.rb +21 -0
  52. data/app/models/concerns/harpiya/user_reporting.rb +22 -0
  53. data/app/models/concerns/harpiya/vat_price_calculation.rb +48 -0
  54. data/app/models/friendly_id/slug_decorator.rb +9 -0
  55. data/app/models/harpiya/ability.rb +93 -0
  56. data/app/models/harpiya/address.rb +245 -0
  57. data/app/models/harpiya/adjustable/adjuster/base.rb +25 -0
  58. data/app/models/harpiya/adjustable/adjuster/promotion.rb +41 -0
  59. data/app/models/harpiya/adjustable/adjuster/tax.rb +26 -0
  60. data/app/models/harpiya/adjustable/adjustments_updater.rb +51 -0
  61. data/app/models/harpiya/adjustable/promotion_accumulator.rb +78 -0
  62. data/app/models/harpiya/adjustment.rb +109 -0
  63. data/app/models/harpiya/app_configuration.rb +85 -0
  64. data/app/models/harpiya/app_dependencies.rb +87 -0
  65. data/app/models/harpiya/asset.rb +8 -0
  66. data/app/models/harpiya/asset/support/active_storage.rb +25 -0
  67. data/app/models/harpiya/base.rb +41 -0
  68. data/app/models/harpiya/calculator.rb +44 -0
  69. data/app/models/harpiya/calculator/default_tax.rb +58 -0
  70. data/app/models/harpiya/calculator/flat_percent_item_total.rb +22 -0
  71. data/app/models/harpiya/calculator/flat_rate.rb +20 -0
  72. data/app/models/harpiya/calculator/flexi_rate.rb +30 -0
  73. data/app/models/harpiya/calculator/percent_on_line_item.rb +22 -0
  74. data/app/models/harpiya/calculator/price_sack.rb +29 -0
  75. data/app/models/harpiya/calculator/returns/default_refund_amount.rb +40 -0
  76. data/app/models/harpiya/calculator/shipping/flat_percent_item_total.rb +22 -0
  77. data/app/models/harpiya/calculator/shipping/flat_rate.rb +18 -0
  78. data/app/models/harpiya/calculator/shipping/flexi_rate.rb +35 -0
  79. data/app/models/harpiya/calculator/shipping/per_item.rb +22 -0
  80. data/app/models/harpiya/calculator/shipping/price_sack.rb +28 -0
  81. data/app/models/harpiya/calculator/tiered_flat_rate.rb +38 -0
  82. data/app/models/harpiya/calculator/tiered_percent.rb +45 -0
  83. data/app/models/harpiya/classification.rb +15 -0
  84. data/app/models/harpiya/country.rb +58 -0
  85. data/app/models/harpiya/credit_card.rb +193 -0
  86. data/app/models/harpiya/customer_return.rb +68 -0
  87. data/app/models/harpiya/exchange.rb +50 -0
  88. data/app/models/harpiya/fulfilment_changer.rb +159 -0
  89. data/app/models/harpiya/gateway.rb +81 -0
  90. data/app/models/harpiya/gateway/bogus.rb +92 -0
  91. data/app/models/harpiya/gateway/bogus_simple.rb +24 -0
  92. data/app/models/harpiya/icon.rb +9 -0
  93. data/app/models/harpiya/image.rb +74 -0
  94. data/app/models/harpiya/image/configuration/active_storage.rb +53 -0
  95. data/app/models/harpiya/inventory_unit.rb +132 -0
  96. data/app/models/harpiya/legacy_user.rb +13 -0
  97. data/app/models/harpiya/line_item.rb +178 -0
  98. data/app/models/harpiya/log_entry.rb +17 -0
  99. data/app/models/harpiya/menu.rb +62 -0
  100. data/app/models/harpiya/menu_item.rb +76 -0
  101. data/app/models/harpiya/option_type.rb +42 -0
  102. data/app/models/harpiya/option_type_prototype.rb +9 -0
  103. data/app/models/harpiya/option_value.rb +37 -0
  104. data/app/models/harpiya/option_value_variant.rb +9 -0
  105. data/app/models/harpiya/order.rb +751 -0
  106. data/app/models/harpiya/order/address_book.rb +73 -0
  107. data/app/models/harpiya/order/checkout.rb +319 -0
  108. data/app/models/harpiya/order/currency_updater.rb +37 -0
  109. data/app/models/harpiya/order/payments.rb +74 -0
  110. data/app/models/harpiya/order/store_credit.rb +64 -0
  111. data/app/models/harpiya/order_inventory.rb +135 -0
  112. data/app/models/harpiya/order_merger.rb +66 -0
  113. data/app/models/harpiya/order_promotion.rb +16 -0
  114. data/app/models/harpiya/order_updater.rb +179 -0
  115. data/app/models/harpiya/payment.rb +285 -0
  116. data/app/models/harpiya/payment/gateway_options.rb +90 -0
  117. data/app/models/harpiya/payment/processing.rb +176 -0
  118. data/app/models/harpiya/payment_capture_event.rb +9 -0
  119. data/app/models/harpiya/payment_method.rb +87 -0
  120. data/app/models/harpiya/payment_method/check.rb +43 -0
  121. data/app/models/harpiya/payment_method/store_credit.rb +134 -0
  122. data/app/models/harpiya/preference.rb +5 -0
  123. data/app/models/harpiya/preferences/configuration.rb +68 -0
  124. data/app/models/harpiya/preferences/preferable.rb +133 -0
  125. data/app/models/harpiya/preferences/preferable_class_methods.rb +50 -0
  126. data/app/models/harpiya/preferences/scoped_store.rb +34 -0
  127. data/app/models/harpiya/preferences/store.rb +105 -0
  128. data/app/models/harpiya/price.rb +72 -0
  129. data/app/models/harpiya/product.rb +508 -0
  130. data/app/models/harpiya/product_option_type.rb +12 -0
  131. data/app/models/harpiya/product_promotion_rule.rb +9 -0
  132. data/app/models/harpiya/product_property.rb +43 -0
  133. data/app/models/harpiya/promotion.rb +241 -0
  134. data/app/models/harpiya/promotion/actions/create_adjustment.rb +26 -0
  135. data/app/models/harpiya/promotion/actions/create_item_adjustments.rb +33 -0
  136. data/app/models/harpiya/promotion/actions/create_line_items.rb +85 -0
  137. data/app/models/harpiya/promotion/actions/free_shipping.rb +19 -0
  138. data/app/models/harpiya/promotion/rules/country.rb +23 -0
  139. data/app/models/harpiya/promotion/rules/first_order.rb +38 -0
  140. data/app/models/harpiya/promotion/rules/item_total.rb +59 -0
  141. data/app/models/harpiya/promotion/rules/one_use_per_user.rb +23 -0
  142. data/app/models/harpiya/promotion/rules/option_value.rb +44 -0
  143. data/app/models/harpiya/promotion/rules/product.rb +67 -0
  144. data/app/models/harpiya/promotion/rules/taxon.rb +72 -0
  145. data/app/models/harpiya/promotion/rules/user.rb +31 -0
  146. data/app/models/harpiya/promotion/rules/user_logged_in.rb +18 -0
  147. data/app/models/harpiya/promotion_action.rb +25 -0
  148. data/app/models/harpiya/promotion_action_line_item.rb +9 -0
  149. data/app/models/harpiya/promotion_category.rb +6 -0
  150. data/app/models/harpiya/promotion_handler/cart.rb +41 -0
  151. data/app/models/harpiya/promotion_handler/coupon.rb +144 -0
  152. data/app/models/harpiya/promotion_handler/free_shipping.rb +31 -0
  153. data/app/models/harpiya/promotion_handler/page.rb +24 -0
  154. data/app/models/harpiya/promotion_handler/promotion_duplicator.rb +58 -0
  155. data/app/models/harpiya/promotion_rule.rb +44 -0
  156. data/app/models/harpiya/promotion_rule_taxon.rb +9 -0
  157. data/app/models/harpiya/promotion_rule_user.rb +9 -0
  158. data/app/models/harpiya/property.rb +50 -0
  159. data/app/models/harpiya/property_prototype.rb +9 -0
  160. data/app/models/harpiya/prototype.rb +14 -0
  161. data/app/models/harpiya/prototype_taxon.rb +9 -0
  162. data/app/models/harpiya/refund.rb +89 -0
  163. data/app/models/harpiya/refund_reason.rb +13 -0
  164. data/app/models/harpiya/reimbursement.rb +163 -0
  165. data/app/models/harpiya/reimbursement/credit.rb +25 -0
  166. data/app/models/harpiya/reimbursement/reimbursement_type_engine.rb +44 -0
  167. data/app/models/harpiya/reimbursement/reimbursement_type_validator.rb +15 -0
  168. data/app/models/harpiya/reimbursement_performer.rb +34 -0
  169. data/app/models/harpiya/reimbursement_tax_calculator.rb +37 -0
  170. data/app/models/harpiya/reimbursement_type.rb +20 -0
  171. data/app/models/harpiya/reimbursement_type/credit.rb +13 -0
  172. data/app/models/harpiya/reimbursement_type/exchange.rb +9 -0
  173. data/app/models/harpiya/reimbursement_type/original_payment.rb +13 -0
  174. data/app/models/harpiya/reimbursement_type/reimbursement_helpers.rb +63 -0
  175. data/app/models/harpiya/reimbursement_type/store_credit.rb +20 -0
  176. data/app/models/harpiya/return_authorization.rb +95 -0
  177. data/app/models/harpiya/return_authorization_reason.rb +7 -0
  178. data/app/models/harpiya/return_item.rb +261 -0
  179. data/app/models/harpiya/return_item/eligibility_validator/base_validator.rb +24 -0
  180. data/app/models/harpiya/return_item/eligibility_validator/default.rb +30 -0
  181. data/app/models/harpiya/return_item/eligibility_validator/inventory_shipped.rb +16 -0
  182. data/app/models/harpiya/return_item/eligibility_validator/no_reimbursements.rb +16 -0
  183. data/app/models/harpiya/return_item/eligibility_validator/order_completed.rb +16 -0
  184. data/app/models/harpiya/return_item/eligibility_validator/rma_required.rb +16 -0
  185. data/app/models/harpiya/return_item/eligibility_validator/time_since_purchase.rb +16 -0
  186. data/app/models/harpiya/return_item/exchange_variant_eligibility/same_option_value.rb +34 -0
  187. data/app/models/harpiya/return_item/exchange_variant_eligibility/same_product.rb +9 -0
  188. data/app/models/harpiya/returns_calculator.rb +7 -0
  189. data/app/models/harpiya/role.rb +8 -0
  190. data/app/models/harpiya/role_user.rb +6 -0
  191. data/app/models/harpiya/shipment.rb +404 -0
  192. data/app/models/harpiya/shipment_handler.rb +41 -0
  193. data/app/models/harpiya/shipping_calculator.rb +21 -0
  194. data/app/models/harpiya/shipping_category.rb +11 -0
  195. data/app/models/harpiya/shipping_method.rb +69 -0
  196. data/app/models/harpiya/shipping_method_category.rb +6 -0
  197. data/app/models/harpiya/shipping_method_zone.rb +6 -0
  198. data/app/models/harpiya/shipping_rate.rb +50 -0
  199. data/app/models/harpiya/state.rb +41 -0
  200. data/app/models/harpiya/state_change.rb +10 -0
  201. data/app/models/harpiya/stock/adjuster.rb +56 -0
  202. data/app/models/harpiya/stock/availability_validator.rb +29 -0
  203. data/app/models/harpiya/stock/content_item.rb +54 -0
  204. data/app/models/harpiya/stock/coordinator.rb +67 -0
  205. data/app/models/harpiya/stock/differentiator.rb +45 -0
  206. data/app/models/harpiya/stock/estimator.rb +74 -0
  207. data/app/models/harpiya/stock/inventory_unit_builder.rb +23 -0
  208. data/app/models/harpiya/stock/package.rb +112 -0
  209. data/app/models/harpiya/stock/packer.rb +52 -0
  210. data/app/models/harpiya/stock/prioritizer.rb +58 -0
  211. data/app/models/harpiya/stock/quantifier.rb +40 -0
  212. data/app/models/harpiya/stock/splitter/backordered.rb +19 -0
  213. data/app/models/harpiya/stock/splitter/base.rb +30 -0
  214. data/app/models/harpiya/stock/splitter/shipping_category.rb +31 -0
  215. data/app/models/harpiya/stock/splitter/weight.rb +84 -0
  216. data/app/models/harpiya/stock_item.rb +101 -0
  217. data/app/models/harpiya/stock_location.rb +138 -0
  218. data/app/models/harpiya/stock_movement.rb +38 -0
  219. data/app/models/harpiya/stock_transfer.rb +50 -0
  220. data/app/models/harpiya/store.rb +165 -0
  221. data/app/models/harpiya/store_credit.rb +249 -0
  222. data/app/models/harpiya/store_credit_category.rb +35 -0
  223. data/app/models/harpiya/store_credit_event.rb +38 -0
  224. data/app/models/harpiya/store_credit_type.rb +6 -0
  225. data/app/models/harpiya/store_product.rb +11 -0
  226. data/app/models/harpiya/tax_category.rb +18 -0
  227. data/app/models/harpiya/tax_rate.rb +119 -0
  228. data/app/models/harpiya/taxon.rb +110 -0
  229. data/app/models/harpiya/taxon_image.rb +18 -0
  230. data/app/models/harpiya/taxon_image/configuration/active_storage.rb +36 -0
  231. data/app/models/harpiya/taxonomy.rb +25 -0
  232. data/app/models/harpiya/variant.rb +347 -0
  233. data/app/models/harpiya/zone.rb +204 -0
  234. data/app/models/harpiya/zone_member.rb +12 -0
  235. data/app/paginators/harpiya/shared/paginate.rb +26 -0
  236. data/app/presenters/harpiya/filters/options_presenter.rb +27 -0
  237. data/app/presenters/harpiya/filters/price_presenter.rb +22 -0
  238. data/app/presenters/harpiya/filters/price_range_presenter.rb +29 -0
  239. data/app/presenters/harpiya/filters/properties_presenter.rb +23 -0
  240. data/app/presenters/harpiya/filters/property_presenter.rb +22 -0
  241. data/app/presenters/harpiya/filters/quantified_price_range_presenter.rb +44 -0
  242. data/app/presenters/harpiya/product_summary_presenter.rb +26 -0
  243. data/app/presenters/harpiya/variant_presenter.rb +80 -0
  244. data/app/presenters/harpiya/variants/option_types_presenter.rb +87 -0
  245. data/app/presenters/harpiya/variants/options_presenter.rb +49 -0
  246. data/app/services/harpiya/account/addresses/create.rb +24 -0
  247. data/app/services/harpiya/account/addresses/helper.rb +43 -0
  248. data/app/services/harpiya/account/addresses/update.rb +23 -0
  249. data/app/services/harpiya/account/create.rb +17 -0
  250. data/app/services/harpiya/account/update.rb +15 -0
  251. data/app/services/harpiya/build_localized_redirect_url.rb +101 -0
  252. data/app/services/harpiya/cart/add_item.rb +45 -0
  253. data/app/services/harpiya/cart/create.rb +21 -0
  254. data/app/services/harpiya/cart/estimate_shipping_rates.rb +39 -0
  255. data/app/services/harpiya/cart/recalculate.rb +32 -0
  256. data/app/services/harpiya/cart/remove_item.rb +39 -0
  257. data/app/services/harpiya/cart/remove_line_item.rb +18 -0
  258. data/app/services/harpiya/cart/set_quantity.rb +22 -0
  259. data/app/services/harpiya/cart/update.rb +37 -0
  260. data/app/services/harpiya/checkout/add_store_credit.rb +51 -0
  261. data/app/services/harpiya/checkout/advance.rb +18 -0
  262. data/app/services/harpiya/checkout/complete.rb +23 -0
  263. data/app/services/harpiya/checkout/get_shipping_rates.rb +52 -0
  264. data/app/services/harpiya/checkout/next.rb +13 -0
  265. data/app/services/harpiya/checkout/remove_store_credit.rb +17 -0
  266. data/app/services/harpiya/checkout/update.rb +43 -0
  267. data/app/services/harpiya/compare_line_items.rb +23 -0
  268. data/app/services/harpiya/generate_token.rb +20 -0
  269. data/app/sorters/harpiya/base_sorter.rb +35 -0
  270. data/app/sorters/harpiya/orders/sort.rb +6 -0
  271. data/app/sorters/harpiya/products/sort.rb +35 -0
  272. data/app/validators/db_maximum_length_validator.rb +20 -0
  273. data/app/validators/email_validator.rb +9 -0
  274. data/app/views/harpiya/errors/forbidden.html.erb +0 -0
  275. data/app/views/harpiya/errors/unauthorized.html.erb +0 -0
  276. data/app/views/harpiya/order_mailer/cancel_email.html.erb +24 -0
  277. data/app/views/harpiya/order_mailer/cancel_email.text.erb +12 -0
  278. data/app/views/harpiya/order_mailer/confirm_email.html.erb +23 -0
  279. data/app/views/harpiya/order_mailer/confirm_email.text.erb +12 -0
  280. data/app/views/harpiya/order_mailer/store_owner_notification_email.html.erb +23 -0
  281. data/app/views/harpiya/order_mailer/store_owner_notification_email.text.erb +12 -0
  282. data/app/views/harpiya/reimbursement_mailer/reimbursement_email.html.erb +56 -0
  283. data/app/views/harpiya/reimbursement_mailer/reimbursement_email.text.erb +24 -0
  284. data/app/views/harpiya/shared/_base_mailer_footer.html.erb +12 -0
  285. data/app/views/harpiya/shared/_base_mailer_header.html.erb +13 -0
  286. data/app/views/harpiya/shared/_base_mailer_stylesheets.html.erb +456 -0
  287. data/app/views/harpiya/shared/_error_messages.html.erb +11 -0
  288. data/app/views/harpiya/shared/_mailer_line_item.html.erb +16 -0
  289. data/app/views/harpiya/shared/_paths.html.erb +8 -0
  290. data/app/views/harpiya/shared/_purchased_items_table.html.erb +64 -0
  291. data/app/views/harpiya/shared/_purchased_items_table.text.erb +25 -0
  292. data/app/views/harpiya/shared/purchased_items_table/_adjustment.html.erb +13 -0
  293. data/app/views/harpiya/shared/purchased_items_table/_line_item.html.erb +27 -0
  294. data/app/views/harpiya/shared/purchased_items_table/_subtotal.html.erb +13 -0
  295. data/app/views/harpiya/shared/purchased_items_table/_total.html.erb +13 -0
  296. data/app/views/harpiya/shipment_mailer/shipped_email.html.erb +36 -0
  297. data/app/views/harpiya/shipment_mailer/shipped_email.text.erb +17 -0
  298. data/app/views/harpiya/test_mailer/test_email.html.erb +40 -0
  299. data/app/views/harpiya/test_mailer/test_email.text.erb +4 -0
  300. data/app/views/layouts/harpiya/base_mailer.html.erb +46 -0
  301. data/config/initializers/active_storage.rb +7 -0
  302. data/config/initializers/assets.rb +1 -0
  303. data/config/initializers/friendly_id.rb +7 -0
  304. data/config/initializers/inflections.rb +3 -0
  305. data/config/initializers/rails61_fixes.rb +3 -0
  306. data/config/initializers/state_machine.rb +37 -0
  307. data/config/locales/en.yml +1864 -0
  308. data/config/locales/tr.yml +1864 -0
  309. data/config/routes.rb +6 -0
  310. data/db/default/harpiya/countries.rb +24 -0
  311. data/db/default/harpiya/default_reimbursement_type.rb +1 -0
  312. data/db/default/harpiya/roles.rb +2 -0
  313. data/db/default/harpiya/states.rb +49 -0
  314. data/db/default/harpiya/store_credit_categories.rb +1 -0
  315. data/db/default/harpiya/stores.rb +21 -0
  316. data/db/default/harpiya/zones.rb +29 -0
  317. data/db/migrate/20120831092320_harpiya_one_two.rb +481 -0
  318. data/db/migrate/20120831092359_harpiya_promo_one_two.rb +45 -0
  319. data/db/migrate/20120905145253_add_tax_rate_label.rb +5 -0
  320. data/db/migrate/20120905151823_add_toggle_tax_rate_display.rb +5 -0
  321. data/db/migrate/20120929093553_remove_unused_preference_columns.rb +8 -0
  322. data/db/migrate/20121009142519_add_lock_version_to_variant.rb +5 -0
  323. data/db/migrate/20121010142909_add_states_required_to_countries.rb +5 -0
  324. data/db/migrate/20121012071449_add_on_demand_to_product_and_variant.rb +6 -0
  325. data/db/migrate/20121017010007_remove_not_null_constraint_from_products_on_hand.rb +11 -0
  326. data/db/migrate/20121031162139_split_prices_from_variants.rb +31 -0
  327. data/db/migrate/20121107003422_remove_not_null_from_harpiya_prices_amount.rb +9 -0
  328. data/db/migrate/20121107184631_add_currency_to_line_items.rb +5 -0
  329. data/db/migrate/20121107194006_add_currency_to_orders.rb +5 -0
  330. data/db/migrate/20121109173623_add_cost_currency_to_variants.rb +5 -0
  331. data/db/migrate/20121111231553_remove_display_on_from_payment_methods.rb +5 -0
  332. data/db/migrate/20121124203911_add_position_to_taxonomies.rb +5 -0
  333. data/db/migrate/20121126040517_add_last_ip_to_harpiya_orders.rb +5 -0
  334. data/db/migrate/20121213162028_add_state_to_harpiya_adjustments.rb +6 -0
  335. data/db/migrate/20130114053446_add_display_on_to_harpiya_payment_methods.rb +9 -0
  336. data/db/migrate/20130120201805_add_position_to_product_properties.harpiya.rb +6 -0
  337. data/db/migrate/20130203232234_add_identifier_to_harpiya_payments.rb +5 -0
  338. data/db/migrate/20130207155350_add_order_id_index_to_payments.rb +9 -0
  339. data/db/migrate/20130208032954_add_primary_to_harpiya_products_taxons.rb +5 -0
  340. data/db/migrate/20130211190146_create_harpiya_stock_items.rb +14 -0
  341. data/db/migrate/20130211191120_create_harpiya_stock_locations.rb +11 -0
  342. data/db/migrate/20130213191427_create_default_stock.rb +33 -0
  343. data/db/migrate/20130222032153_add_order_id_index_to_shipments.rb +5 -0
  344. data/db/migrate/20130226032817_change_meta_description_on_harpiya_products_to_text.rb +5 -0
  345. data/db/migrate/20130226191231_add_stock_location_id_to_harpiya_shipments.rb +5 -0
  346. data/db/migrate/20130227143905_add_pending_to_inventory_unit.rb +6 -0
  347. data/db/migrate/20130228164411_remove_on_demand_from_product_and_variant.rb +6 -0
  348. data/db/migrate/20130228210442_create_shipping_method_zone.rb +21 -0
  349. data/db/migrate/20130301162745_remove_shipping_category_id_from_shipping_method.rb +5 -0
  350. data/db/migrate/20130301162924_create_shipping_method_categories.rb +13 -0
  351. data/db/migrate/20130301205200_add_tracking_url_to_harpiya_shipping_methods.rb +5 -0
  352. data/db/migrate/20130304162240_create_harpiya_shipping_rates.rb +24 -0
  353. data/db/migrate/20130304192936_remove_category_match_attributes_from_shipping_method.rb +7 -0
  354. data/db/migrate/20130305143310_create_stock_movements.rb +12 -0
  355. data/db/migrate/20130306181701_add_address_fields_to_stock_location.rb +22 -0
  356. data/db/migrate/20130306191917_add_active_field_to_stock_locations.rb +5 -0
  357. data/db/migrate/20130306195650_add_backorderable_to_stock_item.rb +5 -0
  358. data/db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb +5 -0
  359. data/db/migrate/20130318151756_add_source_and_destination_to_stock_movements.rb +8 -0
  360. data/db/migrate/20130319062004_change_orders_total_precision.rb +8 -0
  361. data/db/migrate/20130319063911_change_harpiya_payments_amount_precision.rb +7 -0
  362. data/db/migrate/20130319064308_change_harpiya_return_authorization_amount_precision.rb +7 -0
  363. data/db/migrate/20130319082943_change_adjustments_amount_precision.rb +7 -0
  364. data/db/migrate/20130319183250_add_originator_to_stock_movement.rb +7 -0
  365. data/db/migrate/20130319190507_drop_source_and_destination_from_stock_movement.rb +15 -0
  366. data/db/migrate/20130325163316_migrate_inventory_unit_sold_to_on_hand.rb +9 -0
  367. data/db/migrate/20130326175857_add_stock_location_to_rma.rb +5 -0
  368. data/db/migrate/20130328130308_update_shipment_state_for_canceled_orders.rb +15 -0
  369. data/db/migrate/20130328195253_add_seo_metas_to_taxons.rb +9 -0
  370. data/db/migrate/20130329134939_remove_stock_item_and_variant_lock.rb +14 -0
  371. data/db/migrate/20130413230529_add_name_to_harpiya_credit_cards.rb +5 -0
  372. data/db/migrate/20130414000512_update_name_fields_on_harpiya_credit_cards.rb +13 -0
  373. data/db/migrate/20130417120034_add_index_to_source_columns_on_adjustments.rb +5 -0
  374. data/db/migrate/20130417120035_update_adjustment_states.rb +16 -0
  375. data/db/migrate/20130417123427_add_shipping_rates_to_shipments.rb +15 -0
  376. data/db/migrate/20130418125341_create_harpiya_stock_transfers.rb +14 -0
  377. data/db/migrate/20130423110707_drop_products_count_on_hand.rb +5 -0
  378. data/db/migrate/20130423223847_set_default_shipping_rate_cost.rb +5 -0
  379. data/db/migrate/20130509115210_add_number_to_stock_transfer.rb +23 -0
  380. data/db/migrate/20130514151929_add_sku_index_to_harpiya_variants.rb +5 -0
  381. data/db/migrate/20130515180736_add_backorderable_default_to_harpiya_stock_location.rb +5 -0
  382. data/db/migrate/20130516151222_add_propage_all_variants_to_harpiya_stock_location.rb +5 -0
  383. data/db/migrate/20130611054351_rename_shipping_methods_zones_to_harpiya_shipping_methods_zones.rb +5 -0
  384. data/db/migrate/20130611185927_add_user_id_index_to_harpiya_orders.rb +5 -0
  385. data/db/migrate/20130618041418_add_updated_at_to_harpiya_countries.rb +9 -0
  386. data/db/migrate/20130619012236_add_updated_at_to_harpiya_states.rb +9 -0
  387. data/db/migrate/20130626232741_add_cvv_result_code_and_cvv_result_message_to_harpiya_payments.rb +6 -0
  388. data/db/migrate/20130628021056_add_unique_index_to_permalink_on_harpiya_products.rb +5 -0
  389. data/db/migrate/20130628022817_add_unique_index_to_orders_shipments_and_stock_transfers.rb +7 -0
  390. data/db/migrate/20130708052307_add_deleted_at_to_harpiya_tax_rates.rb +5 -0
  391. data/db/migrate/20130711200933_remove_lock_version_from_inventory_units.rb +6 -0
  392. data/db/migrate/20130718042445_add_cost_price_to_line_item.rb +5 -0
  393. data/db/migrate/20130718233855_set_backorderable_to_default_to_false.rb +6 -0
  394. data/db/migrate/20130725031716_add_created_by_id_to_harpiya_orders.rb +5 -0
  395. data/db/migrate/20130729214043_index_completed_at_on_harpiya_orders.rb +5 -0
  396. data/db/migrate/20130802014537_add_tax_category_id_to_harpiya_line_items.rb +5 -0
  397. data/db/migrate/20130802022321_migrate_tax_categories_to_line_items.rb +10 -0
  398. data/db/migrate/20130806022521_drop_harpiya_mail_methods.rb +12 -0
  399. data/db/migrate/20130806145853_set_default_stock_location_on_shipments.rb +8 -0
  400. data/db/migrate/20130807024301_upgrade_adjustments.rb +46 -0
  401. data/db/migrate/20130807024302_rename_adjustment_fields.rb +20 -0
  402. data/db/migrate/20130809164245_add_admin_name_column_to_harpiya_shipping_methods.rb +5 -0
  403. data/db/migrate/20130809164330_add_admin_name_column_to_harpiya_stock_locations.rb +5 -0
  404. data/db/migrate/20130813004002_add_shipment_total_to_harpiya_orders.rb +5 -0
  405. data/db/migrate/20130813140619_expand_order_number_size.rb +9 -0
  406. data/db/migrate/20130813232134_rename_activators_to_promotions.rb +5 -0
  407. data/db/migrate/20130815000406_add_adjustment_total_to_line_items.rb +5 -0
  408. data/db/migrate/20130815024413_add_adjustment_total_to_shipments.rb +5 -0
  409. data/db/migrate/20130826062534_add_depth_to_harpiya_taxons.rb +16 -0
  410. data/db/migrate/20130828234942_add_tax_total_to_line_items_shipments_and_orders.rb +8 -0
  411. data/db/migrate/20130830001033_add_shipping_category_to_shipping_methods_and_products.rb +15 -0
  412. data/db/migrate/20130830001159_migrate_old_shipping_calculators.rb +19 -0
  413. data/db/migrate/20130903183026_add_code_to_harpiya_promotion_rules.rb +5 -0
  414. data/db/migrate/20130909115621_change_states_required_for_countries.rb +9 -0
  415. data/db/migrate/20130915032339_add_deleted_at_to_harpiya_stock_items.rb +5 -0
  416. data/db/migrate/20130917024658_remove_promotions_event_name_field.rb +5 -0
  417. data/db/migrate/20130924040529_add_promo_total_to_line_items_and_shipments_and_orders.rb +7 -0
  418. data/db/migrate/20131001013410_remove_unused_credit_card_fields.rb +16 -0
  419. data/db/migrate/20131026154747_add_track_inventory_to_variant.rb +5 -0
  420. data/db/migrate/20131107132123_add_tax_category_to_variants.rb +6 -0
  421. data/db/migrate/20131113035136_add_channel_to_harpiya_orders.rb +5 -0
  422. data/db/migrate/20131118043959_add_included_to_adjustments.rb +5 -0
  423. data/db/migrate/20131118050234_rename_tax_total_fields.rb +11 -0
  424. data/db/migrate/20131118183431_add_line_item_id_to_harpiya_inventory_units.rb +21 -0
  425. data/db/migrate/20131120234456_add_updated_at_to_variants.rb +5 -0
  426. data/db/migrate/20131127001002_add_position_to_classifications.rb +5 -0
  427. data/db/migrate/20131211112807_create_harpiya_orders_promotions.rb +8 -0
  428. data/db/migrate/20131211192741_unique_shipping_method_categories.rb +24 -0
  429. data/db/migrate/20131218054603_add_item_count_to_harpiya_orders.rb +5 -0
  430. data/db/migrate/20140106065820_remove_value_type_from_harpiya_preferences.rb +8 -0
  431. data/db/migrate/20140106224208_rename_permalink_to_slug_for_products.rb +5 -0
  432. data/db/migrate/20140120160805_add_index_to_variant_id_and_currency_on_prices.rb +5 -0
  433. data/db/migrate/20140124023232_rename_activator_id_in_rules_and_actions_to_promotion_id.rb +6 -0
  434. data/db/migrate/20140129024326_add_deleted_at_to_harpiya_prices.rb +5 -0
  435. data/db/migrate/20140203161722_add_approver_id_and_approved_at_to_orders.rb +6 -0
  436. data/db/migrate/20140204115338_add_confirmation_delivered_to_harpiya_orders.rb +5 -0
  437. data/db/migrate/20140204192230_add_auto_capture_to_payment_methods.rb +5 -0
  438. data/db/migrate/20140205120320_create_harpiya_payment_capture_events.rb +12 -0
  439. data/db/migrate/20140205144710_add_uncaptured_amount_to_payments.rb +5 -0
  440. data/db/migrate/20140205181631_default_variant_weight_to_zero.rb +11 -0
  441. data/db/migrate/20140207085910_add_tax_category_id_to_shipping_methods.rb +5 -0
  442. data/db/migrate/20140207093021_add_tax_rate_id_to_shipping_rates.rb +5 -0
  443. data/db/migrate/20140211040159_add_pre_tax_amount_to_line_items_and_shipments.rb +6 -0
  444. data/db/migrate/20140213184916_add_more_indexes.rb +13 -0
  445. data/db/migrate/20140219060952_add_considered_risky_to_orders.rb +5 -0
  446. data/db/migrate/20140227112348_add_preference_store_to_everything.rb +8 -0
  447. data/db/migrate/20140307235515_add_user_id_to_harpiya_credit_cards.rb +13 -0
  448. data/db/migrate/20140309023735_migrate_old_preferences.rb +27 -0
  449. data/db/migrate/20140309024355_create_harpiya_stores.rb +25 -0
  450. data/db/migrate/20140309033438_create_store_from_preferences.rb +42 -0
  451. data/db/migrate/20140315053743_add_timestamps_to_harpiya_assets.rb +6 -0
  452. data/db/migrate/20140318191500_create_harpiya_taxons_promotion_rules.rb +8 -0
  453. data/db/migrate/20140331100557_add_additional_store_fields.rb +8 -0
  454. data/db/migrate/20140410141842_add_many_missing_indexes.rb +18 -0
  455. data/db/migrate/20140410150358_correct_some_polymorphic_index_and_add_more_missing.rb +66 -0
  456. data/db/migrate/20140415041315_add_user_id_created_by_id_index_to_order.rb +5 -0
  457. data/db/migrate/20140508151342_change_harpiya_price_amount_precision.rb +8 -0
  458. data/db/migrate/20140518174634_add_token_to_harpiya_orders.rb +5 -0
  459. data/db/migrate/20140530024945_move_order_token_from_tokenized_permission.rb +29 -0
  460. data/db/migrate/20140601011216_set_shipment_total_for_users_upgrading.rb +10 -0
  461. data/db/migrate/20140604135309_drop_credit_card_first_name_and_last_name.rb +6 -0
  462. data/db/migrate/20140609201656_add_deleted_at_to_harpiya_promotion_actions.rb +6 -0
  463. data/db/migrate/20140616202624_remove_uncaptured_amount_from_harpiya_payments.rb +5 -0
  464. data/db/migrate/20140625214618_create_harpiya_refunds.rb +12 -0
  465. data/db/migrate/20140702140656_create_harpiya_return_authorization_inventory_unit.rb +12 -0
  466. data/db/migrate/20140707125621_rename_return_authorization_inventory_unit_to_return_items.rb +5 -0
  467. data/db/migrate/20140709160534_backfill_line_item_pre_tax_amount.rb +10 -0
  468. data/db/migrate/20140710041921_recreate_harpiya_return_authorizations.rb +55 -0
  469. data/db/migrate/20140710181204_add_amount_fields_to_return_items.rb +7 -0
  470. data/db/migrate/20140710190048_drop_return_authorization_amount.rb +5 -0
  471. data/db/migrate/20140713140455_create_harpiya_return_authorization_reasons.rb +28 -0
  472. data/db/migrate/20140713140527_create_harpiya_refund_reasons.rb +14 -0
  473. data/db/migrate/20140713142214_rename_return_authorization_reason.rb +5 -0
  474. data/db/migrate/20140715182625_create_harpiya_promotion_categories.rb +11 -0
  475. data/db/migrate/20140716204111_drop_received_at_on_return_items.rb +9 -0
  476. data/db/migrate/20140716212330_add_reception_and_acceptance_status_to_return_items.rb +6 -0
  477. data/db/migrate/20140717155155_create_default_refund_reason.rb +9 -0
  478. data/db/migrate/20140717185932_add_default_to_harpiya_stock_locations.rb +7 -0
  479. data/db/migrate/20140718133010_create_harpiya_customer_returns.rb +9 -0
  480. data/db/migrate/20140718133349_add_customer_return_id_to_return_item.rb +6 -0
  481. data/db/migrate/20140718195325_create_friendly_id_slugs.rb +15 -0
  482. data/db/migrate/20140723004419_rename_harpiya_refund_return_authorization_id.rb +5 -0
  483. data/db/migrate/20140723152808_increase_return_item_pre_tax_amount_precision.rb +13 -0
  484. data/db/migrate/20140723214541_copy_product_slugs_to_slug_history.rb +15 -0
  485. data/db/migrate/20140725131539_create_harpiya_reimbursements.rb +21 -0
  486. data/db/migrate/20140728225422_add_promotionable_to_harpiya_products.rb +5 -0
  487. data/db/migrate/20140729133613_add_exchange_inventory_unit_foreign_keys.rb +7 -0
  488. data/db/migrate/20140730155938_add_acceptance_status_errors_to_return_item.rb +5 -0
  489. data/db/migrate/20140731150017_create_harpiya_reimbursement_types.rb +20 -0
  490. data/db/migrate/20140804185157_add_default_to_shipment_cost.rb +10 -0
  491. data/db/migrate/20140805171035_add_default_to_harpiya_credit_cards.rb +5 -0
  492. data/db/migrate/20140805171219_make_existing_credit_cards_default.rb +10 -0
  493. data/db/migrate/20140806144901_add_type_to_reimbursement_type.rb +9 -0
  494. data/db/migrate/20140808184039_create_harpiya_reimbursement_credits.rb +10 -0
  495. data/db/migrate/20140827170513_add_meta_title_to_harpiya_products.rb +7 -0
  496. data/db/migrate/20140911173301_add_kind_to_zone.rb +11 -0
  497. data/db/migrate/20140924164824_add_code_to_harpiya_tax_categories.rb +5 -0
  498. data/db/migrate/20140927193717_default_pre_tax_amount_should_be_zero.rb +6 -0
  499. data/db/migrate/20141002191113_add_code_to_harpiya_shipping_methods.rb +5 -0
  500. data/db/migrate/20141007230328_add_cancel_audit_fields_to_harpiya_orders.rb +6 -0
  501. data/db/migrate/20141009204607_add_store_id_to_orders.rb +8 -0
  502. data/db/migrate/20141012083513_create_harpiya_taxons_prototypes.rb +8 -0
  503. data/db/migrate/20141021194502_add_state_lock_version_to_order.rb +5 -0
  504. data/db/migrate/20141023005240_add_counter_cache_from_harpiya_variants_to_harpiya_stock_items.rb +8 -0
  505. data/db/migrate/20141101231208_fix_adjustment_order_presence.rb +13 -0
  506. data/db/migrate/20141105213646_update_classifications_positions.rb +9 -0
  507. data/db/migrate/20141120135441_add_guest_token_index_to_harpiya_orders.rb +5 -0
  508. data/db/migrate/20141215232040_remove_token_permissions_table.rb +6 -0
  509. data/db/migrate/20141215235502_remove_extra_products_slug_index.rb +5 -0
  510. data/db/migrate/20141217215630_update_product_slug_index.rb +6 -0
  511. data/db/migrate/20141218025915_rename_identifier_to_number_for_payment.rb +5 -0
  512. data/db/migrate/20150118210639_create_harpiya_store_credits.rb +24 -0
  513. data/db/migrate/20150118211500_create_harpiya_store_credit_categories.rb +8 -0
  514. data/db/migrate/20150118212051_create_harpiya_store_credit_events.rb +17 -0
  515. data/db/migrate/20150118212101_create_harpiya_store_credit_types.rb +10 -0
  516. data/db/migrate/20150121022521_remove_environment_from_payment_method.rb +6 -0
  517. data/db/migrate/20150122145607_add_resellable_to_return_items.rb +5 -0
  518. data/db/migrate/20150122202432_add_code_to_harpiya_promotion_categories.rb +5 -0
  519. data/db/migrate/20150128032538_remove_environment_from_tracker.rb +8 -0
  520. data/db/migrate/20150128060325_remove_harpiya_configurations.rb +16 -0
  521. data/db/migrate/20150216173445_add_index_to_harpiya_stock_items_variant_id.rb +13 -0
  522. data/db/migrate/20150309161154_ensure_payments_have_numbers.rb +13 -0
  523. data/db/migrate/20150314013438_add_missing_indexes_on_harpiya_tables.rb +67 -0
  524. data/db/migrate/20150317174308_remove_duplicated_indexes_from_multi_columns.rb +18 -0
  525. data/db/migrate/20150324104002_remove_user_index_from_harpiya_state_changes.rb +14 -0
  526. data/db/migrate/20150515211137_fix_adjustment_order_id.rb +70 -0
  527. data/db/migrate/20150522071831_add_position_to_harpiya_payment_methods.rb +5 -0
  528. data/db/migrate/20150522181728_add_deleted_at_to_friendly_id_slugs.rb +6 -0
  529. data/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb +16 -0
  530. data/db/migrate/20150626181949_add_taxable_adjustment_total_to_line_item.rb +19 -0
  531. data/db/migrate/20150627090949_migrate_payment_methods_display.rb +12 -0
  532. data/db/migrate/20150707204155_enable_acts_as_paranoid_on_calculators.rb +6 -0
  533. data/db/migrate/20150714154102_harpiya_payment_method_store_credits.rb +12 -0
  534. data/db/migrate/20150726141425_rename_has_and_belongs_to_associations_to_model_names.rb +18 -0
  535. data/db/migrate/20150727191614_harpiya_store_credit_types.rb +11 -0
  536. data/db/migrate/20150819154308_add_discontinued_to_products_and_variants.rb +68 -0
  537. data/db/migrate/20151220072838_remove_shipping_method_id_from_harpiya_orders.rb +13 -0
  538. data/db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb +16 -0
  539. data/db/migrate/20160219165458_add_indexes.rb +14 -0
  540. data/db/migrate/20160509064646_remove_counter_cache_from_harpiya_variants_to_harpiya_stock_items.rb +10 -0
  541. data/db/migrate/20160608090604_add_zipcode_required_to_harpiya_countries.rb +7 -0
  542. data/db/migrate/20161014145148_add_created_at_to_variant.rb +8 -0
  543. data/db/migrate/20161014152814_add_null_false_to_harpiya_variants_timestamps.rb +6 -0
  544. data/db/migrate/20161125065505_add_quantity_to_inventory_units.rb +5 -0
  545. data/db/migrate/20170119122701_add_original_return_item_id_to_harpiya_inventory_units.rb +29 -0
  546. data/db/migrate/20170315152755_add_unique_index_on_number_to_harpiya_orders.rb +16 -0
  547. data/db/migrate/20170316154338_add_unique_index_on_number_to_harpiya_stock_transfer.rb +16 -0
  548. data/db/migrate/20170316205511_add_unique_index_on_number_to_harpiya_shipment.rb +16 -0
  549. data/db/migrate/20170320134043_add_unique_index_on_number_to_harpiya_payments.rb +17 -0
  550. data/db/migrate/20170320142750_add_unique_index_on_number_to_harpiya_return_authorizations.rb +16 -0
  551. data/db/migrate/20170320145040_add_unique_index_on_number_to_harpiya_customer_returns.rb +16 -0
  552. data/db/migrate/20170320145518_add_unique_index_on_number_to_harpiya_reimbursements.rb +16 -0
  553. data/db/migrate/20170323151450_add_missing_unique_indexes_for_unique_attributes.rb +37 -0
  554. data/db/migrate/20170329110859_add_index_on_stock_location_to_harpiya_customer_returns.rb +5 -0
  555. data/db/migrate/20170329113917_add_index_on_prototype_to_harpiya_option_type_prototype.rb +19 -0
  556. data/db/migrate/20170330082155_add_indexes_to_harpiya_option_value_variant.rb +19 -0
  557. data/db/migrate/20170330132215_add_index_on_promotion_id_to_order_promotions.rb +5 -0
  558. data/db/migrate/20170331101758_add_indexes_for_property_prototype.rb +20 -0
  559. data/db/migrate/20170331103334_add_index_for_prototype_id_to_prototype_taxons.rb +5 -0
  560. data/db/migrate/20170331110454_add_indexes_to_refunds.rb +6 -0
  561. data/db/migrate/20170331111757_add_indexes_to_reimbursement_credits.rb +6 -0
  562. data/db/migrate/20170331115246_add_indexes_to_return_authorizations.rb +6 -0
  563. data/db/migrate/20170331120125_add_indexes_to_return_items.rb +11 -0
  564. data/db/migrate/20170331121725_add_index_to_role_users.rb +18 -0
  565. data/db/migrate/20170331123625_add_index_to_shipping_method_categories.rb +5 -0
  566. data/db/migrate/20170331123832_add_index_to_shipping_method_zones.rb +20 -0
  567. data/db/migrate/20170331124251_add_index_to_harpiya_shipping_rates.rb +6 -0
  568. data/db/migrate/20170331124513_add_index_to_harpiya_stock_items.rb +5 -0
  569. data/db/migrate/20170331124924_add_index_to_harpiya_stock_movement.rb +5 -0
  570. data/db/migrate/20170413211707_change_indexes_on_friendly_id_slugs.rb +10 -0
  571. data/db/migrate/20170722102643_add_analytics_kind_to_harpiya_trackers.rb +5 -0
  572. data/db/migrate/20170727103056_rename_tracker_kind_field.rb +5 -0
  573. data/db/migrate/20171004223836_remove_icon_from_taxons.rb +8 -0
  574. data/db/migrate/20180222133746_add_unique_index_on_harpiya_promotions_code.rb +6 -0
  575. data/db/migrate/20180613080857_rename_guest_token_to_token_in_orders.rb +5 -0
  576. data/db/migrate/20180915160001_add_timestamps_to_harpiya_prices.rb +12 -0
  577. data/db/migrate/20181024100754_add_deleted_at_to_harpiya_credit_cards.rb +6 -0
  578. data/db/migrate/20190305121659_add_iso_and_iso3_validation_on_presence_and_uniqueness.rb +18 -0
  579. data/db/migrate/20190523092729_add_user_id_and_deleted_at_to_harpiya_addresses.rb +12 -0
  580. data/db/migrate/20191005121504_add_store_id_to_payment_methods.rb +7 -0
  581. data/db/migrate/20191016134113_add_deafult_value_for_store_default_currency.rb +5 -0
  582. data/db/migrate/20191017121054_add_supported_currencies_to_store.rb +11 -0
  583. data/db/migrate/20200102141311_add_social_to_harpiya_stores.rb +10 -0
  584. data/db/migrate/20200212144523_add_hide_from_nav_to_taxons.rb +5 -0
  585. data/db/migrate/20200308210757_add_default_locale_to_harpiya_store.rb +7 -0
  586. data/db/migrate/20200310145140_add_customer_support_email_to_harpiya_store.rb +7 -0
  587. data/db/migrate/20200421095017_add_compare_at_amount_to_harpiya_prices.rb +7 -0
  588. data/db/migrate/20200423123001_add_default_country_id_to_harpiya_store.rb +9 -0
  589. data/db/migrate/20200430072209_add_footer_fields_to_harpiya_stores.rb +8 -0
  590. data/db/migrate/20200513154939_add_show_property_to_harpiya_product_properties.rb +5 -0
  591. data/db/migrate/20200607161221_add_store_owner_order_notification_delivered_to_harpiya_orders.rb +7 -0
  592. data/db/migrate/20200607161222_add_new_order_notifications_email_to_harpiya_stores.rb +7 -0
  593. data/db/migrate/20200610113542_add_label_to_harpiya_addresses.rb +5 -0
  594. data/db/migrate/20200826075557_add_unique_index_on_taxon_id_and_product_id_to_harpiya_products_taxons.rb +5 -0
  595. data/db/migrate/20201006110150_add_checkout_zone_field_to_store.rb +12 -0
  596. data/db/migrate/20201012091259_add_filterable_column_to_harpiya_option_types.rb +10 -0
  597. data/db/migrate/20201013084504_add_seo_robots_to_harpiya_stores.rb +5 -0
  598. data/db/migrate/20201023152810_add_filterable_to_harpiya_properties.rb +8 -0
  599. data/db/migrate/20201127084048_add_default_country_kind_to_harpiya_zones.rb +5 -0
  600. data/db/migrate/20210112193440_remove_contact_email_from_harpiya_stores.rb +5 -0
  601. data/db/migrate/20210114182625_create_harpiya_payment_methods_stores.rb +10 -0
  602. data/db/migrate/20210114220232_migrate_data_payment_methods_stores.rb +15 -0
  603. data/db/migrate/20210117112551_remove_store_id_from_harpiya_payment_methods.rb +5 -0
  604. data/db/migrate/20210120142527_ensure_default_locale_in_harpiya_stores.rb +5 -0
  605. data/db/migrate/20210205211040_add_supported_locales_to_harpiya_stores.rb +11 -0
  606. data/db/migrate/20210215202602_migrate_harpiya_i18n_globalize_config.rb +22 -0
  607. data/db/migrate/20210407200948_create_harpiya_menus.rb +16 -0
  608. data/db/migrate/20210408092939_create_harpiya_menu_items.rb +31 -0
  609. data/db/migrate/20210504163720_add_filter_param_to_harpiya_product_properties.rb +8 -0
  610. data/db/migrate/20210505114659_add_filter_param_to_harpiya_properties.rb +8 -0
  611. data/db/migrate/20210527094055_create_harpiya_products_stores.rb +29 -0
  612. data/db/migrate/20210608045519_ensure_store_default_country_is_set.rb +5 -0
  613. data/db/seeds.rb +5 -0
  614. data/harpiya_core.gemspec +59 -0
  615. data/lib/friendly_id/slug_rails5_patch.rb +11 -0
  616. data/lib/generators/harpiya/custom_user/custom_user_generator.rb +51 -0
  617. data/lib/generators/harpiya/custom_user/templates/authentication_helpers.rb.tt +36 -0
  618. data/lib/generators/harpiya/custom_user/templates/initializer.rb.tt +1 -0
  619. data/lib/generators/harpiya/custom_user/templates/migration.rb.tt +7 -0
  620. data/lib/generators/harpiya/dummy/dummy_generator.rb +154 -0
  621. data/lib/generators/harpiya/dummy/templates/initializers/bullet.rb +5 -0
  622. data/lib/generators/harpiya/dummy/templates/initializers/devise.rb +3 -0
  623. data/lib/generators/harpiya/dummy/templates/rails/application.rb +10 -0
  624. data/lib/generators/harpiya/dummy/templates/rails/boot.rb +6 -0
  625. data/lib/generators/harpiya/dummy/templates/rails/database.yml +80 -0
  626. data/lib/generators/harpiya/dummy/templates/rails/routes.rb +2 -0
  627. data/lib/generators/harpiya/dummy/templates/rails/script/rails +6 -0
  628. data/lib/generators/harpiya/dummy/templates/rails/test.rb +38 -0
  629. data/lib/generators/harpiya/dummy_model/dummy_model_generator.rb +23 -0
  630. data/lib/generators/harpiya/dummy_model/templates/migration.rb.tt +10 -0
  631. data/lib/generators/harpiya/dummy_model/templates/model.rb.tt +6 -0
  632. data/lib/generators/harpiya/install/install_generator.rb +249 -0
  633. data/lib/generators/harpiya/install/templates/config/initializers/harpiya.rb +31 -0
  634. data/lib/generators/harpiya/mailers_preview/mailers_preview_generator.rb +23 -0
  635. data/lib/generators/harpiya/mailers_preview/templates/mailers/previews/order_preview.rb +13 -0
  636. data/lib/generators/harpiya/mailers_preview/templates/mailers/previews/reimbursement_preview.rb +5 -0
  637. data/lib/generators/harpiya/mailers_preview/templates/mailers/previews/shipment_preview.rb +5 -0
  638. data/lib/generators/harpiya/mailers_preview/templates/mailers/previews/user_preview.rb +11 -0
  639. data/lib/harpiya/core.rb +116 -0
  640. data/lib/harpiya/core/components.rb +17 -0
  641. data/lib/harpiya/core/controller_helpers/auth.rb +93 -0
  642. data/lib/harpiya/core/controller_helpers/common.rb +65 -0
  643. data/lib/harpiya/core/controller_helpers/currency.rb +54 -0
  644. data/lib/harpiya/core/controller_helpers/locale.rb +58 -0
  645. data/lib/harpiya/core/controller_helpers/order.rb +108 -0
  646. data/lib/harpiya/core/controller_helpers/search.rb +14 -0
  647. data/lib/harpiya/core/controller_helpers/store.rb +55 -0
  648. data/lib/harpiya/core/controller_helpers/strong_parameters.rb +43 -0
  649. data/lib/harpiya/core/engine.rb +150 -0
  650. data/lib/harpiya/core/importer.rb +9 -0
  651. data/lib/harpiya/core/importer/order.rb +242 -0
  652. data/lib/harpiya/core/importer/product.rb +63 -0
  653. data/lib/harpiya/core/number_generator.rb +51 -0
  654. data/lib/harpiya/core/product_duplicator.rb +79 -0
  655. data/lib/harpiya/core/product_filters.rb +194 -0
  656. data/lib/harpiya/core/query_filters.rb +11 -0
  657. data/lib/harpiya/core/query_filters/comparable.rb +46 -0
  658. data/lib/harpiya/core/query_filters/date.rb +8 -0
  659. data/lib/harpiya/core/query_filters/number.rb +8 -0
  660. data/lib/harpiya/core/query_filters/text.rb +32 -0
  661. data/lib/harpiya/core/routes.rb +42 -0
  662. data/lib/harpiya/core/search/base.rb +138 -0
  663. data/lib/harpiya/core/token_generator.rb +22 -0
  664. data/lib/harpiya/core/version.rb +7 -0
  665. data/lib/harpiya/database_type_utilities.rb +12 -0
  666. data/lib/harpiya/dependencies_helper.rb +11 -0
  667. data/lib/harpiya/i18n.rb +33 -0
  668. data/lib/harpiya/localized_number.rb +23 -0
  669. data/lib/harpiya/migrations.rb +80 -0
  670. data/lib/harpiya/money.rb +77 -0
  671. data/lib/harpiya/permitted_attributes.rb +126 -0
  672. data/lib/harpiya/service_module.rb +102 -0
  673. data/lib/harpiya/testing_support/ability_helpers.rb +97 -0
  674. data/lib/harpiya/testing_support/authorization_helpers.rb +69 -0
  675. data/lib/harpiya/testing_support/bar_ability.rb +14 -0
  676. data/lib/harpiya/testing_support/caching.rb +47 -0
  677. data/lib/harpiya/testing_support/capybara_config.rb +26 -0
  678. data/lib/harpiya/testing_support/capybara_ext.rb +88 -0
  679. data/lib/harpiya/testing_support/common_rake.rb +54 -0
  680. data/lib/harpiya/testing_support/controller_requests.rb +103 -0
  681. data/lib/harpiya/testing_support/extension_rake.rb +9 -0
  682. data/lib/harpiya/testing_support/factories.rb +19 -0
  683. data/lib/harpiya/testing_support/factories/address_factory.rb +23 -0
  684. data/lib/harpiya/testing_support/factories/adjustment_factory.rb +28 -0
  685. data/lib/harpiya/testing_support/factories/calculator_factory.rb +20 -0
  686. data/lib/harpiya/testing_support/factories/classification_factory.rb +8 -0
  687. data/lib/harpiya/testing_support/factories/country_factory.rb +9 -0
  688. data/lib/harpiya/testing_support/factories/credit_card_factory.rb +12 -0
  689. data/lib/harpiya/testing_support/factories/customer_return_factory.rb +29 -0
  690. data/lib/harpiya/testing_support/factories/image_factory.rb +7 -0
  691. data/lib/harpiya/testing_support/factories/inventory_unit_factory.rb +18 -0
  692. data/lib/harpiya/testing_support/factories/line_item_factory.rb +12 -0
  693. data/lib/harpiya/testing_support/factories/menu_factory.rb +7 -0
  694. data/lib/harpiya/testing_support/factories/menu_item_factory.rb +7 -0
  695. data/lib/harpiya/testing_support/factories/options_factory.rb +27 -0
  696. data/lib/harpiya/testing_support/factories/order_factory.rb +102 -0
  697. data/lib/harpiya/testing_support/factories/order_promotion_factory.rb +6 -0
  698. data/lib/harpiya/testing_support/factories/payment_factory.rb +30 -0
  699. data/lib/harpiya/testing_support/factories/payment_method_factory.rb +36 -0
  700. data/lib/harpiya/testing_support/factories/price_factory.rb +7 -0
  701. data/lib/harpiya/testing_support/factories/product_factory.rb +49 -0
  702. data/lib/harpiya/testing_support/factories/product_option_type_factory.rb +6 -0
  703. data/lib/harpiya/testing_support/factories/product_property_factory.rb +6 -0
  704. data/lib/harpiya/testing_support/factories/promotion_category_factory.rb +5 -0
  705. data/lib/harpiya/testing_support/factories/promotion_factory.rb +73 -0
  706. data/lib/harpiya/testing_support/factories/promotion_rule_factory.rb +5 -0
  707. data/lib/harpiya/testing_support/factories/property_factory.rb +28 -0
  708. data/lib/harpiya/testing_support/factories/prototype_factory.rb +11 -0
  709. data/lib/harpiya/testing_support/factories/refund_factory.rb +22 -0
  710. data/lib/harpiya/testing_support/factories/reimbursement_factory.rb +16 -0
  711. data/lib/harpiya/testing_support/factories/reimbursement_type_factory.rb +7 -0
  712. data/lib/harpiya/testing_support/factories/return_authorization_factory.rb +21 -0
  713. data/lib/harpiya/testing_support/factories/return_item_factory.rb +14 -0
  714. data/lib/harpiya/testing_support/factories/role_factory.rb +9 -0
  715. data/lib/harpiya/testing_support/factories/shipment_factory.rb +21 -0
  716. data/lib/harpiya/testing_support/factories/shipping_category_factory.rb +5 -0
  717. data/lib/harpiya/testing_support/factories/shipping_method_factory.rb +22 -0
  718. data/lib/harpiya/testing_support/factories/state_factory.rb +10 -0
  719. data/lib/harpiya/testing_support/factories/stock_factory.rb +31 -0
  720. data/lib/harpiya/testing_support/factories/stock_item_factory.rb +9 -0
  721. data/lib/harpiya/testing_support/factories/stock_location_factory.rb +28 -0
  722. data/lib/harpiya/testing_support/factories/stock_movement_factory.rb +11 -0
  723. data/lib/harpiya/testing_support/factories/store_credit_category_factory.rb +9 -0
  724. data/lib/harpiya/testing_support/factories/store_credit_event_factory.rb +8 -0
  725. data/lib/harpiya/testing_support/factories/store_credit_factory.rb +17 -0
  726. data/lib/harpiya/testing_support/factories/store_credit_type_factory.rb +11 -0
  727. data/lib/harpiya/testing_support/factories/store_factory.rb +27 -0
  728. data/lib/harpiya/testing_support/factories/tax_category_factory.rb +6 -0
  729. data/lib/harpiya/testing_support/factories/tax_rate_factory.rb +9 -0
  730. data/lib/harpiya/testing_support/factories/taxon_factory.rb +7 -0
  731. data/lib/harpiya/testing_support/factories/taxonomy_factory.rb +5 -0
  732. data/lib/harpiya/testing_support/factories/user_factory.rb +22 -0
  733. data/lib/harpiya/testing_support/factories/variant_factory.rb +38 -0
  734. data/lib/harpiya/testing_support/factories/zone_factory.rb +28 -0
  735. data/lib/harpiya/testing_support/factories/zone_member_factory.rb +6 -0
  736. data/lib/harpiya/testing_support/flash.rb +25 -0
  737. data/lib/harpiya/testing_support/flatpickr_capybara.rb +101 -0
  738. data/lib/harpiya/testing_support/i18n.rb +94 -0
  739. data/lib/harpiya/testing_support/image_helpers.rb +13 -0
  740. data/lib/harpiya/testing_support/kernel.rb +17 -0
  741. data/lib/harpiya/testing_support/locale_helpers.rb +78 -0
  742. data/lib/harpiya/testing_support/next_instance_of.rb +38 -0
  743. data/lib/harpiya/testing_support/order_walkthrough.rb +78 -0
  744. data/lib/harpiya/testing_support/preferences.rb +30 -0
  745. data/lib/harpiya/testing_support/rspec_retry_config.rb +10 -0
  746. data/lib/harpiya/testing_support/url_helpers.rb +9 -0
  747. data/lib/harpiya_core.rb +2 -0
  748. data/lib/tasks/core.rake +187 -0
  749. data/lib/tasks/email.rake +10 -0
  750. data/lib/tasks/exchanges.rake +66 -0
  751. data/script/rails +9 -0
  752. data/spec/fixtures/favicon.ico +0 -0
  753. data/spec/fixtures/files/icon_256x256.gif +0 -0
  754. data/spec/fixtures/files/icon_256x256.png +0 -0
  755. data/spec/fixtures/files/icon_512x512.png +0 -0
  756. data/spec/fixtures/files/img_256x128.png +0 -0
  757. data/spec/fixtures/text-file.txt +1 -0
  758. data/spec/fixtures/thinking-cat.jpg +0 -0
  759. data/vendor/assets/javascripts/cleave.js +1669 -0
  760. data/vendor/assets/javascripts/fetch.umd.js +531 -0
  761. data/vendor/assets/javascripts/jquery.payment.js +652 -0
  762. data/vendor/assets/javascripts/jsuri.js +458 -0
  763. data/vendor/assets/javascripts/polyfill.min.js +1 -0
  764. metadata +1260 -0
@@ -0,0 +1,11 @@
1
+ <% if target && target.errors.any? %>
2
+ <div id="errorExplanation" class="errorExplanation" data-hook>
3
+ <h2><%= Harpiya.t(:errors_prohibited_this_record_from_being_saved, count: target.errors.size) %>:</h2>
4
+ <p><%= Harpiya.t(:there_were_problems_with_the_following_fields) %>:</p>
5
+ <ul>
6
+ <% target.errors.full_messages.each do |msg| %>
7
+ <li><%= msg %></li>
8
+ <% end %>
9
+ </ul>
10
+ </div>
11
+ <% end %>
@@ -0,0 +1,16 @@
1
+ <tr>
2
+ <td class="six sub-columns">
3
+ <strong>
4
+ <% if frontend_available? %>
5
+ <%= link_to raw(line_item.variant.product.name), harpiya.product_url(line_item.variant.product) %>
6
+ <% else %>
7
+ <%= raw(line_item.variant.product.name) %>
8
+ <% end %>
9
+ </strong>
10
+ <%= raw(line_item.variant.options_text) -%>
11
+ (<%= line_item.variant.sku %>)
12
+ </td>
13
+ <td class="six sub-columns last right">
14
+ <%= line_item.quantity %> x <%= line_item.single_money %> = <%= line_item.display_amount %>
15
+ </td>
16
+ </tr>
@@ -0,0 +1,8 @@
1
+ <script>
2
+ HarpiyaPaths = <%==
3
+ {
4
+ mounted_at: Rails.application.routes.url_helpers.harpiya_path(trailing_slash: true),
5
+ admin: Harpiya.admin_path.gsub(/\A(\/)?(.*[^\/])(\/)?\z/, '\\2/')
6
+ }.to_json
7
+ %>
8
+ </script>
@@ -0,0 +1,64 @@
1
+ <table class="purchase_content">
2
+ <%= render collection: line_items, partial: 'harpiya/shared/purchased_items_table/line_item', as: :line_item %>
3
+ <%= render 'harpiya/shared/purchased_items_table/subtotal', order: order %>
4
+ <% if order.line_item_adjustments.exists? %>
5
+ <% if order.all_adjustments.promotion.eligible.exists? %>
6
+ <% order.all_adjustments.promotion.eligible.group_by(&:label).each do |label, adjustments| %>
7
+ <tr>
8
+ <td></td>
9
+ <td>
10
+ <p class="f-fallback purchase_total purchase_total--label">
11
+ <%= Harpiya.t(:promotion) %>:
12
+ </p>
13
+ <p class="f-fallback purchase_total--name purchase_total--label">
14
+ <%= label %>
15
+ </p>
16
+ </td>
17
+ <td class="purchase_total-col">
18
+ <p class="f-fallback purchase_total">
19
+ <%= Harpiya::Money.new(adjustments.sum(&:amount), currency: order.currency) %>
20
+ </p>
21
+ </td>
22
+ </tr>
23
+ <% end %>
24
+ <% end %>
25
+ <% end %>
26
+ <% order.shipments.group_by { |s| s.selected_shipping_rate&.name }.each do |name, shipments| %>
27
+ <tr>
28
+ <td></td>
29
+ <td>
30
+ <p class="f-fallback purchase_total purchase_total--label">
31
+ <%= Harpiya.t(:shipping) %>:
32
+ </p>
33
+ <p class="f-fallback purchase_total--name purchase_total--label">
34
+ <%= name %>
35
+ </p>
36
+ </td>
37
+ <td class="purchase_total-col">
38
+ <p class="f-fallback purchase_total">
39
+ <%= Harpiya::Money.new(shipments.sum(&:discounted_cost), currency: order.currency) %>
40
+ </p>
41
+ </td>
42
+ </tr>
43
+ <% end %>
44
+ <% if order.additional_tax_total != 0 %>
45
+ <tr>
46
+ <td></td>
47
+ <td>
48
+ <p class="f-fallback purchase_total purchase_total--label">
49
+ <%= Harpiya.t(:tax) %>:
50
+ </p>
51
+ </td>
52
+ <td class="purchase_total-col">
53
+ <p class="f-fallback purchase_total">
54
+ <%= order.display_additional_tax_total.to_html %>
55
+ </p>
56
+ </td>
57
+ </tr>
58
+ <% end %>
59
+ <% order.adjustments.eligible.each do |adjustment| %>
60
+ <% next if (adjustment.source_type == 'Harpiya::TaxRate') || (adjustment.amount == 0) %>
61
+ <%= render 'harpiya/shared/purchased_items_table/adjustment', adjustment: adjustment, order: order %>
62
+ <% end %>
63
+ <%= render 'harpiya/shared/purchased_items_table/total', order: order %>
64
+ </table>
@@ -0,0 +1,25 @@
1
+ <% line_items.each do |item| %>
2
+ <%= item.variant.sku %> <%= raw(item.variant.product.name) %> <%= raw(item.variant.options_text) -%> (<%=item.quantity%>) <%= Harpiya.t('at_symbol') %> <%= item.single_money %> = <%= item.display_amount %>
3
+ <% end %>
4
+ ============================================================
5
+ <%= Harpiya.t('order_mailer.subtotal') %> <%= order.display_item_total %>
6
+ <% if order.line_item_adjustments.exists? %>
7
+ <% if order.all_adjustments.promotion.eligible.exists? %>
8
+ <% order.all_adjustments.promotion.eligible.group_by(&:label).each do |label, adjustments| %>
9
+ <%= Harpiya.t(:promotion) %>: <%= label %> <%= Harpiya::Money.new(adjustments.sum(&:amount), currency: order.currency) %>
10
+ <% end %>
11
+ <% end %>
12
+ <% end %>
13
+
14
+ <% order.shipments.group_by { |s| s.selected_shipping_rate.try(:name) }.each do |name, shipments| %>
15
+ <%= Harpiya.t(:shipping) %>: <%= name %> <%= Harpiya::Money.new(shipments.sum(&:discounted_cost), currency: order.currency) %>
16
+ <% end %>
17
+
18
+ <% if order.additional_tax_total != 0 %>
19
+ <%= Harpiya.t(:tax) %>: <%= order.display_additional_tax_total.to_html %>
20
+ <% end %>
21
+
22
+ <% order.adjustments.eligible.each do |adjustment| %>
23
+ <% next if (adjustment.source_type == 'Harpiya::TaxRate') and (adjustment.amount == 0) %>
24
+ <%= adjustment.label %> <%= adjustment.display_amount %>
25
+ <% end %>
@@ -0,0 +1,13 @@
1
+ <tr>
2
+ <td></td>
3
+ <td>
4
+ <p class="f-fallback purchase_total purchase_total--label">
5
+ <%= raw(adjustment.label) %>:
6
+ </p>
7
+ </td>
8
+ <td class="purchase_total-col">
9
+ <p class="f-fallback purchase_total">
10
+ <%= Harpiya::Money.new(adjustment.amount, currency: order.currency) %>
11
+ </p>
12
+ </td>
13
+ </tr>
@@ -0,0 +1,27 @@
1
+ <tr>
2
+ <td class="purchase_image">
3
+ <% if frontend_available? %>
4
+ <%= link_to(image_tag(variant_image_url(line_item.variant)), harpiya.product_url(line_item.product)) %>
5
+ <% else %>
6
+ <%= image_tag(variant_image_url(line_item.variant)) %>
7
+ <% end %>
8
+ </td>
9
+ <td class="purchase_item">
10
+ <strong>
11
+ <span class="f-fallback">
12
+ <% if frontend_available? %>
13
+ <%= link_to raw(line_item.name), harpiya.product_url(line_item.product) %>
14
+ <% else %>
15
+ <%= raw(line_item.name) %>
16
+ <% end %>
17
+ </span>
18
+ </strong>
19
+ <p class="purchase_item--additional"><%= raw(line_item.variant.options_text) -%></p>
20
+ </td>
21
+ <td class="align-right" width="30%">
22
+ <span class="f-fallback purchase_item_price">
23
+ <%= line_item.quantity %> x <%= line_item.single_money %><br>
24
+ <%= line_item.display_amount %>
25
+ </span>
26
+ </td>
27
+ </tr>
@@ -0,0 +1,13 @@
1
+ <tr>
2
+ <td class="purchase_footer" valign="middle"></td>
3
+ <td class="purchase_footer" valign="middle">
4
+ <p class="f-fallback purchase_total purchase_total--label">
5
+ <%= Harpiya.t('order_mailer.subtotal') %>
6
+ </p>
7
+ </td>
8
+ <td class="purchase_footer" valign="middle">
9
+ <p class="f-fallback purchase_total">
10
+ <%= order.display_item_total %>
11
+ </p>
12
+ </td>
13
+ </tr>
@@ -0,0 +1,13 @@
1
+ <tr>
2
+ <td></td>
3
+ <td>
4
+ <p class="f-fallback purchase_total purchase_total--label">
5
+ <strong><%= Harpiya.t('order_mailer.total') %></strong>
6
+ </p>
7
+ </td>
8
+ <td>
9
+ <p class="f-fallback purchase_total">
10
+ <strong><%= order.display_total %></strong>
11
+ </p>
12
+ </td>
13
+ </tr>
@@ -0,0 +1,36 @@
1
+ <h1>
2
+ <%= Harpiya.t('shipment_mailer.shipped_email.dear_customer', name: name_for(@shipment.order)) %>
3
+ </h1>
4
+ <p>
5
+ <%= Harpiya.t('shipment_mailer.shipped_email.instructions', number: @shipment.order.number) %>
6
+ </p>
7
+ <table class="purchase" role="presentation">
8
+ <tr>
9
+ <td>
10
+ <h3><%= Harpiya.t('shipment_mailer.shipped_email.shipment_summary') %></h3>
11
+ </td>
12
+ </tr>
13
+ <tr>
14
+ <td colspan="2">
15
+ <%= render 'harpiya/shared/purchased_items_table', line_items: @shipment.manifest.map(&:line_item), order: @shipment.order %>
16
+ </td>
17
+ </tr>
18
+ </table>
19
+ <p>
20
+ <%= Harpiya.t('shipment_mailer.shipped_email.shipping_method', shipping_method: @shipment.shipping_method.name) %>
21
+ </p>
22
+ <% if @shipment.tracking %>
23
+ <p>
24
+ <%= Harpiya.t('shipment_mailer.shipped_email.track_information', tracking: @shipment.tracking) %>
25
+ </p>
26
+ <% end %>
27
+ <% if @shipment.tracking_url %>
28
+ <p>
29
+ <%= Harpiya.t('shipment_mailer.shipped_email.track_link', url: link_to(@shipment.tracking_url, @shipment.tracking_url)).html_safe %>
30
+ </p>
31
+ <% end %>
32
+ <p>
33
+ <%= Harpiya.t('shipment_mailer.shipped_email.thanks') %>
34
+ <br />
35
+ <%= Harpiya.t('shipment_mailer.shipped_email.store_team', store_name: current_store.name) %>
36
+ </p>
@@ -0,0 +1,17 @@
1
+ <%= Harpiya.t('shipment_mailer.shipped_email.dear_customer', name: name_for(@shipment.order)) %>
2
+
3
+ <%= Harpiya.t('shipment_mailer.shipped_email.instructions', number: @shipment.order.number) %>
4
+
5
+ ============================================================
6
+ <%= Harpiya.t('shipment_mailer.shipped_email.shipment_summary') %>
7
+ ============================================================
8
+ <% @shipment.manifest.each do |item| %>
9
+ <%= item.variant.sku %> <%= item.variant.product.name %> <%= item.variant.options_text %>
10
+ <% end %>
11
+ ============================================================
12
+
13
+ <%= Harpiya.t('shipment_mailer.shipped_email.track_information', tracking: @shipment.tracking) if @shipment.tracking %>
14
+ <%= Harpiya.t('shipment_mailer.shipped_email.track_link', url: @shipment.tracking_url) if @shipment.tracking_url %>
15
+
16
+ <%= Harpiya.t('shipment_mailer.shipped_email.thanks') %>
17
+ <%= Harpiya.t('shipment_mailer.shipped_email.store_team', store_name: current_store.name) %>
@@ -0,0 +1,40 @@
1
+ <table>
2
+ <tr>
3
+ <td>
4
+
5
+ <center>
6
+ <h1 class="center">
7
+ <%= Harpiya.t('test_mailer.test_email.greeting') %>
8
+ </h1>
9
+ </center>
10
+
11
+ </td>
12
+ <td class="expander"></td>
13
+ </tr>
14
+ </table>
15
+
16
+ <table>
17
+ <tr>
18
+ <td>
19
+
20
+ <p class="lede">
21
+ <%= Harpiya.t('test_mailer.test_email.message') %>
22
+ </p>
23
+
24
+ <p>
25
+ Please remember to configure all of the emails that Harpiya has provided to your needs.
26
+ Harpiya comes shipped with <a href="http://zurb.com/ink/" target="_blank"> Ink </a>
27
+ prepackaged, but you can use your own version. Ink is not placed in the asset pipeline.
28
+ </p>
29
+
30
+ <p>
31
+ Also take note that Gmail does not support <code>&lt;style&gt;</code> tags.
32
+ Therefore, you will need a gem that will be able to remove your <code>&lt;style&gt;</code>
33
+ tags and place them inline. Gmail only supports inline styles. We use
34
+ <a href="https://github.com/fphilipe/premailer-rails" target="_blank">Premailer for Rails</a> by default.
35
+ </p>
36
+
37
+ </td>
38
+ <td class="expander"></td>
39
+ </tr>
40
+ </table>
@@ -0,0 +1,4 @@
1
+ <%= Harpiya.t('test_mailer.test_email.greeting') %>
2
+ ================
3
+
4
+ <%= Harpiya.t('test_mailer.test_email.message') %>
@@ -0,0 +1,46 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
5
+ <meta name="x-apple-disable-message-reformatting"/>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
7
+
8
+ <%= render partial: 'harpiya/shared/base_mailer_stylesheets' %>
9
+ </head>
10
+ <body>
11
+ <table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
12
+ <tr>
13
+ <td align="center">
14
+ <table class="email-content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
15
+ <%= render partial: 'harpiya/shared/base_mailer_header' %>
16
+ <!-- Email Body -->
17
+ <tr>
18
+ <td class="email-body" width="570" cellpadding="0" cellspacing="0">
19
+ <table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
20
+ <!-- Body content -->
21
+ <tbody>
22
+ <tr>
23
+ <td class="content-cell">
24
+ <div class="f-fallback">
25
+ <%= yield %>
26
+ </div>
27
+ </td>
28
+ </tr>
29
+ </tbody>
30
+ </table>
31
+ </td>
32
+ </tr>
33
+ <tr>
34
+ <td>
35
+ <%= render partial: 'harpiya/shared/base_mailer_footer' %>
36
+ </td>
37
+ </tr>
38
+ </table>
39
+ </td>
40
+ </tr>
41
+ <tr>
42
+ <td height="60px">&nbsp;</td>
43
+ </tr>
44
+ </table>
45
+ </body>
46
+ </html>
@@ -0,0 +1,7 @@
1
+ class ActiveStorage::PurgeJob < ActiveStorage::BaseJob
2
+ def perform(blob)
3
+ blob.purge unless blob.attachments.present?
4
+ end
5
+ end
6
+
7
+ Rails.application.config.active_storage.content_types_to_serve_as_binary.delete('image/svg+xml')
@@ -0,0 +1 @@
1
+ Rails.application.config.assets.precompile << 'harpiya_core_manifest.js'
@@ -0,0 +1,7 @@
1
+ # To learn more, check out the guide:
2
+ # http://norman.github.io/friendly_id/file.Guide.html
3
+ FriendlyId.defaults do |config|
4
+ config.use :reserved
5
+ config.reserved_words = %w(new edit index session login logout users admin
6
+ stylesheets assets javascripts images)
7
+ end
@@ -0,0 +1,3 @@
1
+ ActiveSupport::Inflector.inflections(:en) do |inflect|
2
+ inflect.acronym 'RMA'
3
+ end
@@ -0,0 +1,3 @@
1
+ if Rails::VERSION::STRING >= '6.1'
2
+ ActiveRecord::Base.has_many_inversing = false
3
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MachineDecorator
4
+ protected
5
+
6
+ # Determines whether there's already a helper method defined within the
7
+ # given scope. This is true only if one of the owner's ancestors defines
8
+ # the method and is further along in the ancestor chain than this
9
+ # machine's helper module.
10
+ def owner_class_ancestor_has_method?(scope, method)
11
+ return false unless owner_class_has_method?(scope, method)
12
+
13
+ superclasses = owner_class.ancestors.select { |ancestor| ancestor.is_a?(Class) }[1..-1]
14
+
15
+ if scope == :class
16
+ current = owner_class.singleton_class
17
+ superclass = superclasses.first
18
+ else
19
+ current = owner_class
20
+ superclass = owner_class.superclass
21
+ end
22
+
23
+ # Generate the list of modules that *only* occur in the owner class, but
24
+ # were included *prior* to the helper modules, in addition to the
25
+ # superclasses
26
+ ancestors = current.ancestors - superclass.ancestors + superclasses
27
+ ancestors = ancestors[ancestors.index(@helper_modules[scope])..-1].reverse
28
+
29
+ # Search for for the first ancestor that defined this method
30
+ ancestors.detect do |ancestor|
31
+ ancestor = ancestor.singleton_class if scope == :class && ancestor.is_a?(Class)
32
+ ancestor.method_defined?(method) || ancestor.private_method_defined?(method)
33
+ end
34
+ end
35
+ end
36
+
37
+ ::StateMachines::Machine.prepend MachineDecorator
@@ -0,0 +1,1864 @@
1
+ en:
2
+ activemodel:
3
+ errors:
4
+ models:
5
+ harpiya/fulfilment_changer:
6
+ attributes:
7
+ desired_shipment:
8
+ can_not_transfer_within_same_shipment: can not be same as current shipment
9
+ has_not_enough_stock_at_desired_location: has not enough stock in desired stock location
10
+ current_shipment:
11
+ has_already_been_shipped: has already been shipped
12
+ can_not_have_backordered_inventory_units: has backordered inventory units
13
+ activerecord:
14
+ attributes:
15
+ harpiya/address:
16
+ label: Address name
17
+ address1: Address
18
+ address2: Address (contd.)
19
+ city: City
20
+ company: Company
21
+ country: Country
22
+ firstname: First Name
23
+ lastname: Last Name
24
+ phone: Phone
25
+ state: State
26
+ zipcode: Zip Code
27
+ harpiya/calculator/tiered_flat_rate:
28
+ preferred_base_amount: Base Amount
29
+ preferred_tiers: Tiers
30
+ harpiya/calculator/tiered_percent:
31
+ preferred_base_percent: Base Percent
32
+ preferred_tiers: Tiers
33
+ harpiya/country:
34
+ iso: ISO
35
+ iso3: ISO3
36
+ iso_name: ISO Name
37
+ name: Name
38
+ numcode: ISO Code
39
+ harpiya/credit_card:
40
+ base: ''
41
+ cc_type: Type
42
+ month: Month
43
+ number: Number
44
+ verification_value: Verification Value
45
+ year: Year
46
+ name: Name
47
+ harpiya/inventory_unit:
48
+ state: State
49
+ harpiya/line_item:
50
+ price: Price
51
+ quantity: Quantity
52
+ harpiya/option_type:
53
+ name: Name
54
+ presentation: Presentation
55
+ filterable: Filterable
56
+ harpiya/order:
57
+ checkout_complete: Checkout Complete
58
+ completed_at: Completed At
59
+ coupon_code: Coupon Code
60
+ created_at: Order Date
61
+ email: Email
62
+ ip_address: IP Address
63
+ item_total: Item Total
64
+ number: Number
65
+ payment_state: Payment State
66
+ shipment_state: Shipment State
67
+ special_instructions: Special Instructions
68
+ state: State
69
+ total: Total
70
+ considered_risky: Risky
71
+ harpiya/order/bill_address:
72
+ address1: Billing address street
73
+ city: Billing address city
74
+ firstname: Billing address first name
75
+ lastname: Billing address last name
76
+ phone: Billing address phone
77
+ state: Billing address state
78
+ zipcode: Billing address zipcode
79
+ harpiya/order/ship_address:
80
+ address1: Shipping address street
81
+ city: Shipping address city
82
+ firstname: Shipping address first name
83
+ lastname: Shipping address last name
84
+ phone: Shipping address phone
85
+ state: Shipping address state
86
+ zipcode: Shipping address zipcode
87
+ harpiya/payment:
88
+ amount: Amount
89
+ number: Number
90
+ harpiya/payment_method:
91
+ name: Name
92
+ harpiya/product:
93
+ available_on: Available On
94
+ discontinue_on: Discontinue On
95
+ cost_currency: Cost Currency
96
+ cost_price: Cost Price
97
+ description: Description
98
+ master_price: Master Price
99
+ name: Name
100
+ on_hand: On Hand
101
+ shipping_category: Shipping Category
102
+ tax_category: Tax Category
103
+ less_than: Less than
104
+ more_than: More than
105
+ harpiya/promotion:
106
+ advertise: Advertise
107
+ code: Code
108
+ description: Description
109
+ event_name: Event Name
110
+ expires_at: Expires At
111
+ generate_code: Generate coupon code
112
+ name: Name
113
+ path: Path
114
+ starts_at: Starts At
115
+ usage_limit: Usage Limit
116
+ promotion_category: Promotion Category
117
+ harpiya/promotion_category:
118
+ name: Name
119
+ code: Code
120
+ harpiya/property:
121
+ name: Name
122
+ presentation: Presentation
123
+ harpiya/prototype:
124
+ name: Name
125
+ harpiya/return_authorization:
126
+ amount: Amount
127
+ harpiya/role:
128
+ name: Name
129
+ harpiya/shipment:
130
+ number: Number
131
+ harpiya/state:
132
+ abbr: Abbreviation
133
+ name: Name
134
+ harpiya/state_change:
135
+ state_changes: State changes
136
+ type: Type
137
+ state_from: State from
138
+ state_to: State to
139
+ user: User
140
+ timestamp: Timestamp
141
+ updated: Updated
142
+ harpiya/store:
143
+ url: Site URL
144
+ meta_description: Meta Description
145
+ meta_keywords: Meta Keywords
146
+ seo_robots: SEO Robots
147
+ seo_title: SEO Title
148
+ name: Site Name
149
+ mail_from_address: Mail From Address
150
+ harpiya/store_credit:
151
+ amount_used: Amount used
152
+ harpiya/store_credit_category:
153
+ name: Name
154
+ harpiya/tax_category:
155
+ description: Description
156
+ name: Name
157
+ harpiya/tax_rate:
158
+ amount: Rate
159
+ included_in_price: Included in Price
160
+ show_rate_in_label: Show rate in label
161
+ harpiya/taxon:
162
+ name: Name
163
+ permalink: Permalink
164
+ position: Position
165
+ harpiya/taxonomy:
166
+ name: Name
167
+ harpiya/user:
168
+ email: Email
169
+ password: Password
170
+ password_confirmation: Password Confirmation
171
+ harpiya/variant:
172
+ cost_currency: Cost Currency
173
+ cost_price: Cost Price
174
+ depth: Depth
175
+ height: Height
176
+ price: Price
177
+ sku: SKU
178
+ weight: Weight
179
+ width: Width
180
+ harpiya/zone:
181
+ description: Description
182
+ name: Name
183
+ models:
184
+ harpiya/address:
185
+ one: Address
186
+ other: Addresses
187
+ harpiya/country:
188
+ one: Country
189
+ other: Countries
190
+ harpiya/credit_card:
191
+ one: Credit Card
192
+ other: Credit Cards
193
+ harpiya/customer_return:
194
+ one: Customer Return
195
+ other: Customer Returns
196
+ harpiya/inventory_unit:
197
+ one: Inventory Unit
198
+ other: Inventory Units
199
+ harpiya/line_item:
200
+ one: Line Item
201
+ other: Line Items
202
+ harpiya/option_type:
203
+ one: Option Type
204
+ other: Option Types
205
+ harpiya/option_value:
206
+ one: Option Value
207
+ other: Option Values
208
+ harpiya/order:
209
+ one: Order
210
+ other: Orders
211
+ harpiya/payment:
212
+ one: Payment
213
+ other: Payments
214
+ harpiya/payment_method:
215
+ one: Payment Method
216
+ other: Payment Methods
217
+ harpiya/product:
218
+ one: Product
219
+ other: Products
220
+ harpiya/promotion:
221
+ one: Promotion
222
+ other: Promotions
223
+ harpiya/promotion_category:
224
+ one: Promotion Category
225
+ other: Promotion Categories
226
+ harpiya/property:
227
+ one: Property
228
+ other: Properties
229
+ harpiya/prototype:
230
+ one: Prototype
231
+ other: Prototypes
232
+ harpiya/refund_reason:
233
+ one: Refund Reason
234
+ other: Refund Reasons
235
+ harpiya/reimbursement:
236
+ one: Reimbursement
237
+ other: Reimbursements
238
+ harpiya/reimbursement_type:
239
+ one: Reimbursement Type
240
+ other: Reimbursement Types
241
+ harpiya/return_authorization:
242
+ one: Return Authorization
243
+ other: Return Authorizations
244
+ harpiya/return_authorization_reason:
245
+ one: Return Authorization Reason
246
+ other: Return Authorization Reasons
247
+ harpiya/role:
248
+ one: Roles
249
+ other: Roles
250
+ harpiya/shipment:
251
+ one: Shipment
252
+ other: Shipments
253
+ harpiya/shipping_category:
254
+ one: Shipping Category
255
+ other: Shipping Categories
256
+ harpiya/shipping_method:
257
+ one: Shipping Method
258
+ other: Shipping Methods
259
+ harpiya/state:
260
+ one: State
261
+ other: States
262
+ harpiya/state_change:
263
+ one: State Change
264
+ other: State Changes
265
+ harpiya/stock_movement:
266
+ one: Stock Movement
267
+ other: Stock Movements
268
+ harpiya/stock_location:
269
+ one: Stock Location
270
+ other: Stock Locations
271
+ harpiya/stock_transfer:
272
+ one: Stock Transfer
273
+ other: Stock Transfers
274
+ harpiya/store_credit:
275
+ one: Store Credit
276
+ other: Store Credits
277
+ harpiya/store_credit_category:
278
+ one: Store Credit Category
279
+ other: Store Credit Categories
280
+ harpiya/tax_category:
281
+ one: Tax Category
282
+ other: Tax Categories
283
+ harpiya/tax_rate:
284
+ one: Tax Rate
285
+ other: Tax Rates
286
+ harpiya/taxon:
287
+ one: Taxon
288
+ other: Taxons
289
+ harpiya/taxonomy:
290
+ one: Taxonomy
291
+ other: Taxonomies
292
+ harpiya/tracker:
293
+ one: Tracker
294
+ other: Trackers
295
+ harpiya/user:
296
+ one: User
297
+ other: Users
298
+ harpiya/variant:
299
+ one: Variant
300
+ other: Variants
301
+ harpiya/zone:
302
+ one: Zone
303
+ other: Zones
304
+ errors:
305
+ models:
306
+ harpiya/calculator/tiered_flat_rate:
307
+ attributes:
308
+ base:
309
+ keys_should_be_positive_number: "Tier keys should all be numbers larger than 0"
310
+ preferred_tiers:
311
+ should_be_hash: "should be a hash"
312
+ harpiya/calculator/tiered_percent:
313
+ attributes:
314
+ base:
315
+ keys_should_be_positive_number: "Tier keys should all be numbers larger than 0"
316
+ values_should_be_percent: "Tier values should all be percentages between 0% and 100%"
317
+ preferred_tiers:
318
+ should_be_hash: "should be a hash"
319
+ harpiya/classification:
320
+ attributes:
321
+ taxon_id:
322
+ already_linked: "is already linked to this product"
323
+ harpiya/credit_card:
324
+ attributes:
325
+ base:
326
+ card_expired: "Card has expired"
327
+ expiry_invalid: "Card expiration is invalid"
328
+ harpiya/legacy_user:
329
+ attributes:
330
+ bill_address_id:
331
+ belongs_to_other_user: belongs to other user
332
+ deprecated_in_completed_order: deprecated in completed order
333
+ ship_address_id:
334
+ belongs_to_other_user: belongs to other user
335
+ deprecated_in_completed_order: deprecated in completed order
336
+ harpiya/user:
337
+ attributes:
338
+ bill_address_id:
339
+ belongs_to_other_user: belongs to other user
340
+ deprecated_in_completed_order: deprecated in completed order
341
+ ship_address_id:
342
+ belongs_to_other_user: belongs to other user
343
+ deprecated_in_completed_order: deprecated in completed order
344
+ harpiya/line_item:
345
+ attributes:
346
+ currency:
347
+ must_match_order_currency: "Must match order currency"
348
+ harpiya/promotion:
349
+ attributes:
350
+ expires_at:
351
+ invalid_date_range: must be later than start date
352
+ harpiya/product:
353
+ attributes:
354
+ discontinue_on:
355
+ invalid_date_range: must be later than available date
356
+ base:
357
+ cannot_destroy_if_attached_to_line_items: Cannot delete products once they are attached to line items.
358
+ harpiya/refund:
359
+ attributes:
360
+ amount:
361
+ greater_than_allowed: is greater than the allowed amount.
362
+ harpiya/reimbursement:
363
+ attributes:
364
+ base:
365
+ return_items_order_id_does_not_match: One or more of the return items specified do not belong to the same order as the reimbursement.
366
+ harpiya/return_item:
367
+ attributes:
368
+ reimbursement:
369
+ cannot_be_associated_unless_accepted: cannot be associated to a return item that is not accepted.
370
+ inventory_unit:
371
+ other_completed_return_item_exists: "%{inventory_unit_id} has already been taken by return item %{return_item_id}"
372
+ harpiya/shipping_method:
373
+ attributes:
374
+ base:
375
+ required_shipping_category: "You must select at least one shipping category"
376
+ harpiya/store:
377
+ attributes:
378
+ base:
379
+ cannot_destroy_default_store: Cannot destroy the default Store.
380
+ harpiya/store_credit:
381
+ attributes:
382
+ amount_used:
383
+ cannot_be_greater_than_amount: Cannot be greater than amount.
384
+ greater_than_zero_restrict_delete: is greater than zero. Can not delete store credit.
385
+ amount_authorized:
386
+ exceeds_total_credits: Exceeds total credits.
387
+ harpiya/store_credit_category:
388
+ attributes:
389
+ base:
390
+ cannot_destroy_if_used_in_store_credit: Cannot delete store credit categories once they are used in store credit.
391
+ harpiya/variant:
392
+ attributes:
393
+ base:
394
+ cannot_destroy_if_attached_to_line_items: Cannot delete variants once they are attached to line items.
395
+ no_master_variant_found_to_infer_price: No master variant found to infer price
396
+ must_supply_price_for_variant_or_master: Must supply price for variant or master price for product.
397
+ harpiya/image:
398
+ attributes:
399
+ attachment:
400
+ not_allowed_content_type: has not allowed content type
401
+ attachment_must_be_present: must be present
402
+ harpiya/taxon_image:
403
+ attributes:
404
+ attachment:
405
+ not_allowed_content_type: has not allowed content type
406
+ address_book:
407
+ save: Save
408
+ successfully_created: New address has been successfully created
409
+ devise:
410
+ confirmations:
411
+ confirmed: Your account was successfully confirmed. You are now signed in.
412
+ send_instructions: You will receive an email with instructions about how to confirm your account in a few minutes.
413
+ failure:
414
+ inactive: Your account was not activated yet.
415
+ invalid: Invalid email or password.
416
+ invalid_token: Invalid authentication token.
417
+ locked: Your account is locked.
418
+ timeout: Your session expired, please sign in again to continue.
419
+ unauthenticated: You need to sign in or sign up before continuing.
420
+ unconfirmed: You have to confirm your account before continuing.
421
+ mailer:
422
+ confirmation_instructions:
423
+ subject: Confirmation instructions
424
+ reset_password_instructions:
425
+ subject: Reset password instructions
426
+ unlock_instructions:
427
+ subject: Unlock Instructions
428
+ oauth_callbacks:
429
+ failure: Could not authorize you from %{kind} because "%{reason}".
430
+ success: Successfully authorized from %{kind} account.
431
+ unlocks:
432
+ send_instructions: You will receive an email with instructions about how to unlock your account in a few minutes.
433
+ unlocked: Your account was successfully unlocked. You are now signed in.
434
+ user_passwords:
435
+ user:
436
+ cannot_be_blank: Your password cannot be blank.
437
+ send_instructions: You will receive an email with instructions about how to reset your password in a few minutes.
438
+ updated: Your password was changed successfully. You are now signed in.
439
+ user_registrations:
440
+ destroyed: Bye! Your account was successfully cancelled. We hope to see you again soon.
441
+ inactive_signed_up: You have signed up successfully. However, we could not sign you in because your account is %{reason}.
442
+ signed_up: Welcome! You have signed up successfully.
443
+ updated: You updated your account successfully.
444
+ user_sessions:
445
+ signed_in: Signed in successfully.
446
+ signed_out: Signed out successfully.
447
+
448
+ errors:
449
+ messages:
450
+ already_confirmed: was already confirmed
451
+ not_found: not found
452
+ not_locked: was not locked
453
+ not_saved:
454
+ one: ! '1 error prohibited this %{resource} from being saved:'
455
+ other: ! '%{count} errors prohibited this %{resource} from being saved:'
456
+
457
+ number:
458
+ percentage:
459
+ format:
460
+ precision: 1
461
+
462
+ pagination:
463
+ first: "&laquo;"
464
+ last: "&raquo;"
465
+ previous: "&lsaquo;"
466
+ next: "&rsaquo;"
467
+ truncate: "&hellip;"
468
+
469
+ harpiya:
470
+ abbreviation: Abbreviation
471
+ accept: Accept
472
+ acceptance_status: Acceptance status
473
+ acceptance_errors: Acceptance errors
474
+ accepted: Accepted
475
+ account: Account
476
+ account_info: Account info
477
+ account_updated: Account updated
478
+ action: Action
479
+ actions:
480
+ cancel: Cancel
481
+ continue: Continue
482
+ create: Create
483
+ destroy: Destroy
484
+ edit: Edit
485
+ list: List
486
+ listing: Listing
487
+ new: New
488
+ refund: Refund
489
+ save: Save
490
+ update: Update
491
+ activate: Activate
492
+ active: Active
493
+ add: Add
494
+ add_new_credit_card: Add a new card
495
+ add_action_of_type: Add action of type
496
+ add_country: Add Country
497
+ add_coupon_code: Add Coupon Code
498
+ add_new_address: Add new address
499
+ add_new_header: Add New Header
500
+ add_new_style: Add New Style
501
+ add_one: Add One
502
+ add_option_value: Add Option Value
503
+ add_product: Add Product
504
+ add_product_properties: Add Product Properties
505
+ add_rule_of_type: Add rule of type
506
+ add_state: Add State
507
+ add_stock: Add Stock
508
+ add_to_cart: Add To Cart
509
+ add_variant: Add Variant
510
+ add_store: New Store
511
+ add_store_credit: Add Store Credit
512
+ added_to_cart: Added to cart successfully!
513
+ additional_item: Additional Item
514
+ address: Address
515
+ address1: Address
516
+ address2: Address (contd.)
517
+ addresses: Addresses
518
+ address_action_popup:
519
+ delete_button: yes, delete
520
+ delete_text: Do you really want <br /> to delete this address?
521
+ delete_title: Are you sure?
522
+ address_book:
523
+ other_address: "Other address"
524
+ add_new_shipping_address: "Add new address"
525
+ label: Address Name
526
+ address_name_label: Address Name
527
+ address_name_placeholder: Give this address a unique name (Work, Home, etc.)
528
+ new_address: "New Address"
529
+ edit_address: "Edit Address"
530
+ remove_address: Remove Address
531
+ no_shipping_addresses_on_file: "No addresses on file"
532
+ addresses: "Addresses"
533
+ successfully_created: "Address has been successfully created."
534
+ successfully_removed: "Address has been successfully removed."
535
+ successfully_saved: "Saved successfully"
536
+ unsuccessfully_saved: "There was an error while trying to save your address."
537
+ successfully_updated: "Updated successfully"
538
+ unsuccessfully_updated: "There was an update while trying to update your address."
539
+ save: "Save"
540
+ adjustable: Adjustable
541
+ adjustment: Adjustment
542
+ adjustment_amount: Amount
543
+ adjustment_labels:
544
+ tax_rates:
545
+ including_tax: '%{name}%{amount} (Included in Price)'
546
+ excluding_tax: '%{name}%{amount}'
547
+ adjustment_successfully_closed: Adjustment has been successfully closed!
548
+ adjustment_successfully_opened: Adjustment has been successfully opened!
549
+ adjustment_total: Adjustment Total
550
+ adjustments: Adjustments
551
+ admin:
552
+ tab:
553
+ configuration: Configuration
554
+ content: Content
555
+ option_types: Option Types
556
+ orders: Orders
557
+ overview: Overview
558
+ products: Products
559
+ promotions: Promotions
560
+ promotion_categories: Promotion Categories
561
+ properties: Properties
562
+ prototypes: Prototypes
563
+ reports: Reports
564
+ navigation: Navigation
565
+ taxonomies: Taxonomies
566
+ taxons: Taxons
567
+ users: Users
568
+ return_authorizations: Return Authorizations
569
+ customer_returns: Customer Returns
570
+ order:
571
+ events:
572
+ approve: approve
573
+ cancel: cancel
574
+ resume: resume
575
+ resend: Resend
576
+ orders:
577
+ cart: Cart
578
+ return_authorization:
579
+ product: Product
580
+ user:
581
+ account: Account
582
+ addresses: Addresses
583
+ items: Items
584
+ items_purchased: Items Purchased
585
+ order_history: Order History
586
+ order_num: "Order #"
587
+ orders: Orders
588
+ user_information: User Information
589
+ stores: Stores
590
+ store_credits: Store Credits
591
+ no_store_credit: User has no Store Credit available.
592
+ available_store_credit: User has %{amount} in Store Credit available.
593
+ navigation:
594
+ all_menus: All Menus
595
+ add_new_menu: Add New Menu
596
+ add_new_item: 'Add New Item'
597
+ code: Code
598
+ default_menus_info:
599
+ title: Default Menus
600
+ body: "Default menus are menus whose language matches the associated store's default language.<br><br>
601
+ <h5>Example</h5>If you have a store that uses Spanish as the default language but also offers the options of German and French; your default header menu for this store would be set to use <b>Español (es)</b> for the language and <b>Header</b> as the location.<br><br>
602
+ <h5>Why Are Default Menus Important?</h5> Default menus are displayed to your visitor if no menu is available in the current language they are browsing. It is recommended that you create a default menu for each menu location within each store.<br><br>
603
+ <h5>More Information</h5>To learn more about menus, view the official Harpiya user documentation by <a href='https://guides.harpiyacommerce.org/user/navigation/building_the_main_menu.html' target='_blank' class='alert-link'>clicking here</a>."
604
+ allow_this_menu_item_to_contain_nested_menu_items: Allow this Menu Item to contain nested items
605
+ back_to_all_menus: Back To All Menus
606
+ click_create_to_load_new_link: 'Click the <b>Create</b> button below to change the link field.'
607
+ click_update_to_load_new_link: 'Click the <b>Update</b> button below to change the link field.'
608
+ give_your_menu_a_unique_name: 'Use the unique code to identify your menu: harpiya-eu-main'
609
+ link_settings: Link Settings
610
+ link_to: Link To
611
+ image_alt_text: Add alt text to your image
612
+ image_asset: Add a Promotion image or Link icon.
613
+ move_could_not_be_saved: 'ERROR: This move could not be saved.'
614
+ new_menu_item: New Menu Item
615
+ new_menu: New Menu
616
+ nested_under: Nested under
617
+ no_menu_items: '<b>%{menu}</b> has no items. Click the <b>Add New Item</b> button to begin adding links to this menu.'
618
+ nested_under_info: Quickly nest your Menu Item if you already know where it needs to be.
619
+ item_type: Item Type
620
+ image_info: '<b>NOTE:</b> You can attach an image to any menu item, but your image will only be displayed in the main menu when nested inside a container with the code <b>promo</b>.<br><br> For best results use images with a width of 540px and height of 350px.'
621
+ open_link_in_new_window: Open this link in a new window
622
+ menu_item_type_container_message: "Containers are menu items that do not link to a destination. If you are building the Harpiya Main Menu
623
+ create containers with the code: <b>category</b> or <b>promo</b>, and then nest your links inside these containers build out your menu.
624
+ <br><br> For an indepth guide to building the main menu see the documenttation page <a href='https://guides.harpiyacommerce.org/user/navigation/building_the_main_menu.html' target='_blank' class='alert-link'>Building The Main Menu</a>"
625
+ menus: Menus
626
+ menu_items: '%{menu_name} Items'
627
+ public_details: Public Details
628
+ subtitle: Subtitle
629
+ url_info: 'The URL field can link to an external website using <b>https://example.com</b>, link to an otherwise unreachable internal path using <b>/policies/privacy</b>,
630
+ launch an email client using <b>mailto:sales@example.com</b> or used to create a clickable phone number with <b>tel:123456789</b>'
631
+ seach_for_a_product: Search for a Product
632
+ seach_for_a_taxon: Search for a Taxon
633
+ settings: Settings
634
+ set_a_code: "Adding a code is optional but can be useful if you need to identify this menu item. When building
635
+ the Harpiya main menu use the code <b>category</b> or <b>promo</b> to create the containers that organize links and promotions appropriately. To learn more view the documentation by <a href='https://guides.harpiyacommerce.org/user/navigation/add_menu_items.html' target='_blank' class='alert-link'>clicking here</a>."
636
+ type: Type
637
+ used_in: Used In
638
+ you_have_no_menus: You have no Menus, click the Add New Menu button to create your first Menu.
639
+ this_link_takes_you_to_your_stores_home_page: This link takes you to your stores home page.
640
+ administration: Administration
641
+ advertise: Advertise
642
+ agree_to_privacy_policy: Agree to Privacy Policy
643
+ agree_to_terms_of_service: Agree to Terms of Service
644
+ all: All
645
+ all_adjustments_closed: All adjustments successfully closed!
646
+ all_adjustments_opened: All adjustments successfully opened!
647
+ all_departments: All departments
648
+ all_items_have_been_returned: All items have been returned
649
+ all_rights_reserved: All rights reserved
650
+ already_have_account: Already have an account?
651
+ alt_text: Alternative Text
652
+ alternative_phone: Alternative Phone
653
+ amount: Amount
654
+ and: and
655
+ approve: approve
656
+ approver: Approver
657
+ approved_at: Approved at
658
+ are_you_sure: Are you sure?
659
+ are_you_sure_delete: Are you sure you want to delete this record?
660
+ associated_adjustment_closed: The associated adjustment is closed, and will not be recalculated. Do you want to open it?
661
+ at_symbol: '@'
662
+ authorization_failure: Authorization Failure
663
+ authorized: Authorized
664
+ auto_capture: Auto Capture
665
+ availability: availability
666
+ available_on: Available On
667
+ available: Available
668
+ average_order_value: Average Order Value
669
+ avs_response: AVS Response
670
+ back: Back
671
+ back_end: Backend
672
+ backordered: Backordered
673
+ back_to_resource_list: 'Back To %{resource} List'
674
+ back_to_payment: Back To Payment
675
+ back_to_rma_reason_list: Back To RMA Reason List
676
+ back_to_store: Back to Store
677
+ back_to_users_list: Back To Users List
678
+ backorderable: Backorderable
679
+ backorderable_default: Backorderable default
680
+ backorders_allowed: backorders allowed
681
+ balance_due: Balance Due
682
+ base_amount: Base Amount
683
+ base_percent: Base Percent
684
+ basic_information: Basic Information
685
+ bill_address: Bill Address
686
+ billing: Billing
687
+ billing_address: Billing Address
688
+ both: Both
689
+ breadcrumbs: Breadcrumbs
690
+ calculated_reimbursements: Calculated Reimbursements
691
+ calculator: Calculator
692
+ calculator_settings_warning: If you are changing the calculator type, you must save first before you can edit the calculator settings
693
+ call_us_now: 'Call us now: '
694
+ cancel: cancel
695
+ canceled: Canceled
696
+ canceler: Canceler
697
+ canceled_at: Canceled at
698
+ cannot_empty_completed_order: Order has already been processed so it cannot be emptied
699
+ cannot_create_payment_without_payment_methods: You cannot create a payment for an order without any payment methods defined.
700
+ cannot_create_customer_returns: Cannot create customer returns as this order has no shipped units.
701
+ cannot_create_returns: Cannot create returns as this order has no shipped units.
702
+ cannot_perform_operation: Cannot perform requested operation
703
+ cannot_return_more_than_bought_quantity: Cannot return more than bought quantity.
704
+ cannot_set_shipping_method_without_address: Cannot set shipping method until customer details are provided.
705
+ capture: Capture
706
+ capture_events: Capture events
707
+ card_code: Card Varification Code (CVC)
708
+ card_number: Card Number
709
+ card_type: Brand
710
+ card_type_is: Card type is
711
+ cart: Cart
712
+ cart_page:
713
+ add_promo_code: ADD PROMO CODE
714
+ change_quantity: Change quantity
715
+ checkout: checkout
716
+ empty_info: 'Your cart is empty.'
717
+ header: Your shopping cart
718
+ product: product
719
+ quantity: quantity
720
+ remove_from_cart: Remove from cart
721
+ title: Shopping Cart
722
+ cart_subtotal:
723
+ one: 'Subtotal (1 item)'
724
+ other: 'Subtotal (%{count} items)'
725
+ categories: Categories
726
+ category: Category
727
+ category_nav_bar:
728
+ get_up_to_30_percent_off: GET UP TO 30% OFF
729
+ jackets_and_coats: JACKET & COASTS
730
+ new_collection: NEW COLLECTION
731
+ special_offers: SPECIAL OFFERS
732
+ channel: Channel
733
+ charged: Charged
734
+ checkout: Checkout
735
+ checkout_page:
736
+ main_navigation: Main navigation
737
+ checkout_navigation: Checkout navigation
738
+ back_to_cart: back to cart
739
+ delivery_method: delivery method
740
+ header: Checkout
741
+ product: Product
742
+ choose_a_customer: Choose a customer
743
+ choose_a_taxon_to_sort_products_for: "Choose a taxon to sort products for"
744
+ choose_currency: Choose Currency
745
+ choose_dashboard_locale: Choose Dashboard Locale
746
+ choose_location: Choose location
747
+ city: City
748
+ clear_cache: Clear Cache
749
+ clear_cache_ok: Cache was flushed
750
+ clear_cache_warning: Clearing cache will temporarily reduce the performance of your store.
751
+ click_and_drag_on_the_products_to_sort_them: Click and drag on the products to sort them.
752
+ clone: Clone
753
+ close: Close
754
+ close_all_adjustments: Close All Adjustments
755
+ code: Code
756
+ company: Company
757
+ compare_at_price: Compare at price
758
+ complete: complete
759
+ configuration: Configuration
760
+ configurations: Configurations
761
+ confirm: Confirm
762
+ confirm_delete: Confirm Deletion
763
+ confirm_password: Password Confirmation
764
+ contact_phone: Contact phone
765
+ contact_us: Contact us
766
+ continue: Continue
767
+ continue_as_guest: Continue as a guest
768
+ continue_shopping: Continue shopping
769
+ cost_currency: Cost Currency
770
+ cost_price: Cost Price
771
+ could_not_create_customer_return: Could not create customer return
772
+ could_not_create_stock_movement: There was a problem saving this stock movement. Please try again.
773
+ count_on_hand: Count On Hand
774
+ countries: Countries
775
+ country: Country
776
+ country_based: Country Based
777
+ country_name: Name
778
+ country_names:
779
+ CA: Canada
780
+ FRA: France
781
+ ITA: Italy
782
+ US: United States of America
783
+ country_rule:
784
+ label: Choose must be shipped to this country
785
+ coupon: Coupon
786
+ coupon_code: Coupon code
787
+ coupon_code_apply: Apply
788
+ coupon_code_already_applied: The coupon code has already been applied to this order
789
+ coupon_code_applied: The coupon code was successfully applied to your order.
790
+ coupon_code_better_exists: The previously applied coupon code results in a better deal
791
+ coupon_code_expired: The coupon code is expired
792
+ coupon_code_max_usage: Coupon code usage limit exceeded
793
+ coupon_code_not_eligible: This coupon code is not eligible for this order
794
+ coupon_code_not_found: The coupon code you entered doesn't exist. Please try again.
795
+ coupon_code_removed: The coupon code was successfully removed from your order.
796
+ coupon_code_unknown_error: This coupon code could not be applied to the cart at this time.
797
+ create: Create
798
+ create_a_new_account: Create a new account
799
+ create_new_order: Create new order
800
+ create_reimbursement: Create reimbursement
801
+ created_at: Created At
802
+ created_by: Created By
803
+ credit: Credit
804
+ credit_card: Credit Card
805
+ credit_cards: Credit Cards
806
+ credit_owed: Credit Owed
807
+ credited: Credited
808
+ credits: Credits
809
+ currency: Currency
810
+ currencies: Currencies
811
+ currency_settings: Currency Settings
812
+ current: Current
813
+ current_promotion_usage: ! 'current usage: %{count}'
814
+ customer: Customer
815
+ customer_details: Customer Details
816
+ customer_details_updated: Customer Details Updated
817
+ customer_return: Customer Return
818
+ customer_returns: Customer Returns
819
+ customer_search: Customer Search
820
+ customer_support_email: Customer Support Email
821
+ new_order_notifications_email: New Order Notifications Email
822
+ cut: Cut
823
+ cvv: CVV
824
+ no_cc_type: N/A
825
+ cvv_response: CVV Response
826
+ date: Date
827
+ date_completed: Date Completed
828
+ date_picker:
829
+ # FlatPickr human friendly formatting
830
+ fpr_human_friendly_date_format: M j, Y
831
+ fpr_human_friendly_date_time_format: M j, Y at H:i
832
+ date_range: Date Range
833
+ default: Default
834
+ default_country_cannot_be_deleted: Default country cannot be deleted
835
+ default_currency: Default currency
836
+ default_refund_amount: Default Refund Amount
837
+ default_tax: Default Tax
838
+ default_tax_zone: Default Tax Zone
839
+ delete: Delete
840
+ deleted: Deleted
841
+ delete_from_taxon: Delete From Taxon
842
+ discontinued_variants_present: Some line items in this order have products that are no longer available.
843
+ delivery: Delivery
844
+ delivery_information: Delivery Information
845
+ depth: Depth
846
+ details: Details
847
+ description: Description
848
+ destination: Destination
849
+ destroy: Destroy
850
+ discount_amount: Discount Amount
851
+ discontinue_on: Discontinue On
852
+ discontinued: Discontinued
853
+ dismiss_banner: No. Thanks! I'm not interested, do not display this message again
854
+ display: Display
855
+ doesnt_track_inventory: It doesn't track inventory
856
+ dont_have_account: No account?
857
+ edit: Edit
858
+ editing_resource: 'Editing %{resource}'
859
+ editing_rma_reason: Editing RMA Reason
860
+ editing_user: Edit Your account
861
+ eligibility_errors:
862
+ messages:
863
+ has_excluded_product: Your cart contains a product that prevents this coupon code from being applied.
864
+ item_total_less_than: This coupon code can't be applied to orders less than %{amount}.
865
+ item_total_less_than_or_equal: This coupon code can't be applied to orders less than or equal to %{amount}.
866
+ item_total_more_than: This coupon code can't be applied to orders higher than %{amount}.
867
+ item_total_more_than_or_equal: This coupon code can't be applied to orders higher than or equal to %{amount}.
868
+ limit_once_per_user: This coupon code can only be used once per user.
869
+ missing_product: This coupon code can't be applied because you don't have all of the necessary products in your cart.
870
+ missing_taxon: You need to add a product from all applicable categories before applying this coupon code.
871
+ no_applicable_products: You need to add an applicable product before applying this coupon code.
872
+ no_matching_taxons: You need to add a product from an applicable category before applying this coupon code.
873
+ no_user_or_email_specified: You need to login or provide your email before applying this coupon code.
874
+ no_user_specified: You need to login before applying this coupon code.
875
+ not_first_order: This coupon code can only be applied to your first order.
876
+ email: Email
877
+ empty: Empty
878
+ empty_cart: Empty Cart
879
+ enable_mail_delivery: Enable Mail Delivery
880
+ end: End
881
+ ends_at: Ends at
882
+ ending_at: Ending at
883
+ ending_in: Ending in
884
+ error: error
885
+ errors:
886
+ messages:
887
+ blank: can't be blank
888
+ could_not_create_taxon: Could not create taxon
889
+ no_shipping_methods_available: No shipping methods available for selected location, please change your address and try again.
890
+ cannot_remove_icon: Cannot remove image
891
+ services:
892
+ get_shipping_rates:
893
+ no_shipping_address: To generate Shipping Rates Order needs to have a Shipping Address
894
+ no_line_items: To generate Shipping Rates you need to add some Line Items to Order
895
+ errors_prohibited_this_record_from_being_saved:
896
+ one: 1 error prohibited this record from being saved
897
+ other: ! '%{count} errors prohibited this record from being saved'
898
+ error_user_destroy_with_orders: User associated with orders cannot be destroyed
899
+ event: Event
900
+ events:
901
+ harpiya:
902
+ cart:
903
+ add: Add to cart
904
+ checkout:
905
+ coupon_code_added: Coupon code added
906
+ content:
907
+ visited: Visit static content page
908
+ order:
909
+ contents_changed: Order contents changed
910
+ page_view: Static page viewed
911
+ user:
912
+ signup: User signup
913
+ exceptions:
914
+ count_on_hand_setter: Cannot set count_on_hand manually, as it is set automatically by the recalculate_count_on_hand callback. Please use `update_column(:count_on_hand, value)` instead.
915
+ exchange_for: Exchange for
916
+ expedited_exchanges_warning: "Any specified exchanges will ship to the customer immediately upon saving. The customer will be charged the full amount of the item if they do not return the original item within %{days_window} days."
917
+ excl: excl.
918
+ expiration: Expiration
919
+ expiration_date: Expiration Date
920
+ extension: Extension
921
+ extensions_directory: Extensions Directory
922
+ existing_shipments: Existing shipments
923
+ facebook: Facebook
924
+ failed_payment_attempts: Failed Payment Attempts
925
+ favicon: 'Favicon'
926
+ favicon_upload_info: "File format: PNG or ICO. File resolution: up to 256x256. File size: up to 1MB"
927
+ filename: Filename
928
+ fill_in_customer_info: Please fill in customer info
929
+ filter: Filter
930
+ filterable: Filterable
931
+ filter_results: Filter Results
932
+ finalize: Finalize
933
+ find_a_taxon: Find a Taxon
934
+ finalized: Finalized
935
+ first_item: First Item
936
+ first_name: First Name
937
+ firstname: First Name
938
+ first_name_begins_with: First Name Begins With
939
+ flat_percent: Flat Percent
940
+ flat_rate_per_order: Flat Rate
941
+ flexible_rate: Flexible Rate
942
+ follow_us: Follow us
943
+ footer: Footer
944
+ forgot_password: Forgot password?
945
+ free: Free
946
+ free_shipping: Free Shipping
947
+ free_shipping_amount: "-"
948
+ front_end: Front End
949
+ gateway: Gateway
950
+ gateway_error: Gateway Error
951
+ general: General
952
+ general_settings: General Settings
953
+ generate_code: Generate coupon code
954
+ get_back_to_the: Get back to the
955
+ go_to_category: Go to category
956
+ go_to_facebook: Go to facebook
957
+ go_to_homepage: Go to Home Page
958
+ go_to_instagram: Go to instagram
959
+ go_to_twitter: Go to twitter
960
+ guest_checkout: Guest Checkout
961
+ guest_user_account: Checkout as a Guest
962
+ has_no_shipped_units: has no shipped units
963
+ header_banner: Header banner
964
+ height: Height
965
+ hide_from_subcategories_nav: Hide from subcategories navigation
966
+ home: Home
967
+ home_page: homepage
968
+ help_center: Help Center
969
+ i18n:
970
+ available_locales: Available Locales
971
+ fields: Fields
972
+ language: Language
973
+ country: Country
974
+ default_country: Default Country
975
+ localization_settings: Localization Settings
976
+ only_incomplete: Only incomplete
977
+ only_complete: Only complete
978
+ select_locale: Select locale
979
+ show_only: Show only
980
+ supported_locales: Supported Locales
981
+ this_file_language: English (US)
982
+ translations: Translations
983
+ icon: Icon
984
+ image: Image
985
+ images: Images
986
+ implement_eligible_for_return: "Must implement #eligible_for_return? for your EligibilityValidator."
987
+ implement_requires_manual_intervention: "Must implement #requires_manual_intervention? for your EligibilityValidator."
988
+ in_stock: In Stock
989
+ inactive: Inactive
990
+ incl: incl.
991
+ included_in_price: Included in Price
992
+ included_price_validation: cannot be selected unless you have set a Default Tax Zone
993
+ incomplete: Incomplete
994
+ info_product_has_multiple_skus: "This product has %{count} variants:"
995
+ info_number_of_skus_not_shown:
996
+ one: "and one other"
997
+ other: "and %{count} others"
998
+ instagram: Instagram
999
+ instructions_to_reset_password: Please enter your email on the form below
1000
+ insufficient_stock: Insufficient stock available, only %{on_hand} remaining
1001
+ insufficient_stock_item_quantity: Insufficient stock quantity available
1002
+ insufficient_stock_lines_present: Some line items in this order have insufficient quantity.
1003
+ intercept_email_address: Intercept Email Address
1004
+ intercept_email_instructions: Override email recipient and replace with this address.
1005
+ internal_name: Internal Name
1006
+ internationalization: Internationalization
1007
+ invalid_credit_card: Invalid credit card.
1008
+ invalid_exchange_variant: Invalid exchange variant.
1009
+ invalid_payment_provider: Invalid payment provider.
1010
+ invalid_promotion_action: Invalid promotion action.
1011
+ invalid_promotion_rule: Invalid promotion rule.
1012
+ inventory: Inventory
1013
+ inventory_adjustment: Inventory Adjustment
1014
+ inventory_error_flash_for_insufficient_quantity: An item in your cart has become unavailable.
1015
+ inventory_state: Inventory State
1016
+ is_not_available_to_shipment_address: is not available to shipment address
1017
+ iso: ISO Alpha-2
1018
+ iso3: ISO Alpha-3
1019
+ iso_name: ISO Name
1020
+ issued_on: Issued On
1021
+ item: Item
1022
+ item_description: Item Description
1023
+ item_total: Item Total
1024
+ item_total_rule:
1025
+ operators:
1026
+ gt: greater than
1027
+ gte: greater than or equal to
1028
+ lt: less than
1029
+ lte: less than or equal to
1030
+ items_cannot_be_shipped: We are unable to calculate shipping rates for the selected items.
1031
+ items_in_rmas: Items in Return Authorizations
1032
+ items_to_be_reimbursed: Items to be reimbursed
1033
+ items_reimbursed: Items reimbursed
1034
+ join_slack: Join Slack
1035
+ language: Language
1036
+ last_name: Last Name
1037
+ lastname: Last Name
1038
+ last_name_begins_with: Last Name Begins With
1039
+ learn_more: Learn More
1040
+ lifetime_stats: Lifetime Stats
1041
+ limit_usage_to: Limit usage to
1042
+ line_item_adjustments: "Line item adjustments"
1043
+ list: List
1044
+ loading: Loading
1045
+ loading_tree: Loading tree. Please wait…
1046
+ locale_changed: Locale Changed
1047
+ location: Location
1048
+ lock: Lock
1049
+ log_entries: "Log Entries"
1050
+ log_in: Log in
1051
+ log_in_to_continue: Log in to continue
1052
+ logs: "Logs"
1053
+ logged_in_as: Logged in as
1054
+ logged_in_succesfully: Logged in successfully
1055
+ logged_out: You have been logged out.
1056
+ login: Login
1057
+ login_as_existing: Login as Existing Customer
1058
+ login_failed: Login authentication failed.
1059
+ login_name: Login
1060
+ logo: Logo
1061
+ logo_alt: Brand logo
1062
+ logout: Logout
1063
+ look_for_similar_items: Look for similar items
1064
+ make_refund: Make refund
1065
+ make_sure_the_above_reimbursement_amount_is_correct: Make sure the above reimbursement amount is correct
1066
+ mail_from_address: Mail from address
1067
+ mailer_logo: Mailer logo (JPG or PNG images only)
1068
+ manage_promotion_categories: Manage Promotion Categories
1069
+ manual_intervention_required: Manual intervention required
1070
+ manage_variants: Manage Variants
1071
+ master: Master
1072
+ master_price: Master Price
1073
+ master_sku: Master SKU
1074
+ match_choices:
1075
+ all: All
1076
+ none: None
1077
+ max: 'Max'
1078
+ max_items: Max Items
1079
+ member_since: Member Since
1080
+ memo: Memo
1081
+ meta_description: Meta Description
1082
+ meta_keywords: Meta Keywords
1083
+ meta_title: Meta Title
1084
+ metadata: Metadata
1085
+ mutable: Mutable
1086
+ min: 'Min'
1087
+ minimal_amount: Minimal Amount
1088
+ missing_return_authorization: ! 'Missing Return Authorization for %{item_name}.'
1089
+ month: Month
1090
+ more: More
1091
+ move_stock_between_locations: Move Stock Between Locations
1092
+ my_account: My Account
1093
+ my_orders: My Orders
1094
+ name: Name
1095
+ name_on_card: Name on card
1096
+ name_or_sku: Name or SKU (enter at least first 3 characters of product name)
1097
+ nav_bar:
1098
+ admin_panel: Admin Panel
1099
+ change_country: Change country
1100
+ close_menu: Close menu
1101
+ go_to_previous_menu: Go to previous menu
1102
+ log_in: LOG IN
1103
+ log_out: LOG OUT
1104
+ my_account: MY ACCOUNT
1105
+ my_orders: MY ORDERS
1106
+ show_menu: Show menu
1107
+ show_search: Show search
1108
+ show_user_menu: Show user menu
1109
+ sign_up: SIGN UP
1110
+ desktop: Desktop navigation
1111
+ mobile: Mobile navigation
1112
+ new: New
1113
+ new_adjustment: New Adjustment
1114
+ new_customer: Create new account
1115
+ new_customer_return: New Customer Return
1116
+ new_country: New Country
1117
+ new_image: New Image
1118
+ new_option_type: New Option Type
1119
+ new_order: New Order
1120
+ new_order_completed: New Order Completed
1121
+ new_payment: New Payment
1122
+ new_payment_method: New Payment Method
1123
+ new_product: New Product
1124
+ new_promotion: New Promotion
1125
+ new_promotion_category: New Promotion Category
1126
+ new_property: New Property
1127
+ new_prototype: New Prototype
1128
+ new_refund: New Refund
1129
+ new_refund_reason: New Refund Reason
1130
+ new_reimbursement_type: New Reimbursement Type
1131
+ new_rma_reason: New RMA Reason
1132
+ new_return_authorization: New Return Authorization
1133
+ new_role: New Role
1134
+ new_shipping_category: New Shipping Category
1135
+ new_shipping_method: New Shipping Method
1136
+ new_shipment_at_location: New shipment at location
1137
+ new_state: New State
1138
+ new_stock_location: New Stock Location
1139
+ new_stock_movement: New Stock Movement
1140
+ new_stock_transfer: New Stock Transfer
1141
+ new_store_credit: New Store Credit
1142
+ new_store_credit_category: New Store Credit Category
1143
+ new_tax_category: New Tax Category
1144
+ new_tax_rate: New Tax Rate
1145
+ new_taxon: New Taxon
1146
+ new_taxonomy: New Taxonomy
1147
+ new_tracker: New Tracker
1148
+ new_user: New User
1149
+ new_variant: New Variant
1150
+ new_zone: New Zone
1151
+ next: Next
1152
+ no_actions_added: No actions added
1153
+ no_address_given: No address given
1154
+ no_available_date_set: No available date set
1155
+ no_country: No country set
1156
+ no_payment_found: No payment found
1157
+ no_payment_provider_settings_message: This payment provider has no custom settings available
1158
+ no_pending_payments: No pending payments
1159
+ no_product_available:
1160
+ for_this_quantity: Sorry, it looks like some products are not available in selected quantity.
1161
+ opps: Oops!
1162
+ no_products_found: No products found
1163
+ no_results: No results
1164
+ no_rules_added: No rules added
1165
+ no_resource_found: 'No %{resource} found'
1166
+ no_returns_found: No returns found
1167
+ no_shipping_method_selected: No shipping method selected.
1168
+ no_state_changes: No state changes yet.
1169
+ no_tracking_present: No tracking details provided.
1170
+ user_not_found: User not found
1171
+ none: None
1172
+ none_selected: None Selected
1173
+ normal_amount: Normal Amount
1174
+ not: not
1175
+ not_available: N/A
1176
+ not_enough_stock: There is not enough inventory at the source location to complete this transfer.
1177
+ not_found: ! '%{resource} is not found'
1178
+ note: Note
1179
+ notice_messages:
1180
+ icon_removed: Image has been successfully removed
1181
+ prices_saved: Prices successfully saved
1182
+ product_cloned: Product has been cloned
1183
+ product_deleted: Product has been deleted
1184
+ product_not_cloned: "Product could not be cloned. Reason: %{error}"
1185
+ product_not_deleted: "Product could not be deleted. Reason: %{error}"
1186
+ variant_deleted: Variant has been deleted
1187
+ variant_not_deleted: "Variant could not be deleted. Reason: %{error}"
1188
+ num_orders: "# Orders"
1189
+ number: Number
1190
+ ok: OK
1191
+ on_hand: On Hand
1192
+ open: Open
1193
+ open_all_adjustments: Open All Adjustments
1194
+ option_type: Option Type
1195
+ option_type_filterable_info: 'When an option type is set to Filterable, your storefront visitors are presented with the option to filter a taxon of products based on the option type. A typical example of this would be to filter clothing by size and color.<br><br><b>Please Note:</b> Filters will only be visible in the storefront taxons that contain products with this option type set.'
1196
+ option_type_placeholder: Choose an option type
1197
+ option_types: Option Types
1198
+ option_value: Option Value
1199
+ option_values: Option Values
1200
+ optional: Optional
1201
+ options: Options
1202
+ or: or
1203
+ or_over_price: ! '%{price} or over'
1204
+ order: Order
1205
+ order_adjustments: Order adjustments
1206
+ order_already_updated: The order has already been updated.
1207
+ order_approved: Order approved
1208
+ order_canceled: Order canceled
1209
+ order_details: Order Details
1210
+ order_email_resent: Order Email Resent
1211
+ order_information: Order Information
1212
+ order_line_items: Order Line Items
1213
+ order_mailer:
1214
+ subtotal: ! 'Subtotal:'
1215
+ total: ! 'Order Total:'
1216
+ store_team: '%{store_name} Team'
1217
+ cancel_email:
1218
+ dear_customer: Dear %{name},
1219
+ instructions: Your order has been CANCELED. Please retain this cancellation information for your records.
1220
+ order_summary_canceled: Order %{number} Summary [CANCELED]
1221
+ subject: Cancellation of Order
1222
+ thanks: Thank you for your business.
1223
+ confirm_email:
1224
+ dear_customer: Dear %{name},
1225
+ instructions: Please review and retain the following order information for your records.
1226
+ order_summary: Order %{number} Summary
1227
+ subject: Order Confirmation
1228
+ thanks: Thank you for your business.
1229
+ store_owner_notification_email:
1230
+ heading: New Order Received
1231
+ instructions: You have received a new order.
1232
+ order_summary: Order %{number} Summary
1233
+ subject: '%{store_name} received a new order'
1234
+ thanks: Thank you for your business.
1235
+ order_not_found: We couldn't find your order. Please try that action again.
1236
+ order_number: Order %{number}
1237
+ order_processed_successfully: Your order has been processed successfully
1238
+ order_resumed: Order resumed
1239
+ order_state:
1240
+ address: address
1241
+ awaiting_return: awaiting return
1242
+ canceled: canceled
1243
+ cart: cart
1244
+ considered_risky: considered risky
1245
+ complete: complete
1246
+ confirm: confirm
1247
+ delivery: delivery
1248
+ payment: payment
1249
+ resumed: resumed
1250
+ returned: returned
1251
+ order_success: Order placed successfully
1252
+ order_success_explain: Your order information will be sent to your email
1253
+ order_summary: Order Summary
1254
+ order_sure_want_to: Are you sure you want to %{event} this order?
1255
+ order_total: Order Total
1256
+ order_updated: Order Updated
1257
+ orders: Orders
1258
+ out_of_stock: Out of Stock
1259
+ backordered_info: Backordered
1260
+ backordered_confirm_info: Selected item is backordered so expect delays. Are you sure you want to order it?
1261
+ overview: Overview
1262
+ package_from: package from
1263
+ page_not_found: Sorry! Page you are looking can’t be found.
1264
+ pagination:
1265
+ next_page: next page &raquo;
1266
+ previous_page: ! '&laquo; previous page'
1267
+ truncate: ! '&hellip;'
1268
+ password: Password
1269
+ paste: Paste
1270
+ path: Path
1271
+ pay: pay
1272
+ payment: Payment
1273
+ payment_could_not_be_created: Payment could not be created.
1274
+ payment_identifier: Payment Identifier
1275
+ payment_information: Payment Information
1276
+ payment_method: Payment Method
1277
+ payment_methods: Payment Methods
1278
+ payment_method_not_supported: That payment method is unsupported. Please choose another one.
1279
+ payment_processing_failed: Payment could not be processed, please check the details you entered
1280
+ payment_processor_choose_banner_text: If you need help choosing a payment processor, please visit
1281
+ payment_processor_choose_link: our payments page
1282
+ payment_provider_settings: Payment Provider Settings
1283
+ payment_state: Payment State
1284
+ payment_states:
1285
+ balance_due: balance due
1286
+ checkout: checkout
1287
+ completed: completed
1288
+ credit_owed: credit owed
1289
+ failed: failed
1290
+ paid: paid
1291
+ pending: pending
1292
+ processing: processing
1293
+ void: void
1294
+ payment_type: Payment type
1295
+ payment_updated: Payment Updated
1296
+ payments: Payments
1297
+ pdp:
1298
+ checkout: Checkout
1299
+ description: Description
1300
+ details: Details
1301
+ products_included_in_promotion: Products included in the promotion
1302
+ quantity: Quantity
1303
+ view_cart: View cart
1304
+ you_may_also_like: You may also like
1305
+ percent: Percent
1306
+ percent_per_item: Percent Per Item
1307
+ permalink: Permalink
1308
+ pending: Pending
1309
+ pending_sale: Pending Sale
1310
+ phone: Phone
1311
+ place_order: Place Order
1312
+ please_define_payment_methods: Please define some payment methods first.
1313
+ please_enter_reasonable_quantity: Please enter a reasonable quantity.
1314
+ plp:
1315
+ best_selling: BEST SELLING
1316
+ clear_all: CLEAR ALL
1317
+ collection: COLLECTION
1318
+ color: COLOR
1319
+ done: DONE
1320
+ default: DEFAULT
1321
+ filter_by: FILTER BY
1322
+ newest_first: NEWEST FIRST
1323
+ no_results: No results
1324
+ no_results_found: No results found
1325
+ not_found_filters1: We couldn’t find a match for these filters.
1326
+ not_found_filters2: Please try another choose.
1327
+ not_found_text1: We couldn’t find products for '%{keywords}'.
1328
+ not_found_text2: Please try another search.
1329
+ price: price
1330
+ price_high_to_low: PRICE (HIGH - LOW)
1331
+ price_low_to_high: PRICE (LOW - HIGH)
1332
+ name_a_z: NAME (A-Z)
1333
+ name_z_a: NAME (Z-A)
1334
+ result: RESULT
1335
+ results_for: RESULTS FOR
1336
+ size: SIZE
1337
+ sort_by: SORT BY
1338
+ top_sellers: TOP SELLERS
1339
+ type: TYPE
1340
+ populate_get_error: Something went wrong. Please try adding the item again.
1341
+ powered_by: Powered by
1342
+ pre_tax_refund_amount: Pre-Tax Refund Amount
1343
+ pre_tax_amount: Pre-Tax Amount
1344
+ pre_tax_total: Pre-Tax Total
1345
+ preferred_reimbursement_type: Preferred Reimbursement Type
1346
+ presentation: Presentation
1347
+ preview_product: Preview Product
1348
+ preview_taxon: Preview Taxon
1349
+ previous: Previous
1350
+ previous_state_missing: "n/a"
1351
+ previously_used_card: Previously Used Cards
1352
+ price: Price
1353
+ prices: Prices
1354
+ price_range: Price Range
1355
+ price_sack: Price Sack
1356
+ process: Process
1357
+ product: Product
1358
+ product_name: Product Name
1359
+ product_details: Product Details
1360
+ product_has_no_description: This product has no description
1361
+ product_not_available_in_this_currency: This product is not available in the selected currency.
1362
+ product_properties: Product Properties
1363
+ product_rule:
1364
+ choose_products: Choose products
1365
+ label: Order must contain x amount of these products
1366
+ match_all: all
1367
+ match_any: at least one
1368
+ match_none: none
1369
+ product_source:
1370
+ group: From product group
1371
+ manual: Manually choose
1372
+ products: Products
1373
+ promotion: Promotion
1374
+ promotionable: Promotable
1375
+ promotion_cloned: Promotion has been cloned
1376
+ promotion_not_cloned: "Promotion has not been cloned. Reason: %{error}"
1377
+ promotion_action: Promotion Action
1378
+ promotion_action_types:
1379
+ create_adjustment:
1380
+ description: Creates a promotion credit adjustment on the order
1381
+ name: Create whole-order adjustment
1382
+ create_item_adjustments:
1383
+ description: Creates a promotion credit adjustment on a line item
1384
+ name: Create per-line-item adjustment
1385
+ create_line_items:
1386
+ description: Populates the cart with the specified quantity of variant
1387
+ name: Create line items
1388
+ free_shipping:
1389
+ description: Makes all shipments for the order free
1390
+ name: Free shipping
1391
+ promotion_actions: Actions
1392
+ promotion_category: Promotion Category
1393
+ promotion_form:
1394
+ match_policies:
1395
+ all: Match all of these rules
1396
+ any: Match any of these rules
1397
+ promotion_label: 'Promotion (%{name})'
1398
+ promotion_rule: Promotion Rule
1399
+ promotion_rule_types:
1400
+ country:
1401
+ description: Order is shipped to proper (or default) country
1402
+ name: Country
1403
+ first_order:
1404
+ description: Must be the customer's first order
1405
+ name: First order
1406
+ item_total:
1407
+ description: Order total meets these criteria
1408
+ name: Item total
1409
+ one_use_per_user:
1410
+ description: Only One Use Per User
1411
+ name: One Use Per User
1412
+ option_value:
1413
+ description: Order includes specified product(s) with matching option value(s)
1414
+ name: Option Value(s)
1415
+ product:
1416
+ description: Order includes specified product(s)
1417
+ name: Product(s)
1418
+ user:
1419
+ description: Available only to the specified users
1420
+ name: User
1421
+ user_logged_in:
1422
+ description: Available only to logged in users
1423
+ name: User Logged In
1424
+ taxon:
1425
+ description: Order includes products with specified taxon(s)
1426
+ name: Taxon(s)
1427
+ promotions: Promotions
1428
+ promotion_uses: Promotion uses
1429
+ propagate_all_variants: Propagate all variants
1430
+ properties: Properties
1431
+ property: Property
1432
+ prototype: Prototype
1433
+ prototypes: Prototypes
1434
+ provider: Provider
1435
+ provider_settings_warning: If you are changing the provider type, you must save first before you can edit the provider settings
1436
+ purchased_quantity: Purchased Quantity
1437
+ qty: Qty
1438
+ quantity: Quantity
1439
+ quantity_returned: Quantity Returned
1440
+ quantity_shipped: Quantity Shipped
1441
+ quick_search: Quick search..
1442
+ rate: Rate
1443
+ reason: Reason
1444
+ receive: receive
1445
+ receive_stock: Receive Stock
1446
+ received: Received
1447
+ reception_status: Reception Status
1448
+ reference: Reference
1449
+ reference_contains: Reference Contains
1450
+ refund: Refund
1451
+ refund_reasons: Refund Reasons
1452
+ refunded_amount: Refunded Amount
1453
+ refunds: Refunds
1454
+ refund_amount_must_be_greater_than_zero: Refund amount must be greater than zero
1455
+ register: Register
1456
+ registration: Registration
1457
+ reimburse: Reimburse
1458
+ reimbursed: Reimbursed
1459
+ reimbursement: Reimbursement
1460
+ reimbursement_perform_failed: "Reimbursement could not be performed. Error: %{error}"
1461
+ reimbursement_status: Reimbursement status
1462
+ reimbursement_type: Reimbursement type
1463
+ reimbursement_type_override: Reimbursement Type Override
1464
+ reimbursement_types: Reimbursement Types
1465
+ reimbursements: Reimbursements
1466
+ reject: Reject
1467
+ rejected: Rejected
1468
+ remember_me: Remember me
1469
+ remove: Remove
1470
+ remove_image: Remove Image
1471
+ rename: Rename
1472
+ report: Report
1473
+ reports: Reports
1474
+ required: '*'
1475
+ required_fields: required fields
1476
+ resellable: Resellable
1477
+ resend: Resend
1478
+ reset_password: Reset my password
1479
+ response_code: Response Code
1480
+ resume: resume
1481
+ resumed: Resumed
1482
+ return: return
1483
+ returns: Returns
1484
+ return_authorization: Return Authorization
1485
+ return_authorization_reasons: Return Authorization Reasons
1486
+ return_authorization_states:
1487
+ authorized: Authorized
1488
+ canceled: Canceled
1489
+ return_authorization_updated: Return authorization updated
1490
+ return_authorization_canceled: Return authorization canceled
1491
+ return_authorizations: Return Authorizations
1492
+ return_item_inventory_unit_ineligible: Return item's inventory unit must be shipped
1493
+ return_item_inventory_unit_reimbursed: Return item's inventory unit is already reimbursed
1494
+ return_item_order_not_completed: Return item's order must be completed
1495
+ return_item_rma_ineligible: Return item requires an RMA
1496
+ return_item_time_period_ineligible: Return item is outside the eligible time period
1497
+ return_items: Return Items
1498
+ return_items_cannot_be_associated_with_multiple_orders: Return items cannot be associated with multiple orders.
1499
+ reimbursement_mailer:
1500
+ reimbursement_email:
1501
+ store_team: '%{store_name} Team'
1502
+ days_to_send: ! 'You have %{days} days to send back any items awaiting exchange.'
1503
+ dear_customer: Dear %{name},
1504
+ exchange_summary: Exchange Summary
1505
+ for: for
1506
+ instructions: Your reimbursement has been processed.
1507
+ refund_summary: Refund Summary
1508
+ subject: Reimbursement Notification
1509
+ total_refunded: ! 'Total refunded: %{total}'
1510
+ thanks: Thank you for your business.
1511
+ return_number: Return Number
1512
+ return_quantity: Return Quantity
1513
+ returned: Returned
1514
+ review: Review
1515
+ risk: Risk
1516
+ risk_analysis: Risk Analysis
1517
+ risky: Risky
1518
+ rma_credit: RMA Credit
1519
+ rma_number: RMA Number
1520
+ rma_value: RMA Value
1521
+ role_id: Role ID
1522
+ roles: Roles
1523
+ rules: Rules
1524
+ safe: Safe
1525
+ sales_total: Sales Total
1526
+ sales_total_description: Sales Total For All Orders
1527
+ sales_totals: Sales Totals
1528
+ save_and_continue: Save and Continue
1529
+ save_my_address: Save my address
1530
+ saving: Saving
1531
+ say_no: 'No'
1532
+ say_yes: 'Yes'
1533
+ scope: Scope
1534
+ search: Search
1535
+ search_by: 'Search by:'
1536
+ search_results: Search results for '%{keywords}'
1537
+ searching: Searching
1538
+ secure_connection_type: Secure Connection Type
1539
+ security_settings: Security Settings
1540
+ select: Select
1541
+ select_from_prototype: Select From Prototype
1542
+ select_a_date: Select a date
1543
+ select_a_date_range: Select a date range
1544
+ select_a_return_authorization_reason: Select a reason for the return authorization
1545
+ select_a_stock_location: Select a stock location
1546
+ select_a_store_credit_reason: Select a reason for the store credit
1547
+ select_an_option: Select an option
1548
+ select_stock: Select stock
1549
+ select_stores: Select Store(s)
1550
+ selected_quantity_not_available: ! 'selected of %{item} is not available.'
1551
+ send_copy_of_all_mails_to: Send Copy of All Mails To
1552
+ send_mails_as: Send Mails As
1553
+ seo: SEO
1554
+ seo_robots: SEO Robots
1555
+ seo_title: SEO Title
1556
+ server: Server
1557
+ server_error: The server returned an error
1558
+ settings: Settings
1559
+ ship: Ship
1560
+ ship_to: "Shipping to:"
1561
+ ship_address: Ship Address
1562
+ ship_total: Ship Total
1563
+ shipment: Shipment
1564
+ shipment_adjustments: "Shipment adjustments"
1565
+ shipment_details: "From %{stock_location} via %{shipping_method}"
1566
+ shipment_mailer:
1567
+ shipped_email:
1568
+ store_team: '%{store_name} Team'
1569
+ dear_customer: Dear %{name},
1570
+ instructions: Your order %{number} has been shipped
1571
+ shipment_summary: Shipment Summary for order
1572
+ shipping_method: "Shipping method: %{shipping_method}"
1573
+ subject: Shipment Notification
1574
+ thanks: Thank you for your business.
1575
+ track_information: ! 'Tracking Information: %{tracking}'
1576
+ track_link: "Tracking Link: %{url}"
1577
+ shipment_state: Shipment State
1578
+ shipment_states:
1579
+ backorder: backorder
1580
+ canceled: canceled
1581
+ partial: partial
1582
+ pending: pending
1583
+ ready: ready
1584
+ shipped: shipped
1585
+ shipment_transfer_success: 'Variants successfully transferred'
1586
+ shipment_transfer_error: 'There was an error transferring variants'
1587
+ shipments: Shipments
1588
+ shipped: Shipped
1589
+ shipping: Shipping
1590
+ shipping_address: Shipping Address
1591
+ shipping_categories: Shipping Categories
1592
+ shipping_category: Shipping Category
1593
+ shipping_flat_rate_per_item: Flat rate per package item
1594
+ shipping_flat_rate_per_order: Flat rate
1595
+ shipping_flexible_rate: Flexible Rate per package item
1596
+ shipping_instructions: Shipping Instructions
1597
+ shipping_method: Shipping Method
1598
+ shipping_methods: Shipping Methods
1599
+ shipping_price_sack: Price sack
1600
+ shipping_rates:
1601
+ display_price:
1602
+ including_tax: "%{price} (incl. %{tax_amount} %{tax_rate_name})"
1603
+ excluding_tax: "%{price} (+ %{tax_amount} %{tax_rate_name})"
1604
+ shipping_total: Shipping total
1605
+ shop_by_taxonomy: Shop by %{taxonomy}
1606
+ shopping_cart: Shopping Cart
1607
+ show: Show
1608
+ show_active: Show Active
1609
+ show_deleted: Show Deleted
1610
+ show_discontinued: Show Discontinued
1611
+ show_only_complete_orders: Only show complete orders
1612
+ show_only_considered_risky: Only show risky orders
1613
+ show_property: Show Property
1614
+ show_rate_in_label: Show rate in label
1615
+ show_store_selector:
1616
+ short: Show Store selector
1617
+ long: Display the Store selector in the main nav bar of Storefront and allow users to change Store and Currency
1618
+ sign_up: Sign Up
1619
+ sku: SKU
1620
+ skus: SKUs
1621
+ slug: Slug
1622
+ source: Source
1623
+ social: Social
1624
+ special_instructions: Special Instructions
1625
+ split: Split
1626
+ harpiya_gateway_error_flash_for_checkout: There was a problem with your payment information. Please check your information and try again.
1627
+ ssl:
1628
+ change_protocol: "Please switch to using HTTP (rather than HTTPS) and retry this request."
1629
+ start: Start
1630
+ starting_from: Starts at
1631
+ state: State
1632
+ state_based: State Based
1633
+ states: States
1634
+ state_machine_states:
1635
+ accepted: Accepted
1636
+ address: Address
1637
+ authorized: Authorized
1638
+ awaiting: Awaiting
1639
+ awaiting_return: Awaiting return
1640
+ backordered: Back ordered
1641
+ cart: Cart
1642
+ canceled: Canceled
1643
+ checkout: Checkout
1644
+ confirm: Confirm
1645
+ complete: Complete
1646
+ completed: Completed
1647
+ closed: Closed
1648
+ delivery: Delivery
1649
+ errored: Errored
1650
+ failed: Failed
1651
+ given_to_customer: Given to customer
1652
+ invalid: Invalid
1653
+ manual_intervention_required: Manual intervention required
1654
+ open: Open
1655
+ order: Order
1656
+ on_hand: On hand
1657
+ payment: Payment
1658
+ pending: Pending
1659
+ processing: Processing
1660
+ ready: Ready
1661
+ reimbursed: Reimbursed
1662
+ resumed: Resumed
1663
+ returned: Returned
1664
+ shipment: Shipment
1665
+ shipped: Shipped
1666
+ void: Void
1667
+ states_required: States Required
1668
+ status: Status
1669
+ stock: Stock
1670
+ stock_location: Stock Location
1671
+ stock_location_info: Stock location info
1672
+ stock_locations: Stock Locations
1673
+ stock_locations_need_a_default_country: You must create a default country before creating a stock location.
1674
+ stock_management: Stock Management
1675
+ stock_management_requires_a_stock_location: Please create a stock location in order to manage stock.
1676
+ stock_movements: Stock Movements
1677
+ stock_movements_for_stock_location: Stock Movements for %{stock_location_name}
1678
+ stock_successfully_transferred: Stock was successfully transferred between locations.
1679
+ stock_transfer_name: Stock Transfer
1680
+ stock_transfer:
1681
+ errors:
1682
+ must_have_variant: You must add at least one variant.
1683
+ variants_unavailable: "Some variants are not available on %{stock}"
1684
+ stock_transfers: Stock Transfers
1685
+ stop: Stop
1686
+ store: Store
1687
+ store_errors:
1688
+ unable_to_create: Unable to create store.
1689
+ unable_to_update: Unable to update store.
1690
+ unable_to_delete: Unable to delete store.
1691
+ store_form:
1692
+ code_help: "Store unique identifier, which is an abbreviated version of the store’s name (used as the layout directory name, and also helpful for separating templates by store)"
1693
+ checkout_zone_help: "Selecting zone will limit to which Countries or States products are shipped.
1694
+ For more information <a href='https://guides.harpiyacommerce.org/user/configuration/configuring_geography.html#zones' target='_blank' class='alert-link'>please see documentation</a>"
1695
+ locales_help: "Install <a href='https://github.com/harpiya-contrib/harpiya_i18n' target='_blank' class='alert-link'>Harpiya I18n extension</a> to add more locales"
1696
+ social_help: "If you want to link to your social accounts in the footer part of your website please fill below fields"
1697
+ default_country_help: "This is the Country that will be pre-selected on the Checkout Address form"
1698
+ footer_help: "This content is visible in the footer section of your Store"
1699
+ mail_from_address_help: "This is the email which will be the sender of all your Store emails (Order Confirmation, Shipment notification etc)"
1700
+ customer_support_email_help: "This email is visible to your Store visitors in the Footer section"
1701
+ new_order_notifications_email_help: "If you want to receive an email notification every time someone places an Order please provide an email address for that notification to be sent to"
1702
+ seo_robots: "Please check <a href='https://developers.google.com/search/reference/robots_meta_tag' target='_blank'>this page for more help</a>"
1703
+ stores: Stores
1704
+ store_credit_name: Store Credit
1705
+ store_credit:
1706
+ credit: "Credit"
1707
+ authorized: "Authorized"
1708
+ captured: "Used"
1709
+ allocated: "Added"
1710
+ apply: Apply
1711
+ remove: Remove
1712
+ applicable_amount: "<strong>%{amount}</strong> in store credit will be applied to this order."
1713
+ available_amount: "You have <strong>%{amount}</strong> in Store Credit available!"
1714
+ remaining_amount: "You have <strong>%{amount}</strong> remaining in your account's Store Credit."
1715
+ additional_payment_needed: Select another payment method for the remaining <strong>%{amount}</strong>.
1716
+ errors:
1717
+ cannot_change_used_store_credit: You cannot change a store credit that has already been used
1718
+ unable_to_create: Unable to create store credit
1719
+ unable_to_delete: Unable to delete store credit
1720
+ unable_to_fund: Unable to pay for order using store credits
1721
+ unable_to_update: Unable to update store credit
1722
+ store_credits: Store Credits
1723
+ store_credit_categories: Store Credit Categories
1724
+ store_credit_payment_method:
1725
+ unable_to_void: "Unable to void code: %{auth_code}"
1726
+ unable_to_credit: "Unable to credit code: %{auth_code}"
1727
+ successful_action: "Successful store credit %{action}"
1728
+ unable_to_find: "Could not find store credit"
1729
+ insufficient_funds: "Store credit amount remaining is not sufficient"
1730
+ currency_mismatch: "Store credit currency does not match order currency"
1731
+ insufficient_authorized_amount: "Unable to capture more than authorized amount"
1732
+ unable_to_find_for_action: "Could not find store credit for auth code: %{auth_code} for action: %{action}"
1733
+ user_has_no_store_credits: "User does not have any available store credit"
1734
+ select_one_store_credit: "Select store credit to go towards remaining balance"
1735
+ store_default: Default store
1736
+ store_set_default_button: Set as default
1737
+ store_not_set_as_default: Couldn't set store %{store} as a default store
1738
+ store_set_as_default: Store %{store} is now a default store
1739
+ street_address: Street Address
1740
+ street_address_2: Street Address (cont'd)
1741
+ subtotal: Subtotal
1742
+ subtract: Subtract
1743
+ success: Success
1744
+ successfully_created: ! '%{resource} has been successfully created!'
1745
+ successfully_refunded: ! '%{resource} has been successfully refunded!'
1746
+ successfully_removed: ! '%{resource} has been successfully removed!'
1747
+ successfully_updated: ! '%{resource} has been successfully updated!'
1748
+ summary: Summary
1749
+ support: Support
1750
+ supported_currencies: Supported Currencies
1751
+ supported_currencies_long: A comma separated list of supported currencies
1752
+ supported_locales: Supported Locales
1753
+ tax: Tax
1754
+ tax_included: "Tax (incl.)"
1755
+ tax_categories: Tax Categories
1756
+ tax_category: Tax Category
1757
+ tax_code: Tax Code
1758
+ tax_rate_amount_explanation: Tax rates are a decimal amount to aid in calculations, (i.e. if the tax rate is 5% then enter 0.05)
1759
+ tax_rates: Tax Rates
1760
+ taxon: Taxon
1761
+ taxon_edit: Edit Taxon
1762
+ taxon_placeholder: Add a Taxon
1763
+ tags: Tags
1764
+ tags_placeholder: Add Tags
1765
+ taxon_missing_alt: Category banner description
1766
+ taxon_rule:
1767
+ choose_taxons: Choose taxons
1768
+ label: Order must contain x amount of these taxons
1769
+ match_all: all
1770
+ match_any: at least one
1771
+ taxonomies: Taxonomies
1772
+ taxonomy: Taxonomy
1773
+ taxonomy_brands_name: Brands
1774
+ taxonomy_categories_name: Categories
1775
+ taxonomy_edit: Edit taxonomy
1776
+ taxonomy_tree_error: The requested change has not been accepted and the tree has been returned to its previous state, please try again.
1777
+ taxonomy_tree_instruction: ! '* Right click (or double tap on iOS device) a child in the tree to access the menu for adding, deleting or sorting a child.'
1778
+ taxons: Taxons
1779
+ test: Test
1780
+ test_mailer:
1781
+ test_email:
1782
+ greeting: Congratulations!
1783
+ message: If you have received this email, then your email settings are correct.
1784
+ subject: Test Mail
1785
+ test_mode: Test Mode
1786
+ this_menu_already_has_a_root_item: This Menu already has a root item
1787
+ thank_you_for_your_order: Thank you for your business. Please print out a copy of this confirmation page for your records.
1788
+ there_are_no_items_for_this_order: There are no items for this order. Please add an item to the order to continue.
1789
+ there_were_problems_with_the_following_fields: There were problems with the following fields
1790
+ this_order_has_already_received_a_refund: This order has already received a refund
1791
+ thumbnail: Thumbnail
1792
+ tiers: Tiers
1793
+ tiered_flat_rate: Tiered Flat Rate
1794
+ tiered_percent: Tiered Percent
1795
+ time: Time
1796
+ to_add_variants_you_must_first_define: To add variants, you must first define
1797
+ total: Total
1798
+ total_per_item: Total per item
1799
+ total_pre_tax_refund: Total Pre-Tax Refund
1800
+ total_price: Total price
1801
+ total_sales: Total Sales
1802
+ track_inventory: Track Inventory
1803
+ tracking: Tracking
1804
+ tracking_number: Tracking Number
1805
+ tracking_url: Tracking URL
1806
+ tracking_url_placeholder: e.g. http://quickship.com/package?num=:tracking
1807
+ transaction_id: Transaction ID
1808
+ transfer_from_location: Transfer From
1809
+ transfer_stock: Transfer Stock
1810
+ transfer_to_location: Transfer To
1811
+ tree: Tree
1812
+ type: Type
1813
+ type_to_search: Type to search
1814
+ twitter: Twitter
1815
+ unable_to_connect_to_gateway: Unable to connect to gateway.
1816
+ unable_to_create_reimbursements: Unable to create reimbursements because there are items pending manual intervention.
1817
+ under_price: Under %{price}
1818
+ unlock: Unlock
1819
+ unrecognized_card_type: Unrecognized card type
1820
+ unshippable_items: Unshippable Items
1821
+ update: Update
1822
+ updating: Updating
1823
+ url: URL
1824
+ usage_limit: Usage Limit
1825
+ use_app_default: Use App Default
1826
+ use_billing_address: Use Billing Address
1827
+ use_existing_cc: Use an existing card on file
1828
+ use_new_cc: Use a new card
1829
+ use_new_cc_or_payment_method: Use a new card / payment method
1830
+ use_s3: Use Amazon S3 For Images
1831
+ used: Used
1832
+ user: User
1833
+ user_rule:
1834
+ choose_users: Choose users
1835
+ users: Users
1836
+ validation:
1837
+ unpaid_amount_not_zero: "Amount was not fully reimbursed. Still due: %{amount}"
1838
+ cannot_be_less_than_shipped_units: cannot be less than the number of shipped units.
1839
+ cannot_destroy_line_item_as_inventory_units_have_shipped: Cannot destroy line item as some inventory units have shipped.
1840
+ exceeds_available_stock: exceeds available stock. Please ensure line items have a valid quantity.
1841
+ is_too_large: is too large -- stock on hand cannot cover requested quantity!
1842
+ must_be_int: must be an integer
1843
+ must_be_non_negative: must be a non-negative value
1844
+ value: Value
1845
+ variant: Variant
1846
+ variant_placeholder: Choose a variant
1847
+ variant_prices_search_placeholder: Search for SKU or variant name...
1848
+ variants: Variants
1849
+ version: Version
1850
+ void: Void
1851
+ weight: Weight
1852
+ what_is_a_cvv: What is a (CVV) Credit Card Code?
1853
+ what_is_this: What's This?
1854
+ width: Width
1855
+ year: Year
1856
+ you_have_no_orders_yet: You have no orders yet
1857
+ your_cart_is_empty: Your cart is empty
1858
+ your_order_is_empty_add_product: Your order is empty, please search for and add a product above
1859
+ zip: Zip
1860
+ zipcode: Zip Code
1861
+ zipcode_required: Zip Code Required
1862
+ zone: Zone
1863
+ zones: Zones
1864
+ no_limits_zone: No Limits