Class: Spree::Pages::Cart
Instance Method Summary
collapse
Methods inherited from Spree::Page
#create_preview, #custom?, #customizable?, #default_sections, #display_name, #duplicate, #layout_sections?, #preview_url, #promote, #store, #theme
#preview?
Instance Method Details
#icon_name ⇒ Object
10
11
12
|
# File 'app/models/spree/pages/cart.rb', line 10
def icon_name
'shopping-cart'
end
|
#linkable? ⇒ Boolean
14
15
16
|
# File 'app/models/spree/pages/cart.rb', line 14
def linkable?
true
end
|
#page_builder_url ⇒ Object
4
5
6
7
8
|
# File 'app/models/spree/pages/cart.rb', line 4
def page_builder_url
return unless page_builder_url_exists?(:cart_path)
Spree::Core::Engine.routes.url_helpers.cart_path
end
|