App reviews, troubleshooting, and recommendations
Hello, I am trying to use the Theme Updater app to update my theme in an easy manner but I am running into the following error: Value for '$.sections.newsletter-popup.disabled' is "disabled". It should be a boolean. There isn't a file that this error is referencing so I am not sure what is going on. Any assistance would be very helpful.
Solved! Go to the solution
This is an accepted solution.
Boolean is a logical data type that can have only the values true or false.
You must find where is that code and change disabled to false to solve the issue
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- 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.
This is an accepted solution.
Boolean is a logical data type that can have only the values true or false.
You must find where is that code and change disabled to false to solve the issue
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- 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.
Hello, thank you for your suggestion. While I understand Boolean logic, I am a React developer in my day to day work, I wasn't sure if there was a better solution to figuring out where this issue is shy of looking through every file. I am not well versed in liquid so I wasn't sure if there was a better solution. If this was React I would use my IDE to search the entire project for that specific line and would be able to find it within a few seconds. I was hoping something like that would be available within the code editor for a Shopify site but I am guessing that might not be the case. 😞
Thank you again. I will comb through the files and try my best to locate that line.
So I marked this as a solution I think maybe a bit prematurely. I have located the line of code that the Theme Updater app has flagged as invalid and while the Theme Updater app says it needs to be a Boolean value, Shopify itself won't let me save the file if it's any other value other than a string. The line in question is inside the file settings_data.json and is this:
"newsletter-popup": {
"type": "newsletter-popup",
"settings": {
"mode": "disabled",
"popup_seconds": 5,
"popup_days": 30,
"popup_title": "Sign up and save",
"popup_text": "<p>Entice customers to sign up for your mailing list with discounts or exclusive offers. Include an image for extra impact.<\/p>",
"close_text": "No thanks",
"enable_newsletter": true,
"button_label": "Optional button",
"button_link": "",
"enable_button": false
}
The "mode": "disabled" is the incorrect line. But when I change the value to "mode": true or "mode": false, Shopify won't let me save the file stating:
I really need to update the theme. If this app isn't working what other options do I have available to me for updating a Shopify Theme to the latest?
You can try to add it is 0 and then try to save again
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- 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.
Unfortunately that didn't work. I end up receiving the same error message as the data type Shopify is looking for is a string. Are there any tips on manually updating a them? What all do I need to do in order to get the theme updated. Here are the steps that I have already completed:
1. Downloaded the current theme from the theme store
2. Started to modify the content of the new theme to match the currently used, previous version of the theme.
3. Tried to use the Theme Updater on the current theme, Impulse 5.4.0.
Short of copying and pasting files and lines of code is there anything else I can do that will allow me to update to the latest theme in the easiest and hassle-free way possible?
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024