[DEV] Remove the "Move to Shopping cart" / "Copy to Cart" button on the quotation page

Do you need to get rid of the "Copy to Cart" button on the quotation page?

If you're using Not2Order and you're not offering any direct orders on your website, you might want to get rid of this button.

 For newer versions:

look in app/design/frontend/base/default/template/qquoteadv/quote.phtml and remove:

<button type="button" onclick="<?php echo $action; ?>" title="<?php echo $this->__('Move to Shopping cart') ?>"
class="button btn-update" ><span><span><?php echo $this->__('Move to Shopping cart') ?></span></span></button>

 

for older versions:


Please comment out

tfoot[0].appendChild($('c2qBtn'));

by adding to  forward slashes in front of this line  in app\design\frontend\base\default\template\qquoteadv\checkout_quotebtn.phtml

See attached screenshot.

Have more questions? Submit a request

4 Comments

  • 0
    Avatar
    Joe Doyle

    If we delete this code. Will it impact products that simply do not use c2q or n2o?

  • 0
    Avatar
    Bram van Dooren

    If you have products in your store that are orderable, you cannot use this technique.

    Removing this button will hide the copy to orderlist button.

  • 0
    Avatar
    Mark Nero

    I've tried the method described here but I'm still seeing the button.

    Any chance for instructions on how to remove the two buttons highlighted in red in my screenshot?

    The site is going to have no cart functionality, it will simply exist to request proposals.

     

    Thank you.

  • 0
    Avatar
    Bram van Dooren

    Dear Mark Nero,

    I have updated the instructions above for the newer versions to remove the move to shopping cart button. To remove the top shopping cart button please have a look in app/design/frontend/base/default/template/qquoteadv/toolbar.phtml and remove the following:

     

    <li class="section allow <?php if(!$isActiveQuote) echo 'active';?>" id="c2qOrder">

    <div class="tab-title">

    <span class="numeration">1</span>

    <h2><?php echo Mage::helper('customer')->__('Shopping Cart'); ?></h2> 

    <a href="<?php echo Mage::getUrl('checkout/cart/'); ?>"><?php echo Mage::helper('customer')->__('Shopping Cart'); ?></a>

    </div>

    </li>

     

     

Please sign in to leave a comment.
Powered by Zendesk