item groups now have order - start page is now item group 1 (configurable in globals)
This commit is contained in:
@@ -4,6 +4,9 @@ class Item < ActiveRecord::Base
|
||||
has_many :multi_media_descriptions
|
||||
belongs_to :sub_category
|
||||
|
||||
has_many :item_groups, through: :item_in_groups
|
||||
|
||||
|
||||
attr_accessor :count # used for cart
|
||||
def attributes
|
||||
super.merge('count' => self.count)
|
||||
|
||||
Reference in New Issue
Block a user