Skip to Content
author's profile photo
Former Member

Pricing with quantity dependency and variant configuration ?

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
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 11, 2007 at 02:48 PM

    HI Carsten

    Have u maintained for eg. like this:

    $self.Z_price='comp1'

    Check it. Even if u have given any same space it willnot accept.

    Regards

    Message was edited by:

    narendran vajravelu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      thanks for your answer but I think that s already what I m doing (see my previous post with the usual coding I use).

      I have no problem to configure and get the price for option without a quantity to specify. My problem is with the quantity : how to take into account the quantity, chosen during the configuration, in the process of calculating the price.

      Thank you.