Skip to content
railsengines.com

Solidus Dynamic Variants

Creates variants from selected options on the fly during cart populate in your Solidus store

No ratings yet
Gem
solidus_dynamic_variants
Repository
hefan/solidus_dynamic_variants
License
BSD-3-Clause
Stars
15
Added
August 09, 2026

About

Creates variants from selected options on the fly during cart populate in your Solidus store

This gem creates variants in the solidus shop frontend on the fly when the cart is populated. It is meant to be useful for products with many, many options (like Options for lenses), when dynamic variant creation is a better alternative than creating multimillion variant entries for each possible option combination. The Option Values can alter prices as well.

What you get

  • Shows all available options as dropdowns in product screen (see above).
  • When product is put in cart, the correct variant is created if it doesn't exist yet.
  • The variant will have the price of the product plus the surcharges of its selected option values
  • Existence of a products variant is checked by options and price (if the price is altered a new variant will be created).

Installing it

ruby
# Gemfile
gem "solidus_dynamic_variants"

Details

15 stars on GitHub · BSD-3-Clause licensed · maintained by hefan. Source: https://github.com/hefan/solidus_dynamic_variants

Discussion (0)

Sign in to join the discussion.

No comments yet.