Catalog price rules disappear after night with flat optionsVAT Tax (EU from UK) not displaying on shopping...

A curious equality of integrals involving the prime counting function?

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

Do authors have to be politically correct in article-writing?

Finding a logistic regression model which can achieve zero error on a training set training data for a binary classification problem with two features

How to change a n value for a value like X

Gear reduction on large turbofans

Dilemma of explaining to interviewer that he is the reason for declining second interview

What are "industrial chops"?

What is the purpose of easy combat scenarios that don't need resource expenditure?

Has any human ever had the choice to leave Earth permanently?

Is there any risk in sharing info about technologies and products we use with a supplier?

Why am I able to open Wireshark and capture packets in macOS without root privileges?

Graph with overlapping labels

Can a hotel cancel a confirmed reservation?

How does Leonard in "Memento" remember reading and writing?

use of 4/2 chord more compelling than root position?

Difference between i++ and (i)++ in C

Nested word series [humans only]

Positioning node within rectangle Tikz

Early credit roll before the end of the film

If I delete my router's history can my ISP still provide it to my parents?

Odd 74HCT1G125 behaviour

Use two 8s and two 3s to make the number 24

What is the most fuel efficient way out of the Solar System?



Catalog price rules disappear after night with flat options


VAT Tax (EU from UK) not displaying on shopping basketCatalog Price Rules revokecatalog price rules disappear after mid nightShopping cart rule not applying to shippingCatalog price rules disappear after 24 hours in Magento 1.9.2.2bundle product with fixed price and special price percent does not work with catalogue price rulesCatalog Price Rules 'switching off'Magento : Catalog Price Rules “Apply Rules” Programmaticallymagento 1.9 catalog price rules disappear in view page overnightNo Search after Activate flat products / categories













2















I have activated the flat category and flat product option and furthermore i have activated different cataloge price rules.



After the night my special prices are not shown anymore even when i clicked on "apply rules". I need to disable flat options and apply the rules and then activate flat options with reindex.



So how could i fix that? I just want to keep all rules everyday and reindex myself when doing changes for some products.










share|improve this question





























    2















    I have activated the flat category and flat product option and furthermore i have activated different cataloge price rules.



    After the night my special prices are not shown anymore even when i clicked on "apply rules". I need to disable flat options and apply the rules and then activate flat options with reindex.



    So how could i fix that? I just want to keep all rules everyday and reindex myself when doing changes for some products.










    share|improve this question



























      2












      2








      2








      I have activated the flat category and flat product option and furthermore i have activated different cataloge price rules.



      After the night my special prices are not shown anymore even when i clicked on "apply rules". I need to disable flat options and apply the rules and then activate flat options with reindex.



      So how could i fix that? I just want to keep all rules everyday and reindex myself when doing changes for some products.










      share|improve this question
















      I have activated the flat category and flat product option and furthermore i have activated different cataloge price rules.



      After the night my special prices are not shown anymore even when i clicked on "apply rules". I need to disable flat options and apply the rules and then activate flat options with reindex.



      So how could i fix that? I just want to keep all rules everyday and reindex myself when doing changes for some products.







      magento-1.9






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 54 mins ago









      Teja Bhagavan Kollepara

      2,96341847




      2,96341847










      asked 2 days ago









      Christian StegemannChristian Stegemann

      404




      404






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The problem is in Mage_CatalogRule_Model_Action_Index_Refresh::execute() method. You will have to rewrite this function/class either in your extension, or via the local version of the file.



          You have to replace line 121 here :




          app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php




          $timestamp = $coreDate->gmtTimestamp('Today');


          with this line:



          $timestamp = Mage::app()->getLocale()->date(null, null, null, true)->get(Zend_Date::TIMESTAMP);


          After that you should be able to apply the rules.






          share|improve this answer
























          • Thank you for the fast answer. My Server time is the same as the local time, are you sure that this is the solution? Why?

            – Christian Stegemann
            2 days ago











          • yes i am sure for my answer and i have faced same issue in past

            – Rakesh Donga
            2 days ago











          • Please upvote and accept the answer if it's helpful.

            – Rakesh Donga
            2 days ago











          • Thank you, i will change the code, test it and accept the answer as helpful when it is working.

            – Christian Stegemann
            2 days ago











          • I tried your code, but i have still the problem. Now i just removes the <crontab> tags and everything between in the config.xml (app/code/core/Mage/CatalogRule/etc). I hope that will fix the problem.

            – Christian Stegemann
            yesterday













          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%2f263296%2fcatalog-price-rules-disappear-after-night-with-flat-options%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














          The problem is in Mage_CatalogRule_Model_Action_Index_Refresh::execute() method. You will have to rewrite this function/class either in your extension, or via the local version of the file.



          You have to replace line 121 here :




          app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php




          $timestamp = $coreDate->gmtTimestamp('Today');


          with this line:



          $timestamp = Mage::app()->getLocale()->date(null, null, null, true)->get(Zend_Date::TIMESTAMP);


          After that you should be able to apply the rules.






          share|improve this answer
























          • Thank you for the fast answer. My Server time is the same as the local time, are you sure that this is the solution? Why?

            – Christian Stegemann
            2 days ago











          • yes i am sure for my answer and i have faced same issue in past

            – Rakesh Donga
            2 days ago











          • Please upvote and accept the answer if it's helpful.

            – Rakesh Donga
            2 days ago











          • Thank you, i will change the code, test it and accept the answer as helpful when it is working.

            – Christian Stegemann
            2 days ago











          • I tried your code, but i have still the problem. Now i just removes the <crontab> tags and everything between in the config.xml (app/code/core/Mage/CatalogRule/etc). I hope that will fix the problem.

            – Christian Stegemann
            yesterday


















          0














          The problem is in Mage_CatalogRule_Model_Action_Index_Refresh::execute() method. You will have to rewrite this function/class either in your extension, or via the local version of the file.



          You have to replace line 121 here :




          app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php




          $timestamp = $coreDate->gmtTimestamp('Today');


          with this line:



          $timestamp = Mage::app()->getLocale()->date(null, null, null, true)->get(Zend_Date::TIMESTAMP);


          After that you should be able to apply the rules.






          share|improve this answer
























          • Thank you for the fast answer. My Server time is the same as the local time, are you sure that this is the solution? Why?

            – Christian Stegemann
            2 days ago











          • yes i am sure for my answer and i have faced same issue in past

            – Rakesh Donga
            2 days ago











          • Please upvote and accept the answer if it's helpful.

            – Rakesh Donga
            2 days ago











          • Thank you, i will change the code, test it and accept the answer as helpful when it is working.

            – Christian Stegemann
            2 days ago











          • I tried your code, but i have still the problem. Now i just removes the <crontab> tags and everything between in the config.xml (app/code/core/Mage/CatalogRule/etc). I hope that will fix the problem.

            – Christian Stegemann
            yesterday
















          0












          0








          0







          The problem is in Mage_CatalogRule_Model_Action_Index_Refresh::execute() method. You will have to rewrite this function/class either in your extension, or via the local version of the file.



          You have to replace line 121 here :




          app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php




          $timestamp = $coreDate->gmtTimestamp('Today');


          with this line:



          $timestamp = Mage::app()->getLocale()->date(null, null, null, true)->get(Zend_Date::TIMESTAMP);


          After that you should be able to apply the rules.






          share|improve this answer













          The problem is in Mage_CatalogRule_Model_Action_Index_Refresh::execute() method. You will have to rewrite this function/class either in your extension, or via the local version of the file.



          You have to replace line 121 here :




          app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php




          $timestamp = $coreDate->gmtTimestamp('Today');


          with this line:



          $timestamp = Mage::app()->getLocale()->date(null, null, null, true)->get(Zend_Date::TIMESTAMP);


          After that you should be able to apply the rules.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          Rakesh DongaRakesh Donga

          1,278316




          1,278316













          • Thank you for the fast answer. My Server time is the same as the local time, are you sure that this is the solution? Why?

            – Christian Stegemann
            2 days ago











          • yes i am sure for my answer and i have faced same issue in past

            – Rakesh Donga
            2 days ago











          • Please upvote and accept the answer if it's helpful.

            – Rakesh Donga
            2 days ago











          • Thank you, i will change the code, test it and accept the answer as helpful when it is working.

            – Christian Stegemann
            2 days ago











          • I tried your code, but i have still the problem. Now i just removes the <crontab> tags and everything between in the config.xml (app/code/core/Mage/CatalogRule/etc). I hope that will fix the problem.

            – Christian Stegemann
            yesterday





















          • Thank you for the fast answer. My Server time is the same as the local time, are you sure that this is the solution? Why?

            – Christian Stegemann
            2 days ago











          • yes i am sure for my answer and i have faced same issue in past

            – Rakesh Donga
            2 days ago











          • Please upvote and accept the answer if it's helpful.

            – Rakesh Donga
            2 days ago











          • Thank you, i will change the code, test it and accept the answer as helpful when it is working.

            – Christian Stegemann
            2 days ago











          • I tried your code, but i have still the problem. Now i just removes the <crontab> tags and everything between in the config.xml (app/code/core/Mage/CatalogRule/etc). I hope that will fix the problem.

            – Christian Stegemann
            yesterday



















          Thank you for the fast answer. My Server time is the same as the local time, are you sure that this is the solution? Why?

          – Christian Stegemann
          2 days ago





          Thank you for the fast answer. My Server time is the same as the local time, are you sure that this is the solution? Why?

          – Christian Stegemann
          2 days ago













          yes i am sure for my answer and i have faced same issue in past

          – Rakesh Donga
          2 days ago





          yes i am sure for my answer and i have faced same issue in past

          – Rakesh Donga
          2 days ago













          Please upvote and accept the answer if it's helpful.

          – Rakesh Donga
          2 days ago





          Please upvote and accept the answer if it's helpful.

          – Rakesh Donga
          2 days ago













          Thank you, i will change the code, test it and accept the answer as helpful when it is working.

          – Christian Stegemann
          2 days ago





          Thank you, i will change the code, test it and accept the answer as helpful when it is working.

          – Christian Stegemann
          2 days ago













          I tried your code, but i have still the problem. Now i just removes the <crontab> tags and everything between in the config.xml (app/code/core/Mage/CatalogRule/etc). I hope that will fix the problem.

          – Christian Stegemann
          yesterday







          I tried your code, but i have still the problem. Now i just removes the <crontab> tags and everything between in the config.xml (app/code/core/Mage/CatalogRule/etc). I hope that will fix the problem.

          – Christian Stegemann
          yesterday




















          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%2f263296%2fcatalog-price-rules-disappear-after-night-with-flat-options%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...