Git Product home page Git Product logo

Comments (2)

codebymikey avatar codebymikey commented on July 19, 2024 1

Plus one. Having the same issue. Fixed it.

Turned out to be an issue with my catalog.xml file.
Adding the <action method="addJs"><script>varien/product_options.js</script></action> line under my catalog_product_view tag worked like so worked:

    <catalog_product_view translate="label">
        <label>Catalog Product View (Any)</label>
        <!-- Mage_Catalog -->
        <reference name="root">
            <action method="setTemplate"><template>page/1column.phtml</template></action>
        </reference>
        <reference name="head">
            <action method="addJs"><script>varien/product.js</script></action>
            <action method="addJs"><script>varien/configurable.js</script></action>
            <action method="addJs"><script>varien/product_options.js</script></action>
<!-- // ... -->

from magento-configurable-simple.

allemas avatar allemas commented on July 19, 2024

I had the same issue.

Uncaught TypeError: Cannot read property 'prototype' of undefined
at scp_product_extension.js:123

and

configurable.js:286 Uncaught TypeError: Cannot read property 'changePrice' of undefined
at klass.reloadPrice (configurable.js:286)
at klass.configureElement (configurable.js:137)
at klass.configure (configurable.js:121)
at HTMLSelectElement. (prototype.js:391)
at HTMLSelectElement.responder (prototype.js:5598)
at triggerEvent (script.js:285)
at HTMLAnchorElement. (script.js:157)
at HTMLDocument.dispatch (jquery-1.8.3.min.js:2)
at HTMLDocument.u (jquery-1.8.3.min.js:2)

It worked for me !

Dont forget to edit all layouts where you use products configurations.
varien/... is for rdw base theme, if you use another, adapt the path.

from magento-configurable-simple.

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.