You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am while customizing my spree e-commerce application. At first I added the 'spree_bootstrap_frontend' gem and I want to customize the oredres/edit view as follow:
Deface::Override.new(:virtual_path =>"spree/orders/edit",
:name => "continue_shopping",
:replace => "erb[loud]:contains('link_to t(:continue_shopping), products_path')",
:erb => "<%= link_to t(:continue_shopping), products_path, :class => 'btn btn-primary' %>")
but there's no change. Could you please help my first customization view?
The text was updated successfully, but these errors were encountered:
If you use spree 3.0.0.rc3 or 3-0-stable branch we've actually merged spree_bootstrap_frontend into the main project. I wouldn't use deface at all, and just override the templates you want to change in your frontend. Deface is more for adding links into the admin panels navigation or to add an extra field here or there it's not really meant to customize your frontend.
I am while customizing my spree e-commerce application. At first I added the 'spree_bootstrap_frontend' gem and I want to customize the oredres/edit view as follow:
Deface::Override.new(:virtual_path =>"spree/orders/edit",
:name => "continue_shopping",
:replace => "erb[loud]:contains('link_to t(:continue_shopping), products_path')",
:erb => "<%= link_to t(:continue_shopping), products_path, :class => 'btn btn-primary' %>")
but there's no change. Could you please help my first customization view?
The text was updated successfully, but these errors were encountered: