Skip to Content
avatar image
Former Member

Variant Pricing: Change in Configuration doesn't replace the old value from Pricing

Hello Gurus,

After selecting the characteristics values when I go to condition tab, for first time, it shows all the variant condition accurately. But, once I go back to configuration again and change any characteristics value and come back to condition tab again the following happens:

It adds new variant conditions based on Characteristics value change but it doesn't remove the condition related to old characteristics value. As a result it shows wrong total price. I would highly appreciate if you could guide me in this situation. I want old variant condition to be replaced by new variant condition based on the characteristics value.

Please see the dependency code below which may be useful for your review.

$self.SD_VARCOND = '4WD' IF $self.DRIVE = '4WD',
$self.SD_VARCOND = 'AWD' IF $self.DRIVE = 'AWD',
$self.SD_VARCOND = 'RED' IF $self.COLOR = 'RED',
$self.SD_VARCOND = 'BLUE' IF $self.COLOR = 'BLUE',
$self.SD_VARCOND = 'GREEN' IF $self.COLOR = 'GREEN',
$self.SD_VARCOND = 'TWO' IF $self.DOOR_MODEL = 'TWO',

Thanks in advance,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers