[SOLVED] How to create global (second) SKU?

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ЕвгенияСемихова(ИПСемиховаЕ.А.)
Posts: 70
Joined: 11 Jan 2025, 09:45

[SOLVED] How to create global (second) SKU?

Post by ЕвгенияСемихова(ИПСемиховаЕ.А.) » 14 Feb 2025, 13:41

Please tell me how best to organize a global SKU?

Introduction: each seller has their own unique SKU, some use only 6-digit numbers, which in theory gives the possibility of overlap with others.

What I think: organize automatic creation of a unique (systemic) "SKU_Global", or vice versa - create a separate field "Seller_SKU".

Previously, I thought to link to the product ID and use it as a global article number. But after installing ai-elastic, ID generation occurs in a completely random and inconvenient display.

Please tell me how you implement automatic generation of a global SKU in large projects?
Last edited by ЕвгенияСемихова(ИПСемиховаЕ.А.) on 17 Feb 2025, 12:07, edited 1 time in total.
Debian 12, PHP 8.3, Server 1 = Aimeos 2024.10.13, Server 2 = ES 8.17.1
life is full of many new and interesting things

User avatar
aimeos
Administrator
Posts: 8636
Joined: 01 Jan 1970, 00:00

Re: How to create global (second) SKU?

Post by aimeos » 17 Feb 2025, 10:37

The SKU itself in Aimeos may not be unique but in combination with the siteid it is for each vendor (or must be). The product ID is unique and that must be at the end of the product URL to uniquely identify products from all vendors (this is a configuration option to include the ID in the URL).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply