All things Shopify and commerce
When adding 2 or more items to the announcement bar it doesn't work (anymore). I get the following console error:
global.js?v=113367515774722599301698655681:932 Uncaught TypeError: Cannot read properties of undefined (reading 'classList') at SlideshowComponent.applyAnimationToAnnouncementBar (global.js?v=113367515774722599301698655681:932:18) at SlideshowComponent.onButtonClick (global.js?v=113367515774722599301698655681:783:12).
I've logged some values, but get the following:
console.log(currentSlide);
Output: undefined
console.log(this.sliderItems);
Output: NodeList(2) [div#Slide-sections--21423793209631__announcement-bar-1.slideshow__slide.slider__slide.grid__item.gr…, div#Slide-sections--21423793209631__announcement-bar-2.slideshow__slide.slider__slide.grid__item.gr…]
console.log(this.sliderItems[currentIndex]);
Output: undefined
Hi @Exp-Mick
Could you share your store link?
- Helpful? Like and Accept solution! Or Support me: Buy Coffee
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Please provide password protected of store
- Helpful? Like and Accept solution! Or Support me: Buy Coffee
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Does anyone has an idea? I'm using the Dawn theme.
Hi @Exp-Mick
Did you disabled your announcement bar?
- Helpful? Like and Accept solution! Or Support me: Buy Coffee
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
No, what do you mean?
There is a announcement bar in the top of the website. It has two different texts (which you can see here: https://test-marcels-green-soap.myshopify.com/).
The slider in the announcement bar is not working.
I cannot see it anymore
- Helpful? Like and Accept solution! Or Support me: Buy Coffee
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
That's right.. I see it was hidden. It's visible again now!
Announcement slider conflict with something in your theme so it's cause this issue. Have you installed any new app or script recently?
If you don't know how then I recommend you contact developer of this theme so they can check and fix the issue for your store.
- Helpful? Like and Accept solution! Or Support me: Buy Coffee
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Yes, so I'm the theme developer 😉
I've used the Dawn theme. I did nothing special yet. I've added some styling and Javascript.
But after deleting the styling and javascript it's still not working. So thats strange.
Hey, I got the same issue rn as you do. Did you manage to figure out a solution for that?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024