Consider the following list:
Specialized input settings
https://shopify.dev/themes/architecture/settings/input-settings#specialized-input-settings
IDEA:
Add PROMOTIONS and coupon codes as a Specialized input
We have Pages, Products, Collections… but not PROMOTIONS
the idea is simple:
Just like we can add “products” as a Specialized input we should be able to add Discounts
Note- I “manufactured” this screen shot, it does not exist but should
Unless of course this exists and is called something else…
note- this does not work, lol, but it should.
Hi @cfc_webmaster
Shopify currently does not support custom show discount codes using Specialized Input Field.
Instead, you can still customize if you want by using Shopify’s built-in API (https://shopify.dev/api/admin-rest/2022-10/resources/discountcode)
I hope that it’s useful for you.
1 Like
I don’t really see any way to accomplish these 2 tasks:
- Add a Specialized Input Field into a THEME that allows the selection of a discount code the same way selection of a product works
- Call up the name, value, expiration, and data from the discount code IN LIQUID
Do you?
Hi @cfc_webmaster
We would like to give you some information below:
-
Specialized Input Field does not support “type”:“discount”, so using it for discount code is impossible.
-
Liquid object discount can be used to customize 1 select option on the liquid theme (refer to https://shopify.dev/api/liquid/objects/discount)).
I hope that it will be useful for you.