Magento - Calculate price of simple product based on 2 custom options

Posted on 2014-10-21
Last Modified: 2016-03-02

How can i determine the price of a product in magento based in 2 custom options?

I have 2 options that influence the price - size and colour

I can see how you can configure 1 cutom option to add to the price but how do you do it for 2 or more?

Question by:coolispaul
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 58

Expert Comment

ID: 40394590
You create a product for every possible combination e.g. Blue/Small and Blue/Large would be two seperate products
From memory this wouldn't be a simple product but a configurable product

Author Comment

ID: 40394628
yes but i dont want to do that as that is a lot of hassle.

I want to use custom options for all of my variants rather than create a complex product

LVL 58

Expert Comment

ID: 40394635
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

LVL 58

Expert Comment

ID: 40395921
Your other option is to create 1 custom option that includes all possible varieties of color/size

Accepted Solution

coolispaul earned 0 total points
ID: 40396324
true but i need the user to be able to select one option and then another option.
Be too confusing for them to pick both at same time...

Do you think this extension will cater for it?
LVL 58

Expert Comment

ID: 40397029
That seems to concern itself with dependant options, nothing to do with custom option pricing

Author Closing Comment

ID: 40446819
this extension did what i needed

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In t…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question