render a partial for line_items
render a partial cart for carts show page
render a partial cart for application layout
add stylesheets for side and cart in application
set_cart before_action in store controller
redirect_to store_url when create line_items
update the stylesheets of carts
remove the scaffolds.css.scss
use Ajax for ‘Add to Cart’ button in store index page
add format.js for create line_items
add js template for line_items
add gem jquery-ui-rails
require jqurty.ui.effect-blind in application.js
@current_item = @line_item when create line_items
update the partial _line_item.html.erb for add current_item
update the create.js in line_items
update the create.js in line_items for #cart tr
hiding an empty cart in partial _cart.html.erb
hiding an empty cart in application layout
hiding an empty cart with application_helper