- Posts: 966
- Thank you received: 11
Automatic Variant Code
11 years 7 months ago - 11 years 7 months ago #190918
by MyWorld
Automatic Variant Code was created by MyWorld
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3
I have to enter a code for each variant that I add for a product. For example, Small, Medium and Large.
Is it possible to have the main product code automatically added to the code field of the variant when a variant of that product is created or does it have to have a unique code for each variant? This would save a lot of time.
Thanks!
-- Joomla version -- : 3
I have to enter a code for each variant that I add for a product. For example, Small, Medium and Large.
Is it possible to have the main product code automatically added to the code field of the variant when a variant of that product is created or does it have to have a unique code for each variant? This would save a lot of time.
Thanks!
Last edit: 11 years 7 months ago by MyWorld.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #190936
by nicolas
Replied by nicolas on topic Automatic Variant Code
Hi,
Each variant has to have a unique code.
Note however that when the system generates the variants for you, it uses the main product code + the id of the characteristics values to make the variants code.
If however you add a new variant yourself, it's indeed your job to enter the variant product code you want. We'll add some code to generate the product code automatically when you save a variant using the same algorithm that we use for the automatic generation of the variants.
Each variant has to have a unique code.
Note however that when the system generates the variants for you, it uses the main product code + the id of the characteristics values to make the variants code.
If however you add a new variant yourself, it's indeed your job to enter the variant product code you want. We'll add some code to generate the product code automatically when you save a variant using the same algorithm that we use for the automatic generation of the variants.
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds