Apply custom discount rule on products before magento default catalog promotion rulesMagento catalog price rulesRan into case of catalog price rules only applying on Save and ApplyPromotions/Catalog Price Rules - Applying product's price rule only for 2 daysUsing Catalog Rules with Fixed Product TaxCatalog Price Rules applied to special_priceCart/Catalog Price rule for a set of products onlyProduct price calculation on order emails and pdfsGet Catalog Price Rules for ProductCatalog Price Rule - discount issue (possible rounding problem?)Magento 2.3 - event when catalog price rules are applied
Draw simple lines in Inkscape
Why Is Death Allowed In the Matrix?
How is this relation reflexive?
Type 1 Error & Type 2 Error's pregnancy test analogy: is it legit?
How is it possible to have an ability score that is less than 3?
Is the month field really deprecated?
What is the command to reset a PC without deleting any files
Is the language p and n are natural numbers and there's no prime number in [p,p+n] belongs to NP class?
"You are your self first supporter", a more proper way to say it
Underlining section titles
Today is the Center
I probably found a bug with the sudo apt install function
Why don't electromagnetic waves interact with each other?
When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?
Is there really no realistic way for a skeleton monster to move around without magic?
Can I interfere when another PC is about to be attacked?
Is there a familial term for apples and pears?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
How long does it take to type this?
Why don't electron-positron collisions release infinite energy?
Is there any sparring that doesn't involve punches to the head?
Why are only specific transaction types accepted into the mempool?
N.B. ligature in Latex
What are these boxed doors outside store fronts in New York?
Apply custom discount rule on products before magento default catalog promotion rules
Magento catalog price rulesRan into case of catalog price rules only applying on Save and ApplyPromotions/Catalog Price Rules - Applying product's price rule only for 2 daysUsing Catalog Rules with Fixed Product TaxCatalog Price Rules applied to special_priceCart/Catalog Price rule for a set of products onlyProduct price calculation on order emails and pdfsGet Catalog Price Rules for ProductCatalog Price Rule - discount issue (possible rounding problem?)Magento 2.3 - event when catalog price rules are applied
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
i have a situation where i need to apply a custom price (calculated based on cost price) on products before catalog promotion rules being applied. Currently i have successfully applied product price by overriding
getPrice()
method from /app/code/core/Mage/Catalog/Model/Product/Type/Price.php and
catalog_product_collection_load_after
event. but it blocks catalog rule to be applied. i.e default catalog rules are now disabled.
In short i want to modify product price before catalog rule being applied. Is there a way i can achieve this? Thanks in advance for any kind of help.
module catalog-price-rules
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
i have a situation where i need to apply a custom price (calculated based on cost price) on products before catalog promotion rules being applied. Currently i have successfully applied product price by overriding
getPrice()
method from /app/code/core/Mage/Catalog/Model/Product/Type/Price.php and
catalog_product_collection_load_after
event. but it blocks catalog rule to be applied. i.e default catalog rules are now disabled.
In short i want to modify product price before catalog rule being applied. Is there a way i can achieve this? Thanks in advance for any kind of help.
module catalog-price-rules
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
i have a situation where i need to apply a custom price (calculated based on cost price) on products before catalog promotion rules being applied. Currently i have successfully applied product price by overriding
getPrice()
method from /app/code/core/Mage/Catalog/Model/Product/Type/Price.php and
catalog_product_collection_load_after
event. but it blocks catalog rule to be applied. i.e default catalog rules are now disabled.
In short i want to modify product price before catalog rule being applied. Is there a way i can achieve this? Thanks in advance for any kind of help.
module catalog-price-rules
i have a situation where i need to apply a custom price (calculated based on cost price) on products before catalog promotion rules being applied. Currently i have successfully applied product price by overriding
getPrice()
method from /app/code/core/Mage/Catalog/Model/Product/Type/Price.php and
catalog_product_collection_load_after
event. but it blocks catalog rule to be applied. i.e default catalog rules are now disabled.
In short i want to modify product price before catalog rule being applied. Is there a way i can achieve this? Thanks in advance for any kind of help.
module catalog-price-rules
module catalog-price-rules
edited Aug 19 '15 at 7:43
Haris
asked Aug 19 '15 at 7:35
HarisHaris
55111024
55111024
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can extend
Mage_Catalog_Model_Product_Type_Configurable_Price
and
Mage_Catalog_Model_Product_Type_Price
And modify the getFinalPrice method to change prices for configurable and simple products.
This will modify the price before any other catalog price rules are applied.
Thankx for your suggestion, in order to modify product prices i already implemented this method. it works for products without catalog rules.
– Haris
Aug 20 '15 at 9:09
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%2f79156%2fapply-custom-discount-rule-on-products-before-magento-default-catalog-promotion%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
You can extend
Mage_Catalog_Model_Product_Type_Configurable_Price
and
Mage_Catalog_Model_Product_Type_Price
And modify the getFinalPrice method to change prices for configurable and simple products.
This will modify the price before any other catalog price rules are applied.
Thankx for your suggestion, in order to modify product prices i already implemented this method. it works for products without catalog rules.
– Haris
Aug 20 '15 at 9:09
add a comment |
You can extend
Mage_Catalog_Model_Product_Type_Configurable_Price
and
Mage_Catalog_Model_Product_Type_Price
And modify the getFinalPrice method to change prices for configurable and simple products.
This will modify the price before any other catalog price rules are applied.
Thankx for your suggestion, in order to modify product prices i already implemented this method. it works for products without catalog rules.
– Haris
Aug 20 '15 at 9:09
add a comment |
You can extend
Mage_Catalog_Model_Product_Type_Configurable_Price
and
Mage_Catalog_Model_Product_Type_Price
And modify the getFinalPrice method to change prices for configurable and simple products.
This will modify the price before any other catalog price rules are applied.
You can extend
Mage_Catalog_Model_Product_Type_Configurable_Price
and
Mage_Catalog_Model_Product_Type_Price
And modify the getFinalPrice method to change prices for configurable and simple products.
This will modify the price before any other catalog price rules are applied.
answered Aug 19 '15 at 7:52
pajpaj
2,62521026
2,62521026
Thankx for your suggestion, in order to modify product prices i already implemented this method. it works for products without catalog rules.
– Haris
Aug 20 '15 at 9:09
add a comment |
Thankx for your suggestion, in order to modify product prices i already implemented this method. it works for products without catalog rules.
– Haris
Aug 20 '15 at 9:09
Thankx for your suggestion, in order to modify product prices i already implemented this method. it works for products without catalog rules.
– Haris
Aug 20 '15 at 9:09
Thankx for your suggestion, in order to modify product prices i already implemented this method. it works for products without catalog rules.
– Haris
Aug 20 '15 at 9:09
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%2f79156%2fapply-custom-discount-rule-on-products-before-magento-default-catalog-promotion%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