Shopping Cart Price Rule with two dependent discount rules
I'm looking for a solution to a very tricky price rule:
The client gives 20% discount to every discountable article (if an article is discountable is set in an article attribute) only for a special customer group.
This far it's easy to set up in Magento, but here we go:
When the discounted subtotal gets higher than 400, a tier discount comes to life: 40% on articles X, 33% on articles Y, 25% on articles Z and 20% on all left discountable articles. The big problem I've got here, is that the tier discount isn't based on the first 20% account, it's based on the original price again.
And I can't figure out any way to do this natively in Magento. Unfortunately catalog price rules and cart price rules are completely independent, so this is also no option.
I'm not afraid to do some extra coding, but I have no idea where to start without messing up the complete Magento installation.
In my opinion there are only 2 and a half ways to get this done but I have no idea how to achieve this:
1. Hard code the rule.
2. Adding a custom condition to the rules editor or nesting the first 20% rule.
At the moment, I'm completely lost on this topic, so please, every Magento expert out there, I'm grateful for every hint, tip or advice.
shopping-cart-price-rules discount tierprice
add a comment |
I'm looking for a solution to a very tricky price rule:
The client gives 20% discount to every discountable article (if an article is discountable is set in an article attribute) only for a special customer group.
This far it's easy to set up in Magento, but here we go:
When the discounted subtotal gets higher than 400, a tier discount comes to life: 40% on articles X, 33% on articles Y, 25% on articles Z and 20% on all left discountable articles. The big problem I've got here, is that the tier discount isn't based on the first 20% account, it's based on the original price again.
And I can't figure out any way to do this natively in Magento. Unfortunately catalog price rules and cart price rules are completely independent, so this is also no option.
I'm not afraid to do some extra coding, but I have no idea where to start without messing up the complete Magento installation.
In my opinion there are only 2 and a half ways to get this done but I have no idea how to achieve this:
1. Hard code the rule.
2. Adding a custom condition to the rules editor or nesting the first 20% rule.
At the moment, I'm completely lost on this topic, so please, every Magento expert out there, I'm grateful for every hint, tip or advice.
shopping-cart-price-rules discount tierprice
add a comment |
I'm looking for a solution to a very tricky price rule:
The client gives 20% discount to every discountable article (if an article is discountable is set in an article attribute) only for a special customer group.
This far it's easy to set up in Magento, but here we go:
When the discounted subtotal gets higher than 400, a tier discount comes to life: 40% on articles X, 33% on articles Y, 25% on articles Z and 20% on all left discountable articles. The big problem I've got here, is that the tier discount isn't based on the first 20% account, it's based on the original price again.
And I can't figure out any way to do this natively in Magento. Unfortunately catalog price rules and cart price rules are completely independent, so this is also no option.
I'm not afraid to do some extra coding, but I have no idea where to start without messing up the complete Magento installation.
In my opinion there are only 2 and a half ways to get this done but I have no idea how to achieve this:
1. Hard code the rule.
2. Adding a custom condition to the rules editor or nesting the first 20% rule.
At the moment, I'm completely lost on this topic, so please, every Magento expert out there, I'm grateful for every hint, tip or advice.
shopping-cart-price-rules discount tierprice
I'm looking for a solution to a very tricky price rule:
The client gives 20% discount to every discountable article (if an article is discountable is set in an article attribute) only for a special customer group.
This far it's easy to set up in Magento, but here we go:
When the discounted subtotal gets higher than 400, a tier discount comes to life: 40% on articles X, 33% on articles Y, 25% on articles Z and 20% on all left discountable articles. The big problem I've got here, is that the tier discount isn't based on the first 20% account, it's based on the original price again.
And I can't figure out any way to do this natively in Magento. Unfortunately catalog price rules and cart price rules are completely independent, so this is also no option.
I'm not afraid to do some extra coding, but I have no idea where to start without messing up the complete Magento installation.
In my opinion there are only 2 and a half ways to get this done but I have no idea how to achieve this:
1. Hard code the rule.
2. Adding a custom condition to the rules editor or nesting the first 20% rule.
At the moment, I'm completely lost on this topic, so please, every Magento expert out there, I'm grateful for every hint, tip or advice.
shopping-cart-price-rules discount tierprice
shopping-cart-price-rules discount tierprice
edited yesterday
Kirti Nariya
1,010314
1,010314
asked Sep 17 '15 at 13:53
Patrick
62
62
add a comment |
add a comment |
0
active
oldest
votes
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%2f83430%2fshopping-cart-price-rule-with-two-dependent-discount-rules%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f83430%2fshopping-cart-price-rule-with-two-dependent-discount-rules%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