• Resolved sui201837

    (@sui201837)


    Hello David,
    I installed Smart Variations Images for WooCommerce plugin and setted up SVI.
    And I uploaded images for attributes.
    But when I click(or select) attributes, the main image is not changing.
    js console shows following errors.
    TypeError: Cannot read property ‘single’ of undefined
    at On.<anonymous> (frontend.min.js?ver=1560994533:1)
    at zt (vendor.min.js?ver=1560994533:7)
    at On.t.$emit (vendor.min.js?ver=1560994533:7)
    at On.<anonymous> (frontend.min.js?ver=1560994533:1)
    at zt (vendor.min.js?ver=1560994533:7)
    at On.t.$emit (vendor.min.js?ver=1560994533:7)
    at a.getCombinations (frontend.min.js?ver=1560994533:1)
    at a.getChosenAttributes (frontend.min.js?ver=1560994533:1)
    at a.mounted (frontend.min.js?ver=1560994533:1)
    at zt (vendor.min.js?ver=1560994533:7)
    So I deactivited other plugins except woocommerce and tested. but it didn’t work.
    and then I disabled all javascript files in current theme and tested, but it didn’t work.
    Can you help me?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author David Rosendo

    (@drosendo)

    Hi,

    That’s is wierd , I will assume you have setup the images like demonstrated on the video.

    Now the error seems to say that there are elements missing on your site that should be there.
    If you temporarily try with a different theme does it still occour? What theme are you using?

    Im currently on the move going to WordCamp EU in Berlin so i cant help much until later tonight but if even with a different theme.doesnt work please contact me via my site contact form.
    I will have to check what is causing it.

    Cheers
    David

    Thread Starter sui201837

    (@sui201837)

    Thanks David
    When I set featured image(main image) on variable product. the error is not appeared.
    I have uploaded only variation images.
    But when I select attributes, images are not changed.
    When swtiching storefront theme, images are not changed.

    Regards

    Plugin Author David Rosendo

    (@drosendo)

    Hi,

    You must have something different, or it’s not setup properly. Check my demo site.

    I have, Storefront installed, WooCommerce and SVI. No issues…
    https://svi.rosendo.pt/free/product/new-product-teste/

    Please visit login to the back-end and give a try.

    Contact me via my cotnact form, provide credentials and url I will have a look ASAP.

    Cheers,
    David

    Thread Starter sui201837

    (@sui201837)

    Yes you are right.
    By the way, I have some question for pro version.
    Can I use images for combinations of attributes?
    For example when the number of Sizes is i : the number of Colors is j, can your plugin make i X j Galleries?, so can the user choose a gallery of size:M, color:red?

    Plugin Author David Rosendo

    (@drosendo)

    Hi,

    You can use any combination you want, but in your case if the image is the same no mater the size you only need to create galleries based on color.

    But hey, visit https://svi.rosendo.pt/pro build and test what you need.

    If your issues is solved please close this ticket. Would really appreciate a review when possible.

    Cheers,
    David

    Thread Starter sui201837

    (@sui201837)

    Okay
    But in your pro version, I can’t find two attributes variation product.
    https://svi.rosendo.pt/pro/product/variation/ is only color atribute
    The images of https://svi.rosendo.pt/pro/product/custom-variation/ is changing only size.
    In my case, the images have to be changed on size and color.
    Can you make the case?

    Plugin Author David Rosendo

    (@drosendo)

    Hi,

    It’s better for you to build it yourself in the manner that you want it.
    Just login and create the product.

    Cheers,
    David

    Thread Starter sui201837

    (@sui201837)

    Your plugin is great
    But I have one question.
    I did not make all galleries for each size + color.
    When I choose the size + color without gallery, now your website shows all images.
    How can I disable it?
    In other words, I need to show only basic image for the size + color without gallery.

    Plugin Author David Rosendo

    (@drosendo)

    Hi,

    I cant provide PRO feedback here, please contact me via email.

    Cheers,
    David

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Main Image not showing’ is closed to new replies.