solidus_starter_frontend 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +30 -514
- data/.circleci/config.yml +0 -57
- data/.erb-lint.yml +0 -22
- data/.eslintrc +0 -5
- data/.gem_release.yml +0 -5
- data/.github/pull_request_template.md +0 -28
- data/.github/stale.yml +0 -17
- data/.gitignore +0 -17
- data/.hound.yml +0 -16
- data/.rspec +0 -2
- data/.rubocop.yml +0 -19
- data/.rubocop_todo.yml +0 -229
- data/.scss-lint.yml +0 -4
- data/Gemfile +0 -34
- data/LICENSE +0 -26
- data/README.md +0 -69
- data/Rakefile +0 -6
- data/app/assets/config/solidus_starter_frontend_manifest.js +0 -2
- data/app/assets/javascripts/spree/frontend/cart.js +0 -26
- data/app/assets/javascripts/spree/frontend/checkout/address.js +0 -124
- data/app/assets/javascripts/spree/frontend/checkout/payment.js +0 -44
- data/app/assets/javascripts/spree/frontend/checkout.js +0 -34
- data/app/assets/javascripts/spree/frontend/locale_selector.js +0 -9
- data/app/assets/javascripts/spree/frontend/product.js +0 -21
- data/app/assets/javascripts/spree/frontend/solidus_starter_frontend.js +0 -9
- data/app/assets/javascripts/spree/frontend/utils.js.erb +0 -18
- data/app/assets/javascripts/spree/frontend.js +0 -6
- data/app/assets/stylesheets/spree/frontend/base/_base.scss +0 -29
- data/app/assets/stylesheets/spree/frontend/base/_reset.scss +0 -179
- data/app/assets/stylesheets/spree/frontend/base/_responsive.scss +0 -21
- data/app/assets/stylesheets/spree/frontend/components/account/_account_order.scss +0 -23
- data/app/assets/stylesheets/spree/frontend/components/account/_account_summary.scss +0 -17
- data/app/assets/stylesheets/spree/frontend/components/auth/_auth_container.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/auth/_auth_form.scss +0 -5
- data/app/assets/stylesheets/spree/frontend/components/brand/_logo.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/components/buttons/_button_inline.scss +0 -8
- data/app/assets/stylesheets/spree/frontend/components/buttons/_button_primary.scss +0 -26
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_adjustments.scss +0 -6
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_amount_row.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_empty.scss +0 -10
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_footer.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_header.scss +0 -12
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_item.scss +0 -86
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_link.scss +0 -22
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_page.scss +0 -15
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_secondary_actions.scss +0 -19
- data/app/assets/stylesheets/spree/frontend/components/cart/_coupon_code.scss +0 -8
- data/app/assets/stylesheets/spree/frontend/components/cart/_item_info.scss +0 -19
- data/app/assets/stylesheets/spree/frontend/components/checkout/_checkout.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/checkout/_checkout_header.scss +0 -19
- data/app/assets/stylesheets/spree/frontend/components/checkout/_checkout_summary.scss +0 -31
- data/app/assets/stylesheets/spree/frontend/components/checkout/_existing_cards.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/checkout/_payment_method_controls.scss +0 -5
- data/app/assets/stylesheets/spree/frontend/components/checkout/_payment_method_selector.scss +0 -14
- data/app/assets/stylesheets/spree/frontend/components/checkout/_progress_steps.scss +0 -38
- data/app/assets/stylesheets/spree/frontend/components/checkout/_proposed_shipment.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/checkout/_shipment_items.scss +0 -50
- data/app/assets/stylesheets/spree/frontend/components/checkout/_shipping_methods.scss +0 -9
- data/app/assets/stylesheets/spree/frontend/components/checkout/payments/_gateway_payment_method.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_address_step.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_confirm_step.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_delivery_step.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_payment_step.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/forms/_address_inputs.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_checkbox_input.scss +0 -3
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_radio_input.scss +0 -3
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_select_input.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_text.scss +0 -32
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_textarea_input.scss +0 -25
- data/app/assets/stylesheets/spree/frontend/components/general/_flash.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/layout/_aside.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/components/layout/_breadcrumbs.scss +0 -16
- data/app/assets/stylesheets/spree/frontend/components/layout/_category_navigation.scss +0 -3
- data/app/assets/stylesheets/spree/frontend/components/layout/_footer.scss +0 -8
- data/app/assets/stylesheets/spree/frontend/components/layout/_header.scss +0 -12
- data/app/assets/stylesheets/spree/frontend/components/layout/_horizontal_input_group.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/layout/_top_bar.scss +0 -44
- data/app/assets/stylesheets/spree/frontend/components/navigation/_auth_link.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/navigation/_categories.scss +0 -29
- data/app/assets/stylesheets/spree/frontend/components/navigation/_locale_selector.scss +0 -21
- data/app/assets/stylesheets/spree/frontend/components/navigation/_taxonomies.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/navigation/_taxonomy.scss +0 -28
- data/app/assets/stylesheets/spree/frontend/components/orders/_address_overview.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/orders/_coupon_codes.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/components/orders/_line_items.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_details.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_item.scss +0 -85
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_page.scss +0 -41
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_shipments.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/orders/_payment_info.scss +0 -29
- data/app/assets/stylesheets/spree/frontend/components/presentation/_hero.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/products/_product_card.scss +0 -35
- data/app/assets/stylesheets/spree/frontend/components/products/_product_image.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/products/_product_info.scss +0 -14
- data/app/assets/stylesheets/spree/frontend/components/products/_product_page.scss +0 -31
- data/app/assets/stylesheets/spree/frontend/components/products/_product_properties.scss +0 -23
- data/app/assets/stylesheets/spree/frontend/components/products/_product_submit.scss +0 -9
- data/app/assets/stylesheets/spree/frontend/components/products/_product_taxons.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/products/_product_thumbnails.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/products/_product_variants.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/products/_products.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/products/_products_by_taxon.scss +0 -6
- data/app/assets/stylesheets/spree/frontend/components/products/_products_grid.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/search/_filter.scss +0 -32
- data/app/assets/stylesheets/spree/frontend/components/search/_search_bar.scss +0 -34
- data/app/assets/stylesheets/spree/frontend/components/typography/_hero_title.scss +0 -6
- data/app/assets/stylesheets/spree/frontend/components/typography/_subtitle.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/placeholders/main.scss +0 -5
- data/app/assets/stylesheets/spree/frontend/screen.scss +0 -89
- data/app/assets/stylesheets/spree/frontend/solidus_starter_frontend.css +0 -7
- data/app/assets/stylesheets/spree/frontend/variables/_colors.scss +0 -20
- data/app/assets/stylesheets/spree/frontend.css +0 -8
- data/app/controllers/concerns/solidus_starter_frontend/auth_views.rb +0 -16
- data/app/controllers/concerns/solidus_starter_frontend/taxonomies.rb +0 -16
- data/app/controllers/spree/checkout_controller.rb +0 -249
- data/app/controllers/spree/coupon_codes_controller.rb +0 -35
- data/app/controllers/spree/home_controller.rb +0 -13
- data/app/controllers/spree/locale_controller.rb +0 -20
- data/app/controllers/spree/orders_controller.rb +0 -126
- data/app/controllers/spree/products_controller.rb +0 -51
- data/app/controllers/spree/store_controller.rb +0 -31
- data/app/controllers/spree/taxons_controller.rb +0 -30
- data/app/helpers/spree/orders_helper.rb +0 -18
- data/app/helpers/spree/taxon_filters_helper.rb +0 -13
- data/app/views/spree/address/_form_hidden.html.erb +0 -12
- data/app/views/spree/checkout/_terms_and_conditions.en.html.erb +0 -1
- data/app/views/spree/checkout/edit.html.erb +0 -16
- data/app/views/spree/checkout/existing_payment/_gateway.html.erb +0 -9
- data/app/views/spree/checkout/payment/_check.html.erb +0 -0
- data/app/views/spree/checkout/payment/_gateway.html.erb +0 -43
- data/app/views/spree/components/auth/_change_form.html.erb +0 -40
- data/app/views/spree/components/auth/_forgot_form.html.erb +0 -28
- data/app/views/spree/components/auth/_guest_form.html.erb +0 -31
- data/app/views/spree/components/auth/_login_form.html.erb +0 -42
- data/app/views/spree/components/auth/_signup_form.html.erb +0 -48
- data/app/views/spree/components/brand/_logo.html.erb +0 -3
- data/app/views/spree/components/buttons/_button_inline.html.erb +0 -23
- data/app/views/spree/components/buttons/_button_primary.html.erb +0 -29
- data/app/views/spree/components/cart/_cart_adjustment.html.erb +0 -15
- data/app/views/spree/components/cart/_cart_adjustments.html.erb +0 -47
- data/app/views/spree/components/cart/_cart_amount_row.html.erb +0 -12
- data/app/views/spree/components/cart/_cart_empty.html.erb +0 -9
- data/app/views/spree/components/cart/_cart_footer.html.erb +0 -15
- data/app/views/spree/components/cart/_cart_header.html.erb +0 -17
- data/app/views/spree/components/cart/_cart_item.html.erb +0 -52
- data/app/views/spree/components/cart/_cart_items.html.erb +0 -23
- data/app/views/spree/components/cart/_cart_link.html.erb +0 -9
- data/app/views/spree/components/cart/_cart_secondary_actions.html.erb +0 -17
- data/app/views/spree/components/cart/_item_info.html.erb +0 -26
- data/app/views/spree/components/checkout/_checkout_header.html.erb +0 -8
- data/app/views/spree/components/checkout/_checkout_step.html.erb +0 -21
- data/app/views/spree/components/checkout/_checkout_summary.html.erb +0 -70
- data/app/views/spree/components/checkout/_existing_cards.html.erb +0 -39
- data/app/views/spree/components/checkout/_payment_method_controls.html.erb +0 -10
- data/app/views/spree/components/checkout/_payment_method_selector.html.erb +0 -14
- data/app/views/spree/components/checkout/_proposed_shipment.erb +0 -18
- data/app/views/spree/components/checkout/_shipment_items.html.erb +0 -22
- data/app/views/spree/components/checkout/_shipping_methods.html.erb +0 -20
- data/app/views/spree/components/checkout/_unshippable_items.html.erb +0 -7
- data/app/views/spree/components/checkout/steps/_address_step.html.erb +0 -60
- data/app/views/spree/components/checkout/steps/_confirm_step.html.erb +0 -31
- data/app/views/spree/components/checkout/steps/_delivery_step.html.erb +0 -31
- data/app/views/spree/components/checkout/steps/_payment_step.html.erb +0 -25
- data/app/views/spree/components/forms/_address_inputs.html.erb +0 -152
- data/app/views/spree/components/forms/inputs/_checkbox_input.html.erb +0 -29
- data/app/views/spree/components/forms/inputs/_collection_select.html.erb +0 -42
- data/app/views/spree/components/forms/inputs/_radio_input.html.erb +0 -29
- data/app/views/spree/components/forms/inputs/_select_input.html.erb +0 -31
- data/app/views/spree/components/forms/inputs/_text.html.erb +0 -54
- data/app/views/spree/components/forms/inputs/_textarea_input.html.erb +0 -42
- data/app/views/spree/components/layout/_category_navigation.html.erb +0 -3
- data/app/views/spree/components/layout/_footer.html.erb +0 -7
- data/app/views/spree/components/layout/_header.html.erb +0 -8
- data/app/views/spree/components/layout/_top_bar.html.erb +0 -8
- data/app/views/spree/components/navigation/_auth_link.html.erb +0 -1
- data/app/views/spree/components/navigation/_breadcrumbs.html.erb +0 -47
- data/app/views/spree/components/navigation/_categories.html.erb +0 -12
- data/app/views/spree/components/navigation/_locale_selector.html.erb +0 -25
- data/app/views/spree/components/navigation/_taxonomies.html.erb +0 -17
- data/app/views/spree/components/navigation/_taxons.html.erb +0 -17
- data/app/views/spree/components/navigation/_taxons_tree.html.erb +0 -29
- data/app/views/spree/components/orders/_address_overview.html.erb +0 -40
- data/app/views/spree/components/orders/_coupon_code.html.erb +0 -22
- data/app/views/spree/components/orders/_line_items.html.erb +0 -55
- data/app/views/spree/components/orders/_order_details.html.erb +0 -35
- data/app/views/spree/components/orders/_order_item.html.erb +0 -33
- data/app/views/spree/components/orders/_order_items.html.erb +0 -5
- data/app/views/spree/components/orders/_order_shipments.html.erb +0 -25
- data/app/views/spree/components/orders/_payment_info.html.erb +0 -31
- data/app/views/spree/components/presentation/_hero.html.erb +0 -14
- data/app/views/spree/components/products/_product-card.html.erb +0 -36
- data/app/views/spree/components/products/_product_availability.html.erb +0 -19
- data/app/views/spree/components/products/_product_form.html.erb +0 -21
- data/app/views/spree/components/products/_product_image.html.erb +0 -6
- data/app/views/spree/components/products/_product_info.html.erb +0 -9
- data/app/views/spree/components/products/_product_promotions.html.erb +0 -25
- data/app/views/spree/components/products/_product_properties.html.erb +0 -19
- data/app/views/spree/components/products/_product_submit.html.erb +0 -39
- data/app/views/spree/components/products/_product_taxons.html.erb +0 -15
- data/app/views/spree/components/products/_product_thumbnails.html.erb +0 -19
- data/app/views/spree/components/products/_product_variants.html.erb +0 -36
- data/app/views/spree/components/products/_products-grid.html.erb +0 -13
- data/app/views/spree/components/products/_products.html.erb +0 -28
- data/app/views/spree/components/products/_products_by_taxon.html.erb +0 -7
- data/app/views/spree/components/products/_variants_list.html.erb +0 -12
- data/app/views/spree/components/search/_filter.html.erb +0 -42
- data/app/views/spree/components/search/_filters.html.erb +0 -20
- data/app/views/spree/components/search/_form.html.erb +0 -12
- data/app/views/spree/components/search/_products_search.html.erb +0 -36
- data/app/views/spree/components/search/_search_bar.html.erb +0 -36
- data/app/views/spree/components/typography/_hero_title.html.erb +0 -11
- data/app/views/spree/components/typography/_subtitle.html.erb +0 -11
- data/app/views/spree/home/index.html.erb +0 -7
- data/app/views/spree/layouts/spree_application.html.erb +0 -27
- data/app/views/spree/orders/edit.html.erb +0 -21
- data/app/views/spree/orders/show.html.erb +0 -29
- data/app/views/spree/products/index.html.erb +0 -22
- data/app/views/spree/products/show.html.erb +0 -18
- data/app/views/spree/shared/_image.html.erb +0 -12
- data/app/views/spree/shared/_link_to_cart.html.erb +0 -1
- data/app/views/spree/shared/_login_bar_items.html.erb +0 -1
- data/app/views/spree/shared/_shipment_tracking.html.erb +0 -11
- data/app/views/spree/shared/unauthorized.html.erb +0 -0
- data/app/views/spree/taxons/show.html.erb +0 -17
- data/bin/console +0 -17
- data/bin/r +0 -13
- data/bin/rails +0 -7
- data/bin/rake +0 -7
- data/bin/rspec +0 -29
- data/bin/sandbox +0 -84
- data/bin/sandbox_rails +0 -18
- data/bin/setup +0 -8
- data/bin/solidus_compare +0 -155
- data/config/initializers/assets.rb +0 -1
- data/config/initializers/canonical_rails.rb +0 -16
- data/config/locales/en.yml +0 -5
- data/config/routes.rb +0 -33
- data/config/solidus_compare.yml +0 -33
- data/docs/development.md +0 -28
- data/exe/solidus_starter_frontend +0 -9
- data/lib/generators/solidus_starter_frontend/install/install_generator.rb +0 -15
- data/lib/generators/solidus_starter_frontend/solidus_starter_frontend_generator.rb +0 -30
- data/lib/generators/solidus_starter_frontend/views/override_generator.rb +0 -50
- data/lib/solidus_starter_frontend/config.rb +0 -7
- data/lib/solidus_starter_frontend/engine.rb +0 -34
- data/lib/solidus_starter_frontend/factories.rb +0 -4
- data/lib/solidus_starter_frontend/solidus_support_extensions.rb +0 -9
- data/lib/solidus_starter_frontend/version.rb +0 -5
- data/lib/solidus_starter_frontend.rb +0 -12
- data/lib/solidus_starter_frontend_configuration.rb +0 -8
- data/lib/views/auth/spree/checkout/registration.html.erb +0 -7
- data/lib/views/auth/spree/components/navigation/_auth_link.html.erb +0 -5
- data/lib/views/auth/spree/user_passwords/edit.html.erb +0 -7
- data/lib/views/auth/spree/user_passwords/new.html.erb +0 -5
- data/lib/views/auth/spree/user_registrations/new.html.erb +0 -7
- data/lib/views/auth/spree/user_sessions/guest.html.erb +0 -5
- data/lib/views/auth/spree/user_sessions/new.html.erb +0 -7
- data/lib/views/auth/spree/users/edit.html.erb +0 -45
- data/lib/views/auth/spree/users/show.html.erb +0 -55
- data/solidus_starter_frontend.gemspec +0 -43
- data/spec/controllers/controller_helpers_spec.rb +0 -29
- data/spec/controllers/locale_controller_spec.rb +0 -57
- data/spec/controllers/spree/checkout_controller_spec.rb +0 -563
- data/spec/controllers/spree/checkout_controller_with_views_spec.rb +0 -37
- data/spec/controllers/spree/current_order_tracking_spec.rb +0 -33
- data/spec/controllers/spree/home_controller_spec.rb +0 -29
- data/spec/controllers/spree/orders_controller_ability_spec.rb +0 -90
- data/spec/controllers/spree/orders_controller_spec.rb +0 -241
- data/spec/controllers/spree/orders_controller_transitions_spec.rb +0 -33
- data/spec/controllers/spree/products_controller_spec.rb +0 -38
- data/spec/controllers/spree/taxons_controller_spec.rb +0 -14
- data/spec/fixtures/thinking-cat.jpg +0 -0
- data/spec/generators/solidus/views/override_generator_spec.rb +0 -50
- data/spec/helpers/base_helper_spec.rb +0 -13
- data/spec/helpers/order_helper_spec.rb +0 -14
- data/spec/helpers/taxon_filters_helper_spec.rb +0 -12
- data/spec/spec_helper.rb +0 -64
- data/spec/support/shared_contexts/checkout_setup.rb +0 -12
- data/spec/support/shared_contexts/custom_products.rb +0 -28
- data/spec/support/shared_contexts/locales.rb +0 -16
- data/spec/system/address_spec.rb +0 -87
- data/spec/system/automatic_promotion_adjustments_spec.rb +0 -49
- data/spec/system/caching/products_spec.rb +0 -48
- data/spec/system/caching/taxons_spec.rb +0 -35
- data/spec/system/cart_spec.rb +0 -81
- data/spec/system/checkout_confirm_insufficient_stock_spec.rb +0 -71
- data/spec/system/checkout_spec.rb +0 -699
- data/spec/system/checkout_unshippable_spec.rb +0 -37
- data/spec/system/coupon_code_spec.rb +0 -267
- data/spec/system/currency_spec.rb +0 -20
- data/spec/system/first_order_promotion_spec.rb +0 -59
- data/spec/system/free_shipping_promotions_spec.rb +0 -60
- data/spec/system/locale_spec.rb +0 -26
- data/spec/system/order_spec.rb +0 -57
- data/spec/system/products_spec.rb +0 -302
- data/spec/system/promotion_code_invalidation_spec.rb +0 -54
- data/spec/system/quantity_promotions_spec.rb +0 -130
- data/spec/system/taxons_spec.rb +0 -158
- data/spec/system/template_rendering_spec.rb +0 -20
- data/spec/views/spree/checkout/_summary_spec.rb +0 -11
@@ -1,21 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
schema_properties = {
|
3
|
-
itemprop: 'offers',
|
4
|
-
itemscope: true,
|
5
|
-
itemtype: 'http://schema.org/Offer'
|
6
|
-
}
|
7
|
-
%>
|
8
|
-
|
9
|
-
<%= form_for :order, url: populate_orders_path, html: schema_properties do |f| %>
|
10
|
-
<%= render 'spree/components/products/product_variants' %>
|
11
|
-
|
12
|
-
<% if @product.price_for(current_pricing_options) and !@product.price.nil? %>
|
13
|
-
<%= render 'spree/components/products/product_submit' %>
|
14
|
-
<% else %>
|
15
|
-
<div id="product-price">
|
16
|
-
<p class="price selling" itemprop="price">
|
17
|
-
<%= t('spree.product_not_available_in_this_currency') %>
|
18
|
-
</p>
|
19
|
-
</div>
|
20
|
-
<% end %>
|
21
|
-
<% end %>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<header class="product-info">
|
2
|
-
<h1 class="product-info__title" itemprop="name">
|
3
|
-
<%= @product.name %>
|
4
|
-
</h1>
|
5
|
-
|
6
|
-
<p class="product-info__description" itemprop="description">
|
7
|
-
<%= product_description(@product) rescue t('spree.product_has_no_description') %>
|
8
|
-
</p>
|
9
|
-
</header>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<% promotions = @product.possible_promotions %>
|
2
|
-
|
3
|
-
<% if promotions.any? %>
|
4
|
-
<section class="product-promotions">
|
5
|
-
<h2><%= t('spree.promotions') %></h2>
|
6
|
-
|
7
|
-
<% promotions.each do |promotion| %>
|
8
|
-
<article>
|
9
|
-
<header>
|
10
|
-
<h3><%= promotion.name %></h3>
|
11
|
-
</header>
|
12
|
-
|
13
|
-
<p><%= promotion.description %></p>
|
14
|
-
|
15
|
-
<% if promotion.products.any? %>
|
16
|
-
<ul>
|
17
|
-
<% promotion.products.each do |product| %>
|
18
|
-
<li><%= link_to product.name, product_path(product) %></li>
|
19
|
-
<% end %>
|
20
|
-
</ul>
|
21
|
-
<% end %>
|
22
|
-
</article>
|
23
|
-
<% end %>
|
24
|
-
<section>
|
25
|
-
<% end %>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<% unless @product_properties.empty? %>
|
2
|
-
<section class="product-properties">
|
3
|
-
<h2 class="product-properties__title">
|
4
|
-
<%= t('spree.properties')%>
|
5
|
-
</h2>
|
6
|
-
|
7
|
-
<table class="product-properties__table">
|
8
|
-
<tbody>
|
9
|
-
<% @product_properties.each do |product_property| %>
|
10
|
-
<tr>
|
11
|
-
<td><%= product_property.property.presentation %></td>
|
12
|
-
<td><%= product_property.value %></td>
|
13
|
-
</tr>
|
14
|
-
<% end %>
|
15
|
-
<% reset_cycle('properties') %>
|
16
|
-
</tbody>
|
17
|
-
</table>
|
18
|
-
</section>
|
19
|
-
<% end %>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<div class="product-submit" id="product-price">
|
2
|
-
<h2 class="product-submit__title">
|
3
|
-
<span
|
4
|
-
class="price selling"
|
5
|
-
itemprop="price"
|
6
|
-
content="<%= @product.price_for(current_pricing_options).to_d %>"
|
7
|
-
>
|
8
|
-
<%= display_price(@product) %>
|
9
|
-
</span>
|
10
|
-
<span
|
11
|
-
itemprop="priceCurrency"
|
12
|
-
content="<%= current_pricing_options.currency %>"
|
13
|
-
></span>
|
14
|
-
</h2>
|
15
|
-
|
16
|
-
<%= render 'spree/components/products/product_availability', product: @product %>
|
17
|
-
|
18
|
-
<div class="horizontal-input-group">
|
19
|
-
<div class="horizontal-input-group__input">
|
20
|
-
<%= render(
|
21
|
-
"spree/components/forms/inputs/text",
|
22
|
-
id: :quantity,
|
23
|
-
min: 1,
|
24
|
-
name: :quantity,
|
25
|
-
type: :number,
|
26
|
-
value: 1
|
27
|
-
) %>
|
28
|
-
</div>
|
29
|
-
<div class="horizontal-input-group__action">
|
30
|
-
<%= render(
|
31
|
-
'spree/components/buttons/button_primary',
|
32
|
-
content: t('spree.add_to_cart'),
|
33
|
-
id: 'add-to-cart-button',
|
34
|
-
name: :button,
|
35
|
-
type: :submit
|
36
|
-
) %>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
</div>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<% if !@product.taxons.blank? %>
|
2
|
-
<section class="product-taxons">
|
3
|
-
<h2 class="product-taxons__title">
|
4
|
-
<%= t('spree.look_for_similar_items') %>
|
5
|
-
</h2>
|
6
|
-
|
7
|
-
<ul class="product-taxons__list">
|
8
|
-
<% @product.taxons.each do |taxon| %>
|
9
|
-
<li>
|
10
|
-
<%= link_to taxon.name, seo_url(taxon) %>
|
11
|
-
</li>
|
12
|
-
<% end %>
|
13
|
-
</ul>
|
14
|
-
</section>
|
15
|
-
<% end %>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<% if @product.gallery.images.size > 1 %>
|
2
|
-
<ul class="product-thumbnails">
|
3
|
-
<% @product.gallery.images.each do |image| %>
|
4
|
-
<% next if image.viewable_id != @product.master.id %>
|
5
|
-
<li>
|
6
|
-
<%= link_to(image_tag(image.url(:mini)), image.url(:product)) %>
|
7
|
-
</li>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<% if @product.has_variants? %>
|
11
|
-
<% @product.gallery.images.each do |image| %>
|
12
|
-
<% next if image.viewable_id == @product.master.id %>
|
13
|
-
<li>
|
14
|
-
<%= link_to(image_tag(image.url(:mini)), image.url(:product)) %>
|
15
|
-
</li>
|
16
|
-
<% end %>
|
17
|
-
<% end %>
|
18
|
-
</ul>
|
19
|
-
<% end %>
|
@@ -1,36 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
variants = @product.variants_and_option_values_for(current_pricing_options)
|
3
|
-
%>
|
4
|
-
|
5
|
-
<% if variants.any? %>
|
6
|
-
<section class="product-variants" id="product-variants">
|
7
|
-
<h2 class="product-variants__title">
|
8
|
-
<%= t('spree.variants') %>
|
9
|
-
</h2>
|
10
|
-
|
11
|
-
<ul class="product-variants__list">
|
12
|
-
<% variants.each_with_index do |variant, index| %>
|
13
|
-
<li>
|
14
|
-
<%= radio_button_tag(
|
15
|
-
'variant_id',
|
16
|
-
variant.id,
|
17
|
-
index == 0,
|
18
|
-
'data-price' => variant.price_for(current_pricing_options)
|
19
|
-
) %>
|
20
|
-
|
21
|
-
<%= label_tag "variant_id_#{ variant.id }" do %>
|
22
|
-
<%= variant_options variant %>
|
23
|
-
<% if variant_price variant %>
|
24
|
-
<span class="price diff"><%= variant_price variant %></span>
|
25
|
-
<% end %>
|
26
|
-
<% unless variant.can_supply? %>
|
27
|
-
<span class="out-of-stock"><%= t('spree.out_of_stock') %></span>
|
28
|
-
<% end %>
|
29
|
-
<% end %>
|
30
|
-
</li>
|
31
|
-
<% end %>
|
32
|
-
</ul>
|
33
|
-
</section>
|
34
|
-
<% else %>
|
35
|
-
<%= hidden_field_tag "variant_id", @product.master.id %>
|
36
|
-
<% end %>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
base_class = "products-grid".freeze
|
3
|
-
|
4
|
-
# Classes
|
5
|
-
class_names = [base_class]
|
6
|
-
class_names = class_names.join(" ")
|
7
|
-
%>
|
8
|
-
|
9
|
-
<ul class=<%= class_names %>>
|
10
|
-
<% products.each do |product| %>
|
11
|
-
<%= render 'spree/components/products/product-card', product: product %>
|
12
|
-
<% end %>
|
13
|
-
</ul>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
paginated_products = @searcher.retrieve_products if params.key?(:keywords)
|
3
|
-
paginated_products ||= products
|
4
|
-
%>
|
5
|
-
|
6
|
-
<% content_for :head do %>
|
7
|
-
<% if paginated_products.respond_to?(:total_pages) %>
|
8
|
-
<%= rel_next_prev_link_tags paginated_products %>
|
9
|
-
<% end %>
|
10
|
-
<% end %>
|
11
|
-
|
12
|
-
<% if products.empty? %>
|
13
|
-
<h2 class="products__results-title">
|
14
|
-
<%= t('spree.no_products_found') %>
|
15
|
-
</h2>
|
16
|
-
<% elsif params.key?(:keywords) %>
|
17
|
-
<h1 class="products__results-title">
|
18
|
-
<%= t('spree.search_results', keywords: h(params[:keywords])) %>
|
19
|
-
</h1>
|
20
|
-
<% end %>
|
21
|
-
|
22
|
-
<% if products.any? %>
|
23
|
-
<%= render 'spree/components/products/products-grid', products: products %>
|
24
|
-
<% end %>
|
25
|
-
|
26
|
-
<% if paginated_products.respond_to?(:total_pages) %>
|
27
|
-
<%= paginate paginated_products %>
|
28
|
-
<% end %>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<section class="products-by-taxon">
|
2
|
-
<h5 class="products-by-taxon__title">
|
3
|
-
<%= link_to products_by_taxon.name, seo_url(products_by_taxon) %>
|
4
|
-
</h5>
|
5
|
-
|
6
|
-
<%= render 'spree/components/products/products', products: taxon_preview(products_by_taxon), taxon: products_by_taxon %>
|
7
|
-
</section>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<ul class="variants-list">
|
2
|
-
<% variants.each do |variant, quantity| %>
|
3
|
-
<li>
|
4
|
-
<%= render 'spree/shared/image',
|
5
|
-
image: variant.gallery.images.first || variant.product.gallery.images.first,
|
6
|
-
size: :mini %>
|
7
|
-
</li>
|
8
|
-
<li><%= variant.name %></li>
|
9
|
-
<li><%= quantity %></li>
|
10
|
-
<li><%= display_price(variant) %></li>
|
11
|
-
<% end %>
|
12
|
-
</ul>
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
# Props
|
3
|
-
title = local_assigns.fetch(:title, nil)
|
4
|
-
filter = local_assigns.fetch(:filter, nil)
|
5
|
-
base_class = local_assigns.fetch(:base_class, nil)
|
6
|
-
|
7
|
-
# Methods
|
8
|
-
def filter_list(filter, css_class)
|
9
|
-
labels = filter[:labels] || filter[:conds].map {|m,c| [m,m]}
|
10
|
-
return if labels.empty?
|
11
|
-
|
12
|
-
content_tag :ul, class: css_class do
|
13
|
-
labels.each do |name, value|
|
14
|
-
label = "#{filter[:name]}_#{name}".gsub(/\s+/,'_')
|
15
|
-
checked = params[:search] &&
|
16
|
-
params[:search][filter[:scope]] &&
|
17
|
-
params[:search][filter[:scope]].include?(value.to_s) ? true : false
|
18
|
-
|
19
|
-
concat filter_list_item(filter, checked, label, value, name)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
def filter_list_item(filter, checked, label, value, name)
|
25
|
-
content_tag :li do
|
26
|
-
concat check_box_tag(
|
27
|
-
"search[#{filter[:scope].to_s}][]",
|
28
|
-
value,
|
29
|
-
checked,
|
30
|
-
id: label)
|
31
|
-
|
32
|
-
# concat label_tag(label, name)
|
33
|
-
concat ("<label for='#{label}'>#{name}</label>").html_safe
|
34
|
-
end
|
35
|
-
end
|
36
|
-
%>
|
37
|
-
|
38
|
-
<% filter_list = filter_list(filter, "#{base_class}__list") %>
|
39
|
-
<% if filter_list.present? %>
|
40
|
-
<%= content_tag :h6, title, class: "#{base_class}__title" if title %>
|
41
|
-
<%= filter_list %>
|
42
|
-
<% end %>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<% filters = applicable_filters_for(@taxon) %>
|
2
|
-
|
3
|
-
<% unless filters.empty? %>
|
4
|
-
<%= form_tag '', method: :get, id: 'sidebar_products_search' do %>
|
5
|
-
<%= hidden_field_tag 'per_page', params[:per_page] %>
|
6
|
-
|
7
|
-
<% filters.each do |filter| %>
|
8
|
-
<%= render(
|
9
|
-
'spree/components/search/filter',
|
10
|
-
title: filter[:name],
|
11
|
-
filter: filter,
|
12
|
-
base_class: 'filter') %>
|
13
|
-
<% end %>
|
14
|
-
|
15
|
-
<%= render 'spree/components/buttons/button_primary',
|
16
|
-
content: t('spree.search'),
|
17
|
-
type: :submit,
|
18
|
-
full_width: true %>
|
19
|
-
<% end %>
|
20
|
-
<% end %>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
|
2
|
-
|
3
|
-
<%= form_tag spree.products_path, method: :get do %>
|
4
|
-
<% cache [I18n.locale, :taxons_for_search_select, @taxons] do %>
|
5
|
-
<%= select_tag :taxon,
|
6
|
-
options_for_select([[t('spree.all_departments'), '']] +
|
7
|
-
@taxons.map {|t| [t.name, t.id]},
|
8
|
-
@taxon ? @taxon.id : params[:taxon]), 'aria-label' => 'Taxon' %>
|
9
|
-
<% end %>
|
10
|
-
<%= search_field_tag :keywords, params[:keywords], placeholder: t('spree.search') %>
|
11
|
-
<%= submit_tag t('spree.search'), name: nil %>
|
12
|
-
<% end %>
|
@@ -1,36 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
base_class = "products-search".freeze
|
3
|
-
|
4
|
-
# Data
|
5
|
-
@taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots
|
6
|
-
options = [[t('spree.all_departments'), '']] + @taxons.map {|t| [t.name, t.id]}
|
7
|
-
selected = @taxon ? @taxon.id : params[:taxon]
|
8
|
-
|
9
|
-
# Classes
|
10
|
-
class_names = [base_class]
|
11
|
-
class_names = class_names.join(" ")
|
12
|
-
%>
|
13
|
-
|
14
|
-
<%= form_tag spree.products_path, class: class_names, method: :get do %>
|
15
|
-
<% cache [I18n.locale, @taxons] do %>
|
16
|
-
<%= render(
|
17
|
-
"spree/components/forms/inputs/select",
|
18
|
-
name: :taxon,
|
19
|
-
options: options,
|
20
|
-
selected: selected
|
21
|
-
) %>
|
22
|
-
<% end %>
|
23
|
-
|
24
|
-
<%= render(
|
25
|
-
"spree/components/forms/inputs/text",
|
26
|
-
name: :keywords,
|
27
|
-
placeholder: t('spree.search'),
|
28
|
-
type: :search
|
29
|
-
) %>
|
30
|
-
|
31
|
-
<%= render(
|
32
|
-
"spree/components/buttons/button_primary",
|
33
|
-
content: t('spree.search'),
|
34
|
-
type: "submit"
|
35
|
-
) %>
|
36
|
-
<% end %>
|
@@ -1,36 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
base_class = "search-bar".freeze
|
3
|
-
|
4
|
-
# Data
|
5
|
-
@taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots
|
6
|
-
options = [[t('spree.all_departments'), '']] + @taxons.map {|t| [t.name, t.id]}
|
7
|
-
selected = @taxon ? @taxon.id : params[:taxon]
|
8
|
-
|
9
|
-
# Classes
|
10
|
-
class_names = [base_class]
|
11
|
-
class_names = class_names.join(" ")
|
12
|
-
%>
|
13
|
-
|
14
|
-
<%= form_tag spree.products_path, class: class_names, method: :get do %>
|
15
|
-
<% cache [I18n.locale, @taxons] do %>
|
16
|
-
<%= select_tag(
|
17
|
-
:taxon,
|
18
|
-
options_for_select(options, selected),
|
19
|
-
class: "#{base_class}__select"
|
20
|
-
) %>
|
21
|
-
<% end %>
|
22
|
-
|
23
|
-
<input
|
24
|
-
name="keywords"
|
25
|
-
placeholder="Hoodie, mug, shirt..."
|
26
|
-
type="search"
|
27
|
-
class="<%= "#{base_class}__input" %>"
|
28
|
-
>
|
29
|
-
|
30
|
-
<button
|
31
|
-
type="submit"
|
32
|
-
class="<%= "#{base_class}__button" %>"
|
33
|
-
>
|
34
|
-
Search
|
35
|
-
</button>
|
36
|
-
<% end %>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html lang="<%= I18n.locale %>">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<title><%= title %></title>
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
-
<%== meta_data_tags %>
|
8
|
-
<%= canonical_tag(current_store.url) %>
|
9
|
-
<%= csrf_meta_tags %>
|
10
|
-
|
11
|
-
<%= javascript_include_tag 'spree/frontend/all' %>
|
12
|
-
<%= stylesheet_link_tag 'spree/frontend/all', media: 'screen' %>
|
13
|
-
|
14
|
-
<%= favicon_link_tag 'favicon.ico' %>
|
15
|
-
<%= yield :head %>
|
16
|
-
</head>
|
17
|
-
<body class="<%= body_class %>" id="<%= @body_id || 'default' %>">
|
18
|
-
<%= render partial: 'spree/components/layout/header' %>
|
19
|
-
<%= flash_messages %>
|
20
|
-
<%= render 'spree/components/navigation/breadcrumbs', taxon: @taxon, base_class: 'breadcrumbs' %>
|
21
|
-
<main>
|
22
|
-
<%= yield %>
|
23
|
-
</main>
|
24
|
-
<%= yield :templates %>
|
25
|
-
<%= render partial: 'spree/components/layout/footer' %>
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<% @body_id = 'cart' %>
|
2
|
-
|
3
|
-
<article class="cart-page">
|
4
|
-
<% if @order.line_items.empty? %>
|
5
|
-
<%= render 'spree/components/cart/cart_empty' %>
|
6
|
-
<% else %>
|
7
|
-
<%= form_for @order, url: update_cart_path, html: {id: 'update-cart'} do |order_form| %>
|
8
|
-
<% order = order_form.object %>
|
9
|
-
<%= render 'spree/components/cart/cart_header' %>
|
10
|
-
<%= render 'spree/shared/error_messages', target: order %>
|
11
|
-
<%= render 'spree/components/cart/cart_items', order_form: order_form %>
|
12
|
-
<%= render 'spree/components/cart/cart_footer', order: order %>
|
13
|
-
<% end %>
|
14
|
-
|
15
|
-
<div class="cart-page__coupon-code">
|
16
|
-
<%= render 'spree/components/orders/coupon_code' %>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
<%= render 'spree/components/cart/cart_secondary_actions' %>
|
20
|
-
<% end %>
|
21
|
-
</article>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<div class="order-page">
|
2
|
-
<h1 class="order-page__title">
|
3
|
-
<%= accurate_title %>
|
4
|
-
</h1>
|
5
|
-
|
6
|
-
<% if order_just_completed?(@order) %>
|
7
|
-
<p class="order-page__completed">
|
8
|
-
<%= t('spree.thank_you_for_your_order') %>
|
9
|
-
</p>
|
10
|
-
<% end %>
|
11
|
-
|
12
|
-
<fieldset class="order-page__info" id="order_summary">
|
13
|
-
<legend>
|
14
|
-
<%= t('spree.order_number', number: @order.number) %>
|
15
|
-
</legend>
|
16
|
-
|
17
|
-
<%= render 'spree/components/orders/order_details', order: @order %>
|
18
|
-
</fieldset>
|
19
|
-
|
20
|
-
<div class="order-page__actions">
|
21
|
-
<%= link_to t('spree.back_to_store'), spree.root_path, class: "button" %>
|
22
|
-
|
23
|
-
<% unless order_just_completed?(@order) %>
|
24
|
-
<% if try_spree_current_user && respond_to?(:account_path) %>
|
25
|
-
<%= link_to t('spree.my_account'), spree.account_path, class: "button" %>
|
26
|
-
<% end %>
|
27
|
-
<% end %>
|
28
|
-
</div>
|
29
|
-
</div>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<div class="products">
|
2
|
-
<aside>
|
3
|
-
<% if "spree/products" == params[:controller] && @taxon %>
|
4
|
-
<%= render partial: 'spree/components/search/filters' %>
|
5
|
-
<% else %>
|
6
|
-
<%= render partial: 'spree/components/navigation/taxonomies' %>
|
7
|
-
<% end %>
|
8
|
-
</aside>
|
9
|
-
<section class="products_section">
|
10
|
-
<% if params[:keywords] %>
|
11
|
-
<% if @products.empty? %>
|
12
|
-
<h6>
|
13
|
-
<%= t('spree.no_products_found') %>
|
14
|
-
</h6>
|
15
|
-
<% else %>
|
16
|
-
<%= render partial: 'spree/components/products/products', locals: { products: @products, taxon: @taxon } %>
|
17
|
-
<% end %>
|
18
|
-
<% else %>
|
19
|
-
<%= render partial: 'spree/components/products/products', locals: { products: @products, taxon: @taxon } %>
|
20
|
-
<% end %>
|
21
|
-
</section>
|
22
|
-
</div>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<% @body_id = 'product-details' %>
|
2
|
-
|
3
|
-
<% cache [I18n.locale, current_pricing_options, @product] do %>
|
4
|
-
<article class="product-page" itemscope itemtype="http://schema.org/Product">
|
5
|
-
<div class="product-page__images">
|
6
|
-
<%= render 'spree/components/products/product_image' %>
|
7
|
-
<%= render 'spree/components/products/product_thumbnails' %>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="product-page__info">
|
11
|
-
<%= render 'spree/components/products/product_info' %>
|
12
|
-
<%= render 'spree/components/products/product_properties' %>
|
13
|
-
<%= render 'spree/components/products/product_promotions' %>
|
14
|
-
<%= render 'spree/components/products/product_form' %>
|
15
|
-
<%= render 'spree/components/products/product_taxons' %>
|
16
|
-
</div>
|
17
|
-
</article>
|
18
|
-
<% end %>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<% size ||= :mini %>
|
2
|
-
<% itemprop ||= nil %>
|
3
|
-
|
4
|
-
<% if image_url = image.try(:url, size) %>
|
5
|
-
<% if image_alt = image.try(:alt) %>
|
6
|
-
<%= image_tag image_url, alt: image_alt, itemprop: itemprop %>
|
7
|
-
<% else %>
|
8
|
-
<%= image_tag image_url, itemprop: itemprop %>
|
9
|
-
<% end %>
|
10
|
-
<% else %>
|
11
|
-
<div class="image-placeholder <%= size %>"></div>
|
12
|
-
<% end %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= link_to_cart %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%# solidus_auth_devise or a custom auth system can replace this partial %>
|
File without changes
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<div class="products">
|
2
|
-
<aside>
|
3
|
-
<%= render partial: 'spree/components/navigation/taxonomies' %>
|
4
|
-
<%= render partial: 'spree/components/search/filters' if @taxon.children.empty? %>
|
5
|
-
</aside>
|
6
|
-
<section>
|
7
|
-
<h1 class="products__taxon-title"><%= @taxon.name %></h1>
|
8
|
-
|
9
|
-
<%= render partial: 'spree/components/products/products', locals: { products: @products, taxon: @taxon } %>
|
10
|
-
|
11
|
-
<% unless params[:keywords].present? %>
|
12
|
-
<% cache [I18n.locale, @taxon] do %>
|
13
|
-
<%= render partial: 'spree/components/products/products_by_taxon', collection: @taxon.children %>
|
14
|
-
<% end %>
|
15
|
-
<% end %>
|
16
|
-
</section>
|
17
|
-
</div>
|
data/bin/console
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
# frozen_string_literal: true
|
4
|
-
|
5
|
-
require "bundler/setup"
|
6
|
-
require "solidus_starter_frontend"
|
7
|
-
|
8
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
9
|
-
# with your gem easier. You can also use a different console, if you like.
|
10
|
-
$LOAD_PATH.unshift(*Dir["#{__dir__}/../app/*"])
|
11
|
-
|
12
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
13
|
-
# require "pry"
|
14
|
-
# Pry.start
|
15
|
-
|
16
|
-
require "irb"
|
17
|
-
IRB.start(__FILE__)
|