-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments for Rails Ecommerce Product Optioning in Spree #230
Comments
You might want to check http://github.com/swistak/spree-enchanced-option-types It allows for everything you showed + much more.
|
Swistak, As discussed in the spree user group (http://groups.google.com/group/spree-user) thread on option type extensions, my extension is very simple. I provided it to the community to be used as a simple option type variant display or as a good starting block for someone who wanted to implement customized product variant display. In my extension, if a variant is out of stock, an "X" is shown so that the user cannot select that item instead of disabling the add to cart. A user has plenty of control to define the order of option types, it's just that the order would be hard-coded in the extension rather than by using the database. This implementation is not robust, but again this simple extension can be used as a starting block for adding variant and option type functionality. My extension has been tested and is in use on a live site. It also has no known JavaScript problems. The work completed for the client used JavaScript because it was on an older version of Spree with a different add to cart form. It was compatible with IE6, IE7, IE8, Chrome, FF, and Safari. The code provided here and in this version of the extension does not rely on any JavaScript. The extension I worked on was initially done for a client, and I wanted to contribute the work to the Spree community by providing good documentation and examples of it's use. If you feel like incorporating some of my extension ideas into your extension, feel free. I think my extension serves as a manageable and useful way to make the variant display more elegant while keeping up with the quickly evolving Spree code base. ~Steph |
Hello again. Since I liked Stephanies idea - A LOT. I've incorportated 2d table as one of select options for Enchanced option types extension Concept is really similar, only It should work out of box, you don't need to change any code (no hardcoding of option types/option values). I hope you like it. |
Nice post, I have a question in related to OptionType posted on my blog here: http://joneslee85.wordpress.com/ I hope you could help me out |
Comments for https://www.endpointdev.com/blog/2009/12/rails-ecommerce-product-optioning-in/
By Steph Skardal
To enter a comment:
The text was updated successfully, but these errors were encountered: