Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.73 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.73 KB

Hyvä Themes Compatibility module for Amasty_Rewards

Compatibility features

  1. Displaying a potencial rewards on category pages

  1. Showing logged-in customers their reward points balance

  1. Displaying a potencial earn points after buy product

  1. Showing a potencial earn points on the cart page

  1. Redeem their reward points partially. Apply/Cancel controls.

Installation

  1. Install via composer
    composer config repositories.hyva-themes/magento2-amasty-rewards git [email protected]:hyva-themes/hyva-compat/magento2-amasty-rewards.git
    composer require hyva-themes/magento2-amasty-rewards
    
  2. Enable module
    bin/magento setup:upgrade
    

Workaround for fix the FPC issue on category pages for auth customer:

  1. Copy the vendor/hyva-themes/magento2-default-theme/Magento_Catalog/templates/product/list.phtml to you own theme
  2. Change line ->setData('cache_lifetime', 3600) to ->setData('cache_lifetime', 0).