Avatar Theme - Remove Newsletter from cart page only

I am using the Avatar theme version 2.0.0 and I am trying to remove from the cart page only the newsletter section. In cart.json I thought I could remove from the original code the below but it doesn’t seem to work out and gives a error upon trying to save. Being new this platform I am at this stage out of ideas on how to remove the newsletter section from the cart page. I am wondering if there is another place I also need to change the code to match but I cannot seem to locate it if there is? Any ideas on what I need to do? Thank you

Removed this part from cart.json

},
“newsletter”: {
“type”: “newsletter”,
“settings”: {
}

and changed one section to this

},
“order”: [
“main”,
“recommendations”
]

When I do this and save, I get a error of :

  • Invalid JSON: unexpected character (after sections) at line 17, column 2

My modified code looks like this,

{
“sections”: {
“main”: {
“type”: “main-cart”,
“settings”: {
}
},
“recommendations”: {
“type”: “cart-recommendations”,
“settings”: {
}
},
“order”: [
“main”,
“recommendations”
]
}

Original cart.json code below

{
“sections”: {
“main”: {
“type”: “main-cart”,
“settings”: {
}
},
“recommendations”: {
“type”: “cart-recommendations”,
“settings”: {
}
},
“newsletter”: {
“type”: “newsletter”,
“settings”: {
}
}
},
“order”: [
“main”,
“recommendations”,
“newsletter”
]
}

Hi @davefant

May I suggest to update code these steps:

  1. Go to Store Online-> theme → customize

  1. Cart page → remove this section

Got it, thank you very much! I come from a platform where all code had to be coded and failed to realize there was a better way. My bad, thank you again.