Hi all,
I'm working on creating a sku# that combines text and auto-incremented number from db.
When a new product is added to db, new ID is auto created. At the same time, I want a sku, for ex: XXX+ID, is auto created as well. As u can see, the SKU # = XXX and ID#. My problem is ID# only be created after saved into db and I can't seem to find a way to create SKU w/o ID at the time added.
Could someone show me how? Thank you!!!
I'm working on creating a sku# that combines text and auto-incremented number from db.
When a new product is added to db, new ID is auto created. At the same time, I want a sku, for ex: XXX+ID, is auto created as well. As u can see, the SKU # = XXX and ID#. My problem is ID# only be created after saved into db and I can't seem to find a way to create SKU w/o ID at the time added.
Could someone show me how? Thank you!!!