calculate total price of product for different attributeFrom price for configurables in Magento 2How can I retrieve data from database when I change the drop down?Magneto2 : Add color swatch attribute option with colorcode value programmaticallyNo Product Attributes in Catalog Price Rule OptionsConfigurable product set variant per store viewHow to show dropdown configurable attribute in Product Category View in Magento 2?Magento 2 - Configurable product with multiple price attributesWrong display of VATDisplay Configurable Product Image to Match Filter Selection in Magento 2Layered Navigation: Create Attribute Options for Drop Down During New Product Import
How do you play "tenth" chords on the guitar?
As easy as Three, Two, One... How fast can you go from Five to Four?
Multiband vertical antenna not working as expected
Can the removal of a duty-free sales trolley result in a measurable reduction in emissions?
How and why do references in academic papers work?
Proving that a Russian cryptographic standard is too structured
Increase speed altering column on large table to NON NULL
Do you have to have figures when playing D&D?
Difference templates and layouts
Is Dumbledore a human lie detector?
What is the logic behind charging tax _in the form of money_ for owning property when the property does not produce money?
Trying to get (more) accurate readings from thermistor (electronics, math, and code inside)
C++ logging library
What is the reason for setting flaps 1 on the ground at high temperatures?
Ability To Change Root User Password (Vulnerability?)
Is Lambda Calculus purely syntactic?
Could a person damage a jet airliner - from the outside - with their bare hands?
Analogy between an unknown in an argument, and a contradiction in the principle of explosion
How can powerful telekinesis avoid violating Newton's 3rd Law?
Why is the length of the Kelvin unit of temperature equal to that of the Celsius unit?
Flat with smooth fibers implies formally smooth?
A Salute to Poetry
Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM?
What differences exist between adamantine and adamantite in all editions of D&D?
calculate total price of product for different attribute
From price for configurables in Magento 2How can I retrieve data from database when I change the drop down?Magneto2 : Add color swatch attribute option with colorcode value programmaticallyNo Product Attributes in Catalog Price Rule OptionsConfigurable product set variant per store viewHow to show dropdown configurable attribute in Product Category View in Magento 2?Magento 2 - Configurable product with multiple price attributesWrong display of VATDisplay Configurable Product Image to Match Filter Selection in Magento 2Layered Navigation: Create Attribute Options for Drop Down During New Product Import
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am new to magento and trying to calculate total price of any configurable product in magento 2,and I am struggling with it.
Suppose I have two dropdown attribute as following,
1. Paper size
Option Price
A4 1$
A3 2$
2. Color option
Option Price
black & white 1$
colored 2$
Result would have been something like:
If someone selected,
paper size = A4
color option = black & white
total price = 1+1 = 2$
If someone selected,
paper size = A4
color option = colored
total price = 1+2 = 3$
similarly,if,
paper size = A3
color option = colored
total price = 2+2 = 4$
But the total price looks something different than i have expected. And there would be more drop down attribute like this. Did i make something wrong ? Is there any better way to do it. Thanks in advance.
magento2 configuration
add a comment |
I am new to magento and trying to calculate total price of any configurable product in magento 2,and I am struggling with it.
Suppose I have two dropdown attribute as following,
1. Paper size
Option Price
A4 1$
A3 2$
2. Color option
Option Price
black & white 1$
colored 2$
Result would have been something like:
If someone selected,
paper size = A4
color option = black & white
total price = 1+1 = 2$
If someone selected,
paper size = A4
color option = colored
total price = 1+2 = 3$
similarly,if,
paper size = A3
color option = colored
total price = 2+2 = 4$
But the total price looks something different than i have expected. And there would be more drop down attribute like this. Did i make something wrong ? Is there any better way to do it. Thanks in advance.
magento2 configuration
add a comment |
I am new to magento and trying to calculate total price of any configurable product in magento 2,and I am struggling with it.
Suppose I have two dropdown attribute as following,
1. Paper size
Option Price
A4 1$
A3 2$
2. Color option
Option Price
black & white 1$
colored 2$
Result would have been something like:
If someone selected,
paper size = A4
color option = black & white
total price = 1+1 = 2$
If someone selected,
paper size = A4
color option = colored
total price = 1+2 = 3$
similarly,if,
paper size = A3
color option = colored
total price = 2+2 = 4$
But the total price looks something different than i have expected. And there would be more drop down attribute like this. Did i make something wrong ? Is there any better way to do it. Thanks in advance.
magento2 configuration
I am new to magento and trying to calculate total price of any configurable product in magento 2,and I am struggling with it.
Suppose I have two dropdown attribute as following,
1. Paper size
Option Price
A4 1$
A3 2$
2. Color option
Option Price
black & white 1$
colored 2$
Result would have been something like:
If someone selected,
paper size = A4
color option = black & white
total price = 1+1 = 2$
If someone selected,
paper size = A4
color option = colored
total price = 1+2 = 3$
similarly,if,
paper size = A3
color option = colored
total price = 2+2 = 4$
But the total price looks something different than i have expected. And there would be more drop down attribute like this. Did i make something wrong ? Is there any better way to do it. Thanks in advance.
magento2 configuration
magento2 configuration
edited Jun 11 '16 at 18:52
Manohar Khadka
1032
1032
asked Jun 11 '16 at 18:46
Bikash WaibaBikash Waiba
12
12
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I've figured out this myself after i got idea from here
Steps are:
1. Create a new bundle product
2. select ship bundle item option "together"
3. click "create new option" then "add products"
4. select the products you want to add to the bundle
5. save the product
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f120494%2fcalculate-total-price-of-product-for-different-attribute%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I've figured out this myself after i got idea from here
Steps are:
1. Create a new bundle product
2. select ship bundle item option "together"
3. click "create new option" then "add products"
4. select the products you want to add to the bundle
5. save the product
add a comment |
I've figured out this myself after i got idea from here
Steps are:
1. Create a new bundle product
2. select ship bundle item option "together"
3. click "create new option" then "add products"
4. select the products you want to add to the bundle
5. save the product
add a comment |
I've figured out this myself after i got idea from here
Steps are:
1. Create a new bundle product
2. select ship bundle item option "together"
3. click "create new option" then "add products"
4. select the products you want to add to the bundle
5. save the product
I've figured out this myself after i got idea from here
Steps are:
1. Create a new bundle product
2. select ship bundle item option "together"
3. click "create new option" then "add products"
4. select the products you want to add to the bundle
5. save the product
answered Jun 12 '16 at 5:41
Bikash WaibaBikash Waiba
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f120494%2fcalculate-total-price-of-product-for-different-attribute%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown