AbanteCart Community
AbanteCart Development => Customization help => Topic started by: HappyArun2019 on June 13, 2019, 09:42:33 AM
-
HI Abantecart team
I am planning to implement multistore. I want to customize SKU to be generated automatically using store name and product id.
Want to understand where and how can i customize SKU to add store name and product id automatically.
-
Hello.
Product id is generated automatic when you create product. For the SKU it is related how you create products:
directly in admin or via import process. Based on method you use you need to modify controller to generate SKU
-
HI Basara
I wan to custome SKU logic for all the ways to create or add product to store. Which means if a single product is created in a product page or multiple products are created using import process , SKU generation logic need to be same (Store name + Product id).
For Example, if there are 3 stores: Store 1, Store 2, Store3.
Let's say user of Store 1 created a single product1 in product page with store selected as Store1 and generated product id for product1 is 011, then SKU = Store1-011.
Similarly if user of Store 2 creates 100 products using import process and Product ids generated are from 201 to 300, then SKU for products should be like Store 2-201, Store 2-202, e.t.c,
Where and how can i do such cuztomization?