Shopify / themekit

Shopify theme development command line tool.
https://shopify.dev/tools/theme-kit
MIT License
1.2k stars 375 forks source link

Theme configuration exceeds 1.5 MB limit. #1000

Open MeloWise5 opened 1 year ago

MeloWise5 commented 1 year ago

Is your feature request related to a problem? Please describe. I have a settings_data.json file that has a ton of "Configure To Order" attributes for products where the customer can choose what they want in the "CTO". I sell refurbished Servers for multiple brands. So there really is no end in sight for the amount I might need to add. I am no longer able to save my settings_data.json file with ThemeKit. I get the following error. `10:32:57 [development] processing config/settings_data.json

[development] (config/settings_data.json) Theme configuration exceeds 1.5 MB limit. Delete a section or reduce text content in order to save.`

Describe the solution you'd like Is there a way to open this limit? Is the limit set by ThemeKit or by Shopify?

Describe alternatives you've considered I could remove some older products but sooner or later I will run into this issue again when a new Generation comes out. Which is almost every other year. So not really a solution to make the file smaller. I also thought about splitting up the file but not sure how to go about that in a .json file.

Additional context Anytime I put the word "Shopify ThemeKit" in the search. It brings me a ton of "Shopify Theme" related searches. I was not able to find anyone with this problem. If anyone can point me in the direction of opening this limit it would be much appreciated.

Thank you.

MeloWise5 commented 1 year ago

Shopify has a file limit. it's not ThemeKit.