Alright so, I've made a developer product on roblox, So when you click a textbutton, That script leads you to the developer product purchase prompt, It worked good, Everything was fine. But the problem was, It wasn't onsale. I tried to make it onsale, But I couldn't even know how. I watched a ton of tutorials on developer products just to try fix it, But somehow I couldn't even find anyone telling stuff like making it onsale. Heres the script. It works fine but the developer product somehow is onsale AND I HAVE NO IDEA how to make it onsale.
game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.TextButton.MouseButton1Click:Connect(function() game:GetService("MarketplaceService"):PromptPurchase(game:GetService("Players").LocalPlayer, 1130501225) end)
(This script is in startercharacterscripts, and is a localscript.)