Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 05-16-2010 11:36:46

zanart
Member
From: bedford
Registered: 04-02-2008
Posts: 1679

Dynamic prices for ptoduct options - Can anyone help?

What I would like to do is have the price for product options dynamically generated.

What I am thinking is:

1: A drop down box in the prodoption_sel table - Yes/No. If it is set to Yes the price is dynamically created. --$dynamicprice
2: A Numerical Field in the prodoption_sel table that will be used to create the Dynamic price -- $optionamount
3: A numerical field in each product display that will be used to create the dynamic price - $productprice

The above are easy. The final part a little harder to achieve.

3: I am not sure where to edit the Product Option Price but I am looking for somthing along these lines:

Code:

if ($dynamicprice =1)
{$price = $optionamount X $productprice;}

thanks


- Euorpacart 8

Offline

 

#2 09-19-2012 16:56:31

sppars
Member
Registered: 01-25-2006
Posts: 301

Re: Dynamic prices for ptoduct options - Can anyone help?

Zanart,

Did you ever find a solution to having option prices be dynamic. Looking to do something very similar and would appreciate any guidance.

Thanks.

Offline

 

Board footer