Zen Cart Logo
Forums / General Questions / Radio buttons and mathematics

Radio buttons and mathematics

Views: 581

Results 1 to 5 of 5
22 Mar 2011, 1:44 PM
#1
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Radio buttons and mathematics

I am using version 1.3.9h and current theme 'Avignon'.

I have setup a radio button with 4 selection options; 10; 20; 50 & 100.

Each select option I have added, using Attributes Controller, the price attribute.

What I would like to do is;

using the radio button selection, lets say 20, I would like to use this figure and multiply that be qty required and then deduct that from the qty available.

For example I what 20 pack and I want qty of 3 that equals 60. Now the qty available is 150 so after the above has been done the resultant available will then be 90.

22 Mar 2011, 2:21 PM
#3
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Radio buttons and mathematics

You Star. Thanks for that. There is so much on this forum, I find it difficult to find what I require.

Thank you:clap::bigups:

22 Mar 2011, 7:22 PM
#4
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Radio buttons and mathematics

I must have does something wrong. The install has not worked.

Installed the SQL then the install of includes etc. However I have noticed that in the instructions it does say to change two YOUR-TEMPLATES I only had one to change. The one missing was in modules.

Any ideas?

29 Mar 2011, 6:28 PM
#5
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Radio buttons and mathematics

I have installed the plugin mentioned and I do not have the qty decrease, in fact nothing happens. It stays at the qty I have set.:oops: