Is it possible to create auto numbering for products, that follow a number series like the orders?
When you create a product in DW it gets the PROD1, PROD2, etc. automatically. But we would like to use our own number series that is automatically incremented whenever a new product is created.
Developer forum
E-mail notifications
Number series for products
Martin Moen
Posted on 28/06/2022 11:23:16
Replies
Shiwanka Chathuranga
Posted on 28/06/2022 12:04:37
Yes
you can use Notification subscrber and modify product ID value before save new product
https://doc.dynamicweb.com/api/html/ead49d9f-92b1-c905-83ea-183526ed18ba.htm
also you can use EcomNumbers Table to Generate ProductId and Prefix
Nicolai Pedersen
Posted on 29/06/2022 09:06:58
Or change the [NumberPrefix] in the table EcomNumbers for [NumberType]="PROD"
So instead of PROD1 it can be "YourOwnPrefix1"
Martin Moen
Posted on 29/06/2022 09:11:03
Nice! Can it also be blank?
Nicolai Pedersen
Posted on 29/06/2022 09:25:43
Probably empty string...
You must be logged in to post in the forum