Hi all,
For some options (characteristic value) of my configuration I have to specify a quantity (let's say for example 1, 2, 3 or 4). In this case I create a copy of the characteristic just for quantity.
Characteristic: 'A' (char, single value)
Characteristic value 'a1', 'a2'
Characteristic: 'A_QTY'
Characteristic value: (num, additional value)
I have one variant condition for each option in vk30 ('vc-a1' and 'vc-a2'), I maintain the price of the option with quantity 1 in vk12 ('vc-a1' = 100 and 'vc-a2' = 200).
using a procedure and the object characteristic SDCOM_VKOND I can link the variant condition and the option which don't have a quantity dependency. But what about the option with a quantity such as 'a1' and 'a2' ?
I tried to use $set_pricing_factor but without success
I used the following coding:
$SET_PRICING_FACTOR ($SELF, SDCOM_VKOND, 'vc-a1', A_QTY) IF SPECIFIED A
Any idea ?
Thank you for your help
Add comment