chuvisco/catalog-rule-fix

Fix timezone issues in the Mage_CatalogRule module.

1.1.1 2018-04-15 11:08 UTC

This package is auto-updated.

Last update: 2024-05-08 10:23:58 UTC


README

The CatalogRuleFix overrides Magento's default behaviour of the CatalogRule indexing.

Following two things are overridden:

  • The cronjob for catalogrule_apply_all is 0 0 * * * instead of 0 1 * * *
  • The index refresher uses local time instead of gmt time
  • Inserting of rules by the resource model uses local time instead of gmt time

Installation

NOTE: Running Chuvisco_CatalogRuleFix requires you to run the cronjobs of Magento. If they are not set up, please do so by following the docs.

This module can be installed in various ways: via modman, Composer or manually. Currently installation via Magento Connect is not supported.

Modman

  1. Install modman
  2. Execute the following command from your Magento installation folder:
modman clone https://github.com/Chuvisco88/Chuvisco_CatalogRuleFix.git

Composer

  1. Install Composer
  2. Install Magento Composer
  3. Add the repository to the Composer configuration of your project:
composer config repositories.catalogrulefix vcs https://github.com/Chuvisco88/Chuvisco_CatalogRuleFix.git
  1. Add the package to the Composer configuration of your project:
composer require "chuvisco/catalog-rule-fix"

Manually

Download the zip or tar.gz file and extract it into your project webroot.

Changelog

The changelog is in another castle.

Roadmap

  • Tests and TravisCI integration
  • Magento Connect integration

Authors, contributors and maintainers

Author:

Contributions:

Ideas, bugs, contributions, comments, feature suggestions?

Please get in touch with me via the issue tracker on GitHub.

Compatibility

  • PHP:
    • 5.6
  • Magento CE:
    • 1.9.3.2

I would love to hear from you, if it works with other systems (versions of php and/or magento) as well.

License

MIT