Git Product home page Git Product logo

Comments (15)

wigman avatar wigman commented on June 29, 2024

Hi Satish,

What version are you using? Are the swatches working when you disable my plugin?
Is the main image switching?

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

Hi Wigman
I am using Magento 1.9.1.0. Yes main image switching working fine but it was not making ajax call while clicking on color. I have disabled default configurable swatches and again enabled it and cleared the cache. Now it's working fine.

I was not able to find the issue. Can you please explain brief what are the things I need to take care and keep in mind while using AjaxSwatches extension ?

Thanks for response and great extension !

from ajaxswatches.

wigman avatar wigman commented on June 29, 2024

I meant which version of my module, but ok.

You should have images in your simple products. There's not much else you have to do. I can't debug your problem without details or access to your system. There's many factors that could interfere, but none really related to my module, just basic Magento 101 things.
Let's see if it keeps working now.

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

I am using version 0.4.4 of your module.
Right now it's working fine. I will let you know if any issue.
Thanks. Keep it up ! keep smiling :)

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

Hi Wigman

Again it's stopped working. I am stuck now. What to do now ?

from ajaxswatches.

wigman avatar wigman commented on June 29, 2024

send me a link to the test-environment if you have it available

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

Let me install in test-environment

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

It's working fine on dev. server. in my localhost I have override view.phtml and media.phtml for make look and feel of configurable product different. I am changing layout based on attribute set.

from ajaxswatches.

wigman avatar wigman commented on June 29, 2024

Then it's a matter of customization issues. The ajax call should still be fired, but It's very possible that the javascript can't find the thumbnails that have to be replaced because you altered the elements. I can't really support you much further, try to trace back your changes.

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

Okay let me try to trace it.

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

Hi Wigman

please refer stackoverflow below link:
http://stackoverflow.com/questions/31097254/attribute-set-specific-product-view-page-design-not-working

Thanks

from ajaxswatches.

satishsojitra avatar satishsojitra commented on June 29, 2024

Hi Wigman
I solved the issue. It was happening due to custom modifications. But now there is white border appearing in thumbnail. I already implemented keepFrame(false) in media.phtml. Is there anyother file in AjaxSwatches extension where I need to implement keepFrame(false) ?

Thanks

from ajaxswatches.

wigman avatar wigman commented on June 29, 2024

You can comment to my post on stackoverflow (and accept the answer if it helped you). I will respond there.

from ajaxswatches.

wigman avatar wigman commented on June 29, 2024

To debug the keepFrame issue enable template hints, you'll find out what file is being used. If that doesn't work, post a question on magento.stackexchange.com (you'll get fasted answers then on the general stackoverflow).

from ajaxswatches.

LoganGS avatar LoganGS commented on June 29, 2024

I believe I was having a similar issue - I would click a product swatch and it would return images from a different child product.

The following line was returning an empty array:
var compatibleProducts = ConfigurableMediaImages.getCompatibleProductImages(fallback, selectedLabels);

It ended up not being a problem with any of the Wigman plugin files, but an issue with the ConfigurableMediaImages.arrayIntersect() function.

I rewrote the function and now everything is working properly:

arrayIntersect: function(a, b) {
    var result = new Array();
    for( var i=0; i<a.length; i++ ){
        if( b.indexOf(a[i])>-1 ){
            result.push( a[i] );
        }
    }

    return result;
}

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.