Can I use a hidden section setting?

jam_chan
Shopify Partner
826 20 141

I would like to do so because there are already many settings on the section. It's a bit bloated for the section options.

Also, it's a setting related to the line item properties I want to customize. Now I show SKU to the line item properties on the cart page, and a user wants to hide the SKU. It's not that related to that custom product page.

I want to make it as a setting option in my app. When the user updates this option, it can be reflected in the liquid. Currently, it's not easy to pass a variable from my app to the liquid.

Any one has a good suggestion here?

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview
Replies 3 (3)
jam_chan
Shopify Partner
826 20 141

Up

I would like to pass setting options from app to section. 

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview
PaulNewton
Shopify Partner
5516 500 1131

@jam_chan wrote:

Up

I would like to pass setting options from app to section. 


Use a metafield

New Feature: Automatic free shipping discounts


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


Defeat problems ,Learn To Ask Questions The Smart Way

jam_chan
Shopify Partner
826 20 141

Yes, it's doable. But metafield is object-based but app settings are section-based

BYOB - Build Your Own Bundles, SPO - SEO App to research keywords & edit social link preview