Skip to content

Commit

Permalink
product properties bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul2103 authored Jul 31, 2024
1 parent a4fc63a commit 0568ad5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/spree/admin/product_properties_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def find_properties
end

def setup_property
return if @product.product_properties.any?

@product.product_properties.build
end
end
Expand Down

0 comments on commit 0568ad5

Please sign in to comment.