Developer forum

Forum » Swift » Is there an easy way to keep Swift_Carousel functionality when upgrading past Swift 1.14.1

Is there an easy way to keep Swift_Carousel functionality when upgrading past Swift 1.14.1

Mikkel Hammer
Mikkel Hammer
Reply

Hi Swift team,

As the title states, we're wondering if there's an easy way to keep the Swift_Carousel logic in swift even thought it's deprecated moving forward to new swift versions past 1.14.1.
We have some customers with 150+ of them, and when we let them know it has been removed and they're forced to change all of them manually to the new slider, they're NOT happy...

Sure it's easy to just keep the Swift_Carousel itemtype and paragraphs, but the css and javascript comes precompiled, which makes it a bit tougher to maintain.
Looking at the pull-request on github that removed the functionality, i'm seeing swift.Sliders.init(); being removed from _pageupdater.js and _productlist.js.
So i feel we're kinda stuck between overriding the methods they're used in with custom files and maintaining them, or add them back to the original files and recompiling it all, but both doesn't seem very upgrade-friendly down the road.

What are your thoughts?
Or would it be possible to have an automatic way to change Swift_Carousel to Swift_Slider

Best regards,
Mikkel Hammer


Replies

 

You must be logged in to post in the forum