Add push buttons and support inactive products
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class ProductSerializer < Qwaiter::Serializer
|
||||
attributes :name, :price, :description, :image, :code, :position, :visible, :product_category_id
|
||||
attributes :name, :price, :description, :image, :code, :position, :visible, :active, :product_category_id
|
||||
|
||||
def image
|
||||
if object.image.present?
|
||||
|
||||
Reference in New Issue
Block a user