Spelling mistake in product-image.php leads to broken single product slider

5 replies2 participantsUpdated by Rose Tyler

  • Avatar: Royalty
    Royalty
    Participant

    Hello,
    not sure if this issue already came up here, but I noticed that the product slider was broken after updating Royal to version 4.7.1. I then found out that this was caused by a spelling mistake in product-image.php:

    Line 31: $slider = $etheme_global[‘sliders’];

    “Sliders” doesnt exist. So I changed it to

    Line 31: $slider = $etheme_global[‘slider’];

    and the bug is fixed. Just wanted to let you know if someone else is experiencing this problem and in order to fix it in the next update.

    5 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Thanks for the notice. I’ve passed it to our developers.

    Regards

    Avatar: Royalty
    Royalty
    Participant

    Just updated to version 4.7.3 but the bug is still there…

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    I’ve checked the file and it is ok – http://prntscr.com/lqx28d

    Regards

    Avatar: Royalty
    Royalty
    Participant

    ah ok I just found the problem: in theme options, there is the option “Enable slider for gallery images” and it was not active nor inactive – I think that this is a new feature?! I set it to “on” and now the gallery works like before.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    I am glad that you sorted out.
    Feel free to ask if you have any other questions.

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register