Git Product home page Git Product logo

Comments (2)

wigman avatar wigman commented on June 29, 2024

First, comment out (or remove) this entire block in app/design/frontend/base/default/layout/wigman_ajaxswatches.xml

<product_list>
    <reference name="product_list.after">
        <remove name="configurableswatches.media.js.list" />
    </reference>

    <reference name="product_list.swatches">
        <action method="setTemplate"><template>wigman/ajaxswatches/catalog/product/list/swatches.phtml</template></action>
    </reference>

    <reference name="head">
        <!-- add Js script to head -->
        <action method="addItem"><type>skin_js</type><name>wigman/ajaxswatches/js/swatches-extend.js</name><params/></action>
        <!-- add baseurl reference to head for use in JS -->
        <block type="core/template" name="baseurl" template="wigman/ajaxswatches/baseurl.phtml">
            <action method="setData"><name>active_swatch_selector</name><value><![CDATA[.swatch-current .value img]]></value></action>
        </block>
    </reference>

</product_list>

Secondly, comment out (or remove) this code in app/code/community/Wigman/AjaxSwatches/etc/config.xml (line 45)

        <configurableswatches>
            <rewrite>
                <observer>Wigman_AjaxSwatches_Model_Observer</observer>
            </rewrite>
        </configurableswatches>

I think that should be enough, but I might have missed something:)

Best to do this in a copy of the xml files in your custom theme & local code pool, to keep it update-proof.

from ajaxswatches.

sonnnaht avatar sonnnaht commented on June 29, 2024

Okay.
Thanks in advance.

from ajaxswatches.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.