Skip to content

Add properties to product type#27

Merged
ChristianRimondi merged 3 commits intomasterfrom
add-properties-to-product-type
Oct 18, 2019
Merged

Add properties to product type#27
ChristianRimondi merged 3 commits intomasterfrom
add-properties-to-product-type

Conversation

@AlessioRocco
Copy link
Copy Markdown
Contributor

@AlessioRocco AlessioRocco commented Oct 18, 2019

Add product_properties field to Product type.

@AlessioRocco AlessioRocco force-pushed the add-properties-to-product-type branch from 3d74ad9 to a1cbeef Compare October 18, 2019 10:33
Looking at solidus core it can be nil.
@AlessioRocco AlessioRocco force-pushed the add-properties-to-product-type branch from a1cbeef to dc23208 Compare October 18, 2019 10:47
@AlessioRocco AlessioRocco self-assigned this Oct 18, 2019
@AlessioRocco AlessioRocco marked this pull request as ready for review October 18, 2019 13:49
It adds the product properties connection field to the Product Type and
uses the Spree::Queries::Product::ProductPropertiesQuery query object
with batch loader to retrieve the product properties.
Using command "bundle exec rake schema:idl"
@AlessioRocco AlessioRocco force-pushed the add-properties-to-product-type branch from dc23208 to 4ebede3 Compare October 18, 2019 14:08
@ChristianRimondi ChristianRimondi merged commit 26ac27e into master Oct 18, 2019
@ChristianRimondi ChristianRimondi deleted the add-properties-to-product-type branch October 18, 2019 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants