Unirgy Giftcert
Extension Name
Unirgy Giftcert
Developer
Unirgy
Issue Status
Resolved with modifications.
Versions
Unirgy Giftcert 1.1.1.
MageRewards Standard 1.6.0.2
Resolution
1. Copy app/design/frontend/ base/default/layout/ugiftcert.xml to /app/design/frontend/[your_package]/[your_theme]/layout/ugiftcert.xml so that you are not modifying core extension files.
2. Open /app/design/frontend/ [your_package]/[your_theme]/layout/ugiftcert.xml, change:
<checkout_cart_index> <reference name="checkout.cart"> <action method="addItemRender"> <type>ugiftcert</type> <block>ugiftcert/cart_item</block> <template>checkout/cart/item/default.phtml</template> </action> </reference> </checkout_cart_index>
to
<checkout_cart_index> <reference name="checkout.cart"> <action method="addItemRender"> <type>ugiftcert</type> <block>ugiftcert/cart_item</block> <template>rewards/checkout/cart/item/default.phtml</template> </action> </reference> </checkout_cart_index>
3. Copy app/code/ community/Unirgy/Giftcert/Block/Cart/Item.php to app/code/local/Unirgy/Giftcert/Block/Cart/Item.php so that you are not modifying core extension files.
4. Open app/code/ local/Unirgy/Giftcert/Block/Cart/Item.php, change:
class Unirgy_Giftcert_Block_Cart_Item extends Mage_Checkout_Block_Cart_Item_Renderer
to
class Unirgy_Giftcert_Block_Cart_Item extends TBT_Rewards_Block_Checkout_Cart_Item_Renderer
5. Open app/etc/modules/Unirgy_Giftcert.xml and locate the following lines:
<depends> <Mage_Adminhtml/> <Mage_Catalog/> <Mage_Checkout/> <Mage_Sales/> </depends>
6. Add the following dependency to the node (see Resolving extension conflicts):
<TBT_Rewards/>
7. Upload new and modified files to your server.
8. Clear your cache.
Please keep in mind that implementing any modifications to your MageRewards core code does void your support agreement because you're adding dependency to the other module.