spree_variant_options
spree_variant_options copied to clipboard
adapted for Spree 2
Hello, I used your extension in a Spree 2.0.4 project so had to adapt it to work with it. I would say the main changes were to move count_on_hand and backorderable from products and variants down to stock items. I've got all tests passing and features green in this commit.
I would be available to discuss any comments if needed. Thanks
Hey @Numerico thanks for the PR!! I'll check it out tonight and merge it if all the tests are passing! :+1:
all right, just FYI you can notice the first commits were for Spree 1.2.5 (see https://github.com/Numerico/spree_variant_options/tree/spree_1.2.5, that branch has got test unit passing, but not all of cucumber's) this would be the first commit for Spree 2 https://github.com/Numerico/spree_variant_options/commit/60f4a043a8190ec0a58b0545b97073a373f9f677
@Numerico Is this working?
yeah, you should be able to run the tests with
bundle exec rake
Awesome! Thank you.
Is this going to become a 2-1-stable branch for use with Spree 2.1?
Hopefully, shouldn't change much from 2.0.4 to 2.1, should it?