Custom - product discount

Topic summary

Custom discount goal: implement “buy one, get the next identical product at 40% off,” automatically adding the discounted second item as a separate line item. The logic was built first in Shopify Line Item Scripts, then migrated to Shopify Functions; the app is deployed and installed.

Issue reported: during test setup, a message appears (shown in the attached screenshot). The poster interpreted it as an error.

Latest update from Shopify staff: the on-screen message is a notice, not an error. It informs that because the app is not a public app, support for its behavior must come from the app’s developer, not Shopify Support. This is standard for custom/private apps, as Shopify lacks context for custom logic.

Outcome: no platform bug identified; the concern is a misunderstanding of the notice. Next steps, if issues persist: contact the custom app’s developer. Status: effectively resolved/clarified.

Summarized with AI on December 26. AI used: gpt-5.

Hi,

I want to introduce a new product discount where if a customer buys a product, they can get the same one at 40% off on the next one. As soon as the customer adds to cart, the second product appears as a new line item with discounted prices. I have successfully created the code in Shopify Line Script and migrated to Shopify Functions as well. The app is deployed and installed but I see the below error every time I try to setup for testing. Please help me.

Hey @Prasanth1 ,

Just looking at the screenshot, that is more of a notice than an error message. The notice is just confirming that since the application is not a public application, that any support requests related to the app behaviour would need to go to the developers of the app.

For context, many developers/partners will build custom apps for their clients, so this is a way to let the merchant know where to get support as the Shopify support teams won’t have any of the context around how the custom app is intended to work.

Hope that helps!

  • Kyle G.