Search code examples
javascriptphpjquerymagentofancybox

Remove Fancybox Magento Add to Cart


I got a problem with Magento add to cart button on product pages, when add to cart buttons clicked, it shows a popup with checkout button but I don't want that popup else I want to redirect the add-to-cart button to the checkout page when clicked. I commented every fancybox code in the website but no help. Can you help me out in this?

my test website is: usecureme.mythstreet.com


Solution

  • It's quite simple. It's basically AjaxCart module that resides under your Magento folders. To locate and disable the ajaxcart, go to:

    app/etc/modules/Ajaxcart.xml

    Open it, there will be a code looks like this:

    <?xml version="1.0"?>
    <config>
        <modules>
            <Ajaxcart>
                <active>true</active>
                <codePool>local</codePool>
            </Ajaxcart>
        </modules>
    </config> 
    

    Put 'false' instead of that true.

                    <active>false</active>
    

    That's it!