spree-contrib / spree-multi-domain

Multiple Spree stores on different domains - single unified backed for processing orders
https://guides.spreecommerce.org
194 stars 191 forks source link

make store select_box in admin as shared #88

Closed ghost closed 10 years ago

ghost commented 10 years ago

regarding file: https://github.com/spree/spree-multi-domain/blob/master/app/views/spree/admin/products/_stores.html.erb

would'nt it make more sense to move it from "admin/products" into "admin/shared" and just throw any kind of associated-object in it? would be more generic and flexible, if we want to use that checkbox in other overrides.

radar commented 10 years ago

@fu-media Where else would we want to use it?

ghost commented 10 years ago

i was extending with the spree_pages gem, and that association would be usefull. i also need it for another custom model. maybe my use-case is just too special. if i rethink it, it makes no sense at all, to keep it flexible, for the standard installation.