AW_Points

by Peter D.
1. Open /app/code/local/AW/Points/Block/Checkout/Onepage/Payment/Methods.php
2. Find the following lines (~44-46):
 $this->setTemplate('aw_points/checkout/onepage/payment/' . $magentoVersionTag . '/methods.phtml');

      return parent::_toHtml();
  }
3. Add our code between them:
      if ('firecheckout' === $this->getRequest()->getRouteName()) {
          $this->setTemplate('tm/firecheckout/checkout/payment/methods.phtml');
      }
The result should be similar to this:
      $this->setTemplate('aw_points/checkout/onepage/payment/' . $magentoVersionTag . '/methods.phtml');

      if ('firecheckout' === $this->getRequest()->getRouteName()) {
          $this->setTemplate('tm/firecheckout/checkout/payment/methods.phtml');
      }

      return parent::_toHtml();
4. Refresh cache and try to use points at firecheckout page.

Recent articles

Back to top