Displaying 1 result from an estimated 1 matches for "product_crosssel".
Did you mean:
product_crosssells
2007 Nov 30
0
cross sell products - Options_from_collection_select ?
...:action => ''product'',
:id => cross_sell_product.id
%><br />
<% end %>
------------> My Question is
how do we create an options_for_collection_select ?in the -form.html
<!-- cross sells -->
<label for "product_crosssells"> Cross Sell</label>
<select name=''products[cross_sell_products][]'' multiple=''multiple''>
<%= @products = Product.find(:all, :order => "name")
options_for_select @products.collect {|u| [u.name, u.id]},
@product.cros...