Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.