Jump to content

Discrepancies in product IDs in listings


Flea Yatsenko
 Share

You are about to reply to a thread that has been inactive for 502 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I've got some scripts that require parsing the product ID from my store listings. I've noticed a pretty big discrepancy where the product IDs in a URL in a store do not match the ones in the listing manager.

Example: https://marketplace.secondlife.com/p/FYI-Mesh-Sky-Island-Cave-Platforms/24837657 is the product link, but when you view it in the store my link is https://marketplace.secondlife.com/s/FYI-Mesh-Sky-Island-Cave-Platforms/24810571 which then redirects to https://marketplace.secondlife.com/p/FYI-Mesh-Sky-Island-Cave-Platforms/24837657

So, my question is why? And is this intentional? It's completely broken some stuff I use. I mean, I fixed it with a workaround but it seems kind of wasteful to have a redirect for each individual item, doesn't it? Only happens when you are viewing listings on public facing areas, like search results. Doesn't seem to affect featured listings and stuff.

Link to comment
Share on other sites

The explanation is probably something really boring-and-technical-backend-stuff.

Note how the "product cards" on the store page have /s/ in the URL (short for Store). The "product page" has /p/ in the URL (short for Product). The IDs probably refer to some database IDs, which can be separate for "product card" and "product page" related data, hence the discrepancy.

The IDs may be out-of-sync or change for any number of reasons, like if they were created out-of-order or if an entry is re-created.

It may or may not be trivial to make the URLs consistent, but it's probably not worth spending the effort.

Edited by Wulfie Reanimator
Link to comment
Share on other sites

The number at the end of the MP link is your product's unique ID, it should always be the same. According to those numbers, you do have two different products but, you are right, they both lead to the same page. Maybe you could check both of those in your viewer's Marketplace listing. This might be a good moment to ask LL about that via ticket.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 502 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...