As a Roblox developer, it is currently too confusing using MarketplaceService:GetProductInfo() for bundles because the results are inconsistent with the other info type inputs. Let me explain what that means better. All the other InfoTypes (excluding subscriptions and bundles) will return the following: Creator, Created, PriceInRobux, IsForSale, IsNew, MinimumMembershipLevel, ect.
However, this is not the case for bundles. When getting information on a bundle, :GetProductInfo()
will only return the following:
{
["BundleType"] = "AvatarAnimations",
["Description"] = "Party like its 2006. Relive the glorious old days with this retro style animation pack.",
["Id"] = 667,
["Items"] = â–¶ {...},
["Name"] = "Oldschool Animation Pack"
}
Since this is inconsistent with the other info types, it is confusing why it doesn’t return some of the basic information (price, creator, ect.) like the other types. In fact, there’s been a least two occasions where people have noticed this:
As you can see, the issue with :GetProductInfo()
is that it doesn’t provide information that developers have expected it to provide for bundles.
Yes, developers will be able to use AvatarEditorService:GetItemDetails() instead of MarketplaceService:GetProductInfo() for information on bundles in the future. However, leaving MarketplaceService:GetProductInfo()
without some of the basic information for bundles will confuse many developers. I say this because it confused me yesterday and it took a bit of searching than normal to find AvatarEditorService:GetItemDetails()
.
This feature request is not asking for GetProductInfo to return what GetItemDetails returns for bundles, but rather just a little bit information about bundles (at the very least Creator, PriceInRobux, and IsForSale). Providing this bit of information so that GetProductInfo for bundles is more consistent with the other types would be a nice small change.
If Roblox is able to address this issue, it would improve my development experience because I would be able to use MarketplaceService:GetProductInfo()
for all types of assets instead of having to use AvatarEditorService:GetItemDetails()
for some basic information on bundles.