OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
price field select list deactivation (0 viewing) 
Go to bottom Favoured: 0

Price field select list deactivation

hansel (User)
Gold Boarder
Posts: 244
graphgraph
User Offline Click here to see the profile of this user
price field select list deactivation 2 Years, 2 Months ago
Karma: 0  
It is a little bit complicated. I try to explain:

I have created a price field select list with 2 options:
field name: throttle

option 1: no throttle 0.00 USD amount: 1
option 2: yes throttle 0.00 USD amount: 1

As i don't offer a throttle for the specific instance I want to deactivate this price select field.
So i put the following values in it:

option 1: no throttle 0.00 USD amount: 0
option 2: yes throttle 0.00 USD amount: 0

Now one cannot select any option in the front end of the show instance layout for this price field. This is great! See image



But when I want to make a reservaion I get an error:

"integer failure in table os_cck_orders_price"

I understand that the price field with amount 0 cannot be saved in that table because 0 doesn't apply to the integer rules.

My question now?
Is there any other possibility to deactivate or not show this price field select list if the feature is not available for that specific instance?
Logged Logged
The administrator has disabled public write access.
VlaDOS (Admin)
Admin
Posts: 135
graphgraph
User Offline Click here to see the profile of this user
Re:price field select list deactivation 2 Years, 2 Months ago
Karma: 3  
Hello. Fixed.
Logged Logged
The administrator has disabled public write access.
Go to top
»