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;








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.










share|improve this question
















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.





















    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.










    share|improve this question
















    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.

















      0












      0








      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























          • 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











          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
          );



          );













          draft saved

          draft discarded


















          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









          0














          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.






          share|improve this answer























          • 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















          0














          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.






          share|improve this answer























          • 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













          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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

















          • 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

















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

          Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

          Aasi (pallopeli) Navigointivalikko