How to set qty as char value
I am relatively new to variant configuration. I am learning by referring LOVC document. Unfortunately I don't have any VC expert in my team. I need a small help in my project. The requirement to set value of char automatically to same as qty,
E.g. if main configurable item LAPTOP is of qty 1. Then char MOUSE should have value as one 1. Can you please guide me on how to do it?
I can create a procedure and use $SET_DEFAULT ($SELF, <characteristic>, <term>). How to set the <term> value equal to main item quantity?