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
Motorized valve interfering with button?
Infinite past with a beginning?
Theorems that impeded progress
N.B. ligature in Latex
A function which translates a sentence to title-case
Is it possible to do 50 km distance without any previous training?
Why can't I see bouncing of a switch on an oscilloscope?
"which" command doesn't work / path of Safari?
How can I fix this gap between bookcases I made?
Possibly bubble sort algorithm
Shell script can be run only with sh command
Is the language <p,n> belongs to NP class?
Prevent a directory in /tmp from being deleted
XeLaTeX and pdfLaTeX ignore hyphenation
How to type dʒ symbol (IPA) on Mac?
How long does it take to type this?
Draw simple lines in Inkscape
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
Why is the design of haulage companies so “special”?
Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).
GPS Rollover on Android Smartphones
If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?
What are these boxed doors outside store fronts in New York?
What defenses are there against being summoned by the Gate spell?
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♦ 3 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♦ 3 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♦ 3 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♦ 3 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