How Do I Disable Spending Block in Checkout Page?

To Disable Spending Block in Checkout Page you need to edit below file.

  1. Copy layout rewardsspend.xml in your store theme layout directory and comment out below code.
  2. For Default Magento Checkout

    <checkout_onepage_index>
            <update handle="rewards_slider_head" />
            <reference name="checkout.onepage.review">
                <block type="rewards/spender_combined" name="points.spender">
                    <action method="setData">
                        <name>additional_selectors</name>
                        <value>checkout-points-spender</value>
                    </action>
                    <action method="setData">
                        <name>element_that_has_to_be_visible</name>
                        <value>checkout-step-review</value>
                    </action>
                    <block type="core/template" name="additional.spender.js.before" template="rewards/spender/additional/onepage.phtml" />
                    <action method="appendBlockHtmlToParent">
                        <ifconfig><![CDATA[rewards/autointegration/shopping_cart_under_coupon]]></ifconfig>
                    </action>
                </block>
            </reference>
        </checkout_onepage_index>
    	
  3. For IDEV OSC Checkout

    <onestepcheckout_index_index>
            <update handle="rewards_slider_head" />
            <reference name="onestepcheckout.summary" before="-">
                <block type="rewards/spender_combined" name="points.spender">
                    <action method="setData">
                        <name>additional_selectors</name>
                        <value>checkout-points-spender onestepcheckout-points-spender</value>
                    </action>
                    <block type="core/template" name="additional.spender.js.before" template="rewards/spender/additional/onestepcheckout.phtml" />
                    <action method="appendBlockHtmlToParent">
                        <ifconfig><![CDATA[rewards/autointegration/shopping_cart_under_coupon]]></ifconfig>
                    </action>
                </block>
            </reference>
        </onestepcheckout_index_index>
    	
  4. Refresh Magento Cache.

Still need help? Get Help Get Help