Blog Sections Open

Handling Multiple Prices for One Shopkeeper Product

When one product has several variants with separate prices and quantities, the cart model needs to represent the variant explicitly instead of treating the item as one flat product row.

This donor described a familiar commerce problem: one product page needs several selectable variants, each with its own price, and the customer may specify a separate quantity for each variant.

Why this is hard

A basic Shopkeeper price widget can attach one price-like parameter, but that does not automatically produce a true variant matrix with independent quantities.

Recommendation

Treat each purchasable variation as a structured variant, not just a display option. Once a customer can enter quantities per variation, the product model must reflect that in the cart and order layer as well.

Newer post

Implementing Basic Visitor Geotargeting in a MODX Project

Geotargeting starts as a city-detection feature, but quickly becomes a content, cache, and fallback problem if the site depends on it heavily.

Older post

Disabling Email Activation in WebSignUp

If new users should start working immediately after signup, the registration flow has to switch from activation-first to trusted or moderated onboarding.