Magento: Store View Based Prices for Products
In Magento 1.7, you can already set catalog prices per website scope. However, if you want to create more granular pricing structures based on specific store views within the same website, you’ll need to leverage a workaround or an extension.
Understanding the Current Scope Limitations
Magento’s default pricing configuration allows you to set prices at the website level. This means that each price is associated with a single website, and all stores belonging to that website will share the same prices for a given product.
While this works well for many scenarios, it falls short when you need to differentiate prices between different store views within a single website. For example, if you have a multi-language site where certain products should be priced differently for each language group, the built-in website scope won’t suffice.
The Store View Pricing Workaround
Although Magento doesn’t support this out-of-the-box, you can achieve store view-based pricing through a combination of attributes and price rules. Here’s a step-by-step approach:
-
Create custom product attributes for each store view. Go to Catalog > Attributes > Manage Attributes. Click “Add New Attribute” and create a new attribute that will store the specific price for each store view.
-
Populate these attributes with the desired prices. For each product, enter the unique price for every store view in the custom attributes you just created.
-
Create tier price rules. Go to Catalog > Price Rules > Add New Rule. Set the rule conditions based on the custom attributes you’ve populated. For example, if you have a “price_fr” attribute for the French store view, set the condition to match this attribute’s value.
-
Apply the tier prices. In your price rules, set the fixed amount or percentage discount that applies when the conditions are met (i.e., a customer is browsing through the specific store view).
Limitations and Drawbacks
While this workaround allows for more granular pricing control, it comes with some drawbacks:
- It requires manual setup for each product. Whenever you add a new product, you’ll need to populate the custom attributes with the unique prices.
- Price updates can become complex to manage across multiple attributes.
Magento Extensions for Advanced Pricing
For a more streamlined solution that handles store view-based pricing natively, consider using third-party extensions. The Laravel Company’s Magento Price per Store extension provides exactly this functionality:
- It allows you to set prices at the store view level in the backend.
- Prices are automatically applied based on the customer’s selected store view.
- It reduces the need for manual attribute population and improves price management efficiency.
Conclusion
While Magento 1.7 doesn’t natively support store view-based pricing, you can achieve this functionality through a combination of custom attributes, tier price rules, and third-party extensions like our Price per Store extension.
Remember that while workarounds exist, they may introduce additional complexity in your product management process. For most use cases, the built-in website scope is sufficient for creating distinct pricing structures between different websites.
However, if you have specific requirements for granular pricing within a single website (like language-based or group-based discounts), leveraging extensions offers a more efficient and managed solution. It’s always recommended to test these changes in a staging environment before deploying them to your live Magento site.
Don’t hesitate to contact us if you have any questions about implementing store view-based pricing in your Magento store or need assistance with other Magento development needs.