Skip to content

Commit

Permalink
Close #2124 Add a state attribute field to the vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreyleak-Deth committed Dec 9, 2024
1 parent b011684 commit 1e856e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module V2
module Storefront
module VendorSerializerDecorator
def self.prepended(base)
base.attributes :min_price, :max_price, :star_rating, :short_description, :full_address
base.attributes :min_price, :max_price, :star_rating, :short_description, :full_address, :state

base.has_many :stock_locations
base.has_many :variants, serializer: 'Spree::Variant'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
:max_price,
:star_rating,
:short_description,
:full_address
:full_address,
:state
)
end

Expand Down

0 comments on commit 1e856e0

Please sign in to comment.