Magento Configurable Product Pricing

Magento Configurable Product Pricing

September 23, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento Configurable Product Pricing

Configuring Variable Products for Size-Based Pricing in Magento

As an experienced e-commerce developer working with Magento, I often encounter clients who want to offer multiple sizes or variations of the same product but maintain a single product listing. This is especially relevant for restaurants that need to manage different size options and corresponding prices for their menu items seamlessly.

Understanding Configurable Products vs Variable Products in Magento

In Magento 2, there are two main types of products that allow you to create variants: Configurable Products and Variable Products.

  • Configurable Products: Suitable when attributes don’t affect each other’s pricing. For example, a t-shirt with different sizes but the same color.

  • Variable Products: Designed for attributes that affect each other’s pricing or require custom formulas (e.g., area calculations). Perfect for restaurants offering pizzas of various sizes with corresponding price adjustments.

Setting Up Variable Products for Size-Based Pricing

To achieve your goal, we’ll create a variable product in Magento for your pizza size options. Here’s a step-by-step guide:

Step 1: Create the Base Product and Attributes

First, you need to create a base product without any attributes or price. This will serve as the parent for your variable products.

  1. Navigate to Catalog > Products and click on Add New Product.

  2. Select Base Configurable Attribute Set from the dropdown menu.

  3. Fill in the basic information (SKU, Name, etc.) but leave the price field blank.

  4. Click Save as a draft.

Step 2: Create Attribute Options for Size

Next, we need to create the size attributes that will determine the price variation.

  1. Go to Products > Attributes.

  2. Click on Add New Attribute. Name it “Size” and select Dropdown from the dropdown menu.

  3. In the Values box, add your size options (e.g., Small, Medium, Large).

  4. Save the attribute.

Step 3: Add Variations to the Base Product

Now let’s create the variable products based on our base product and size attributes.

  1. Go back to the draft product created earlier.

  2. In the Variations tab, click on Add Configurations.

  3. Select your “Size” attribute and choose the options you want (Small, Medium, Large).

  4. For each option, enter the corresponding price under the Price column.

  5. Click Save Configurations. Your variable products are now created with the specified sizes and prices.

Conclusion: Seamless Size-Based Pricing with Magento Variable Products

As a developer, I recommend using variable products for restaurant menus that require size-based pricing variations. This approach ensures a clean, organized catalog structure while providing customers with clear options for each menu item’s size.

Remember to optimize your site performance by enabling caching and using CDN services if you have a large product inventory. For advanced customizations or complex pricing formulas, consider integrating Magento 2 extensions from reputable providers like Laravel Company.

By following this guide, you can create an intuitive ordering experience for your restaurant while keeping your product management efficient in the Magento backend.

Happy developing!

Magento 2 Catalog Database API

Our network