Hello,
Variant image is not coping from the template while creating variant using multiple variant and single variant And the item name is also not updating from the template.I checked in item variant setting but image and item name option is not available.
Template Screen-shot.
There is no change in all variants
Variant Screen-shot
Thank You.
NCP
May 2, 2024, 8:05am
2
Hi @falah123 ,
The feature is not yet available. It is feasible for multiple variants using certain logic, but i think not for a single variant. This is because when a single variant is created, it redirects to a new item, and the option to upload an image appears only after the item is saved.
1 Like
Can we write custom scripts to copy from variant of template?
NCP
May 28, 2024, 2:14pm
4
I already raised the feat:PR (Not merged) for that. so please check it.
frappe:develop
β Nihantra-Patel:create_variant_with_img
opened 12:03PM - 03 May 24 UTC
Earlier, when creating a variant, it was not created with an image. Yes, I under⦠stand we can set fields in the item variant setting, but we can't set images in it. But I have created a flexible feature in which when you create a single variant or multiple variants, add a checkbox. If you tick that checkbox, the variant will be created with the image that is in the template of that variant. The purpose of creating this feature was that, as an example, suppose there is a book but the image is the same in all the editions of that book, then why should we upload all the images one by one by opening all the items. And it's a bit of a headache. So in the feature, you can create multiple variants with the same image. There are many other examples in which this feature is useful, like a sofa or a chair, but the image will be the same. Only the size has to be mentioned.
https://github.com/frappe/erpnext/assets/141945075/28832f7a-6b05-4754-86ad-2fbae5b200e5
Documentation Link: https://docs.erpnext.com/docs/user/manual/en/item-variants
1 Like
How can I update features branch? Or I must manually to edit the file.
NCP
July 15, 2024, 11:44am
7
Donβt worry @Chirayut_Deecharoen
PR is merged, upcoming update will resolve your issue.
1 Like