Search on Knowledge Base
Amasty Coupons integration with Firecheckout
Nov 15, 2016 by Peter D.
1. Open app/code/community/Amasty/Coupons/Block/Rewrite/Cart/Coupon.php and find the following code:
protected function _toHtml()
  {
      $this->setTemplate('amcoupon/checkout/cart/coupon.phtml');
      return parent::_toHtml();
  }
2. Replace it with:
protected function _toHtml()
  {
      $this->setTemplate('amcoupon/checkout/cart/coupon.phtml');
      if ('firecheckout' === $this->getRequest()->getRouteName()) {
          $this->setTemplate('tm/firecheckout/amcoupon/checkout/cart/coupon.phtml');
      }
      return parent::_toHtml();
  }
and save the file. 3. Disable compilation mode and clear Magento cache.
Get Discount!

Get your personal discount !

Like us on Facebook, post a Tweet or rate us at Google Plus to get instant 10% OFF on any purchase from our store.

Please make your choice
Discount Coupon Code

Back to top