2

On this item: https://sssextreme.com/westbeach-twist-ski-snowboard-ladies-jacket-rasberry-sinatra-blue.html It works fine 100%

But some items like this one below https://sssextreme.com/twf-adults-xt3-full-wetsuits.html It does not swatch, but it does on the category pages like below https://sssextreme.com/catalogsearch/result/?q=TWF+ADULTS+XT3+FULL+WETSUITSenter image description here enter image description here

1 Answer 1

3

Try rename this XXL - 47- 50" because in 1.9.1 configurable swatch images do not swap correctly if attribute label contains ' " ' (quotes)

See http://www.magentocommerce.com/bug-tracking/issue/index/id/559

or

Copy app/design/frontend/rwd/default/template/configurableswatches/catalog/media/js.phtml to your local theme

Then change Line # 35

From

ConfigurableMediaImages.setImageFallback(<?php echo $imageFallback['product']->getId(); ?>, $j.parseJSON('<?php echo $imageFallback['image_fallback']; ?>'));

To

ConfigurableMediaImages.setImageFallback(<?php echo $imageFallback['product']->getId(); ?>, $j.parseJSON(<?php echo json_encode($imageFallback['image_fallback']); ?>));
1
  • 1
    Changing the code worked like a charm, thanks so much for your time. Commented Jun 26, 2015 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.