Negative Discount does not apply on category pageHow to return Final Price with Tier pricing taken into...

Does Skippy chunky peanut butter contain trans fat?

What is the wife of a henpecked husband called?

What to look for when criticizing poetry?

Quickly creating a sparse array

What are "industrial chops"?

Cat is tipping over bed-side lamps during the night

False written accusations not made public - is there law to cover this?

Why would space fleets be aligned?

What does it mean for a caliber to be flat shooting?

What is the difference between rolling more dice versus fewer dice?

A curious equality of integrals involving the prime counting function?

How to change a n value for a value like X

Nested word series [humans only]

How to read 火日参拾月参

Graph with overlapping labels

How would an AI self awareness kill switch work?

Do theoretical physics suggest that gravity is the exchange of gravitons or deformation/bending of spacetime?

What incentives do banks have to gather up loans into pools (backed by Ginnie Mae)and selling them?

How to deal with an incendiary email that was recalled

Why did Luke use his left hand to shoot?

Why do neural networks need so many training examples to perform?

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

The use of the spellings -zz- vs. -z-

Is boss over stepping boundary/micromanaging?



Negative Discount does not apply on category page


How to return Final Price with Tier pricing taken into accountDo promotions dicount work on special prices?bundle product with fixed price and special price percent does not work with catalogue price rulesCustomer Tax and Discount RulesMagento 1.9.x Discounts deducted from Excl. Tax Price even when Including Tax is set in Apply Discount On Prices SettingsMagento-1.9 Catalog Price Rule exemptionMagento1 :shopping cart price ruleMagento 1.9.4 - Plugin recommedation for changing category pricesMagento - Catalog Rule only on special priceCatalog price rules disappear after night with flat options













2















I have made it possible to apply a negative Discount in the cataloge rules.



After that, i modified the Mage_CatalogRule_Model_Observer by the following code:



if ($this->_rulePrices[$key]!==false) {
// $finalPrice = min($product->getData('final_price'), $this->_rulePrices[$key]);
$finalPrice = $this->_rulePrices[$key];
$product->setFinalPrice($finalPrice);
}


Now i can increase the price for example by 5%. The price is increased in the cart and on detail side of the article. But in the category page, only special prices get increased. When a product have a normal price, the price does not get modified.










share|improve this question





























    2















    I have made it possible to apply a negative Discount in the cataloge rules.



    After that, i modified the Mage_CatalogRule_Model_Observer by the following code:



    if ($this->_rulePrices[$key]!==false) {
    // $finalPrice = min($product->getData('final_price'), $this->_rulePrices[$key]);
    $finalPrice = $this->_rulePrices[$key];
    $product->setFinalPrice($finalPrice);
    }


    Now i can increase the price for example by 5%. The price is increased in the cart and on detail side of the article. But in the category page, only special prices get increased. When a product have a normal price, the price does not get modified.










    share|improve this question



























      2












      2








      2








      I have made it possible to apply a negative Discount in the cataloge rules.



      After that, i modified the Mage_CatalogRule_Model_Observer by the following code:



      if ($this->_rulePrices[$key]!==false) {
      // $finalPrice = min($product->getData('final_price'), $this->_rulePrices[$key]);
      $finalPrice = $this->_rulePrices[$key];
      $product->setFinalPrice($finalPrice);
      }


      Now i can increase the price for example by 5%. The price is increased in the cart and on detail side of the article. But in the category page, only special prices get increased. When a product have a normal price, the price does not get modified.










      share|improve this question
















      I have made it possible to apply a negative Discount in the cataloge rules.



      After that, i modified the Mage_CatalogRule_Model_Observer by the following code:



      if ($this->_rulePrices[$key]!==false) {
      // $finalPrice = min($product->getData('final_price'), $this->_rulePrices[$key]);
      $finalPrice = $this->_rulePrices[$key];
      $product->setFinalPrice($finalPrice);
      }


      Now i can increase the price for example by 5%. The price is increased in the cart and on detail side of the article. But in the category page, only special prices get increased. When a product have a normal price, the price does not get modified.







      magento-1.9






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 56 mins ago









      Teja Bhagavan Kollepara

      2,96341847




      2,96341847










      asked Feb 24 at 19:09









      Christian StegemannChristian Stegemann

      404




      404






















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


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263205%2fnegative-discount-does-not-apply-on-category-page%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
















          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%2f263205%2fnegative-discount-does-not-apply-on-category-page%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

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...