We have a client that is selling products with fixed rate variants. In other words so that the base cost is the only price defined whilst others are based on a globally defined multiplier, eg. 1.5x or 3x the base/defined price.

Is there a way (either baked in or via plugin) to have extra variants created or available based on a pre-defined criteria/multiplier? If necessary happy for this to be just in the add to cart/checkout process rather than explicitly defined in the product details/record.

Looking through docs only way could see something like this being possible would be via a plugin automatically adding/updating variants on a product creation/save eg the EVENT_BEFORE_SAVE_ELEMENT event.

  • You can use Feed Me to generate variants. Highly recommend not using one SKU for each unique attribute combination. If it's a different variation of the product it should have its own variant/SKU. Commented Sep 18, 2019 at 20:43

1 Answer 1


I'm not sure if the base cost is global across all products, or varies between products - but either way you could use an Adjuster module or plugin to modify the price of line items in the cart.

That way you don't need to worry about creating any variants in the backend at all, and can store the price multipliers in Global fields if you want to.

To my knowledge there aren't any plugins that do this, but don't be put off my the thought of creating a plugin/module, I'm not much of a developer but have managed it myself : )

This proof-of-concept Adjuster gist should set you in the right direction, and here's another one for good measure.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.