Webshop Plus! v.2.0 for WWB7
International Shipping
Hi
I use the shooping cart on my page at www.aivahealth.co.uk and have had many comments on how professional it looks, nice work.
I generally ship free within the UK but have had quite an interest for international orders so I was wondering how to go about putting in a flat international shipping rate e.g. a tick box which would add the flat international shipping amount to the total when clicked.
I do dabble with php but am certainly not as competent as yourself and am afraid if I mess with such a big project it may never work again.
Any pointers would be appreciated.
Thanks again for the fantastic cart script.
Kevinp
I use the shooping cart on my page at www.aivahealth.co.uk and have had many comments on how professional it looks, nice work.
I generally ship free within the UK but have had quite an interest for international orders so I was wondering how to go about putting in a flat international shipping rate e.g. a tick box which would add the flat international shipping amount to the total when clicked.
I do dabble with php but am certainly not as competent as yourself and am afraid if I mess with such a big project it may never work again.
Any pointers would be appreciated.
Thanks again for the fantastic cart script.
Kevinp
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Well, this is rather complicated.
In my commercial cart i have made it this way:
I have in the admin interface a field where the origin country is declared (in Example, United Kingdom)
Then, in the shipping fees tables, i have 4 different areas: National. International Area 1, Intl Area 2, Intl Area 3 where areas 1 2 and 3 usually are the same as defined by most postal services.
The script looks into the Areas tables of countries, and simply applies the correct fees.
Now, regarding this specific cart, I will see what i can do and come back to you shortly.
In my commercial cart i have made it this way:
I have in the admin interface a field where the origin country is declared (in Example, United Kingdom)
Then, in the shipping fees tables, i have 4 different areas: National. International Area 1, Intl Area 2, Intl Area 3 where areas 1 2 and 3 usually are the same as defined by most postal services.
The script looks into the Areas tables of countries, and simply applies the correct fees.
Now, regarding this specific cart, I will see what i can do and come back to you shortly.
www.dbtechnosystems.com
Absolute genius. Just uploaded and tested. Everything works fine, the shipping costs update and the emails are sent but when it sends the order to paypal it seems to ignore the shipping cost and just sends the net total e.g.
Net Total £35.94
Shipping £5.00
Total £40.94
This shows on the cart and in the email but only £35.94 is passed to paypal.
I'm sure this is simply the wrong total being passed on the thankyou page but have'nt been able to identify it yet.
A truly professional piice of work
Thanks again
kevinp
Net Total £35.94
Shipping £5.00
Total £40.94
This shows on the cart and in the email but only £35.94 is passed to paypal.
I'm sure this is simply the wrong total being passed on the thankyou page but have'nt been able to identify it yet.
A truly professional piice of work
Thanks again
kevinp
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Hi
I'm trying to echo the cart total into the header (a master page) using a form that is shown through a IFrame in the header. The form refreshes by targeting cart.php and contains the code:
to show the cart total in the header.
It works with the first (commented) line ( //$total = $total + ($cart[PRICE][$i]*$cart[QUANTITY][$i]);) and updates the total when items are added and taken away but it ignores any tax, discount or shipping charges.
As you can see below the commented line I've tried to add the shipping charges but this just seems to add £4.00 to the total regardless of shipping charges.
I've also tried + $shipping_total but i'm struggling to identify which variable/function carries the shiping and discount totals.
You can see it in action at http://www.aivahealth.co.uk.
Cheers again for the cart, great work.
Kevinp
I'm trying to echo the cart total into the header (a master page) using a form that is shown through a IFrame in the header. The form refreshes by targeting cart.php and contains the code:
Code: Select all
<?php
$cart = isset($_SESSION['cart']) ? $_SESSION['cart'] : '';
$itemcount = isset($_SESSION['itemcount']) ? $_SESSION['itemcount'] : 0;
$strHTML = "";
if ($itemcount == 0)
{
$strHTML = "Your basket is empty.";
}
else
{
$strHTML .= "<td>Your Cart</td></tr>"."\n";
$total = 0;
for ($i=0; $i<$itemcount; $i++)
{
//$total = $total + ($cart[PRICE][$i]*$cart[QUANTITY][$i]);
$total = $total + ($cart[PRICE][$i]*$cart[QUANTITY][$i]+$cart[SHIPPING][$i]);
}
$strHTML .= "<tr>"."\n";
$strHTML .= "<td></td><td></td><td></td>"."\n";
$strHTML .= "<td>Total</td>"."\n";
$strHTML .= "<td>"."£".number_format($total, 2)."</td>"."\n";
$strHTML .= "</tr>"."\n";
$strHTML .= "</table>"."\n";
$strHTML .= "</div>"."\n";
}
echo $strHTML;
?>
It works with the first (commented) line ( //$total = $total + ($cart[PRICE][$i]*$cart[QUANTITY][$i]);) and updates the total when items are added and taken away but it ignores any tax, discount or shipping charges.
As you can see below the commented line I've tried to add the shipping charges but this just seems to add £4.00 to the total regardless of shipping charges.
I've also tried + $shipping_total but i'm struggling to identify which variable/function carries the shiping and discount totals.
You can see it in action at http://www.aivahealth.co.uk.
Cheers again for the cart, great work.
Kevinp
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Shiiping per item means that the shipping should ALSO be multiplied by quantity, so it should be:
$total += ($cart[PRICE][$i]+$cart[SHIPPING][$i])*$cart[QUANTITY][$i];
$total += ($cart[PRICE][$i]+$cart[SHIPPING][$i])*$cart[QUANTITY][$i];
Last edited by Navaldesign on Sat May 09, 2009 11:37 am, edited 1 time in total.
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Not sure what you mean. Which Admin page ? In the demo ? If its that that you mean, i have disallowed acces because anyone did whatever he liked. Now you can only see the demo, and there is no need to even login. Changes you might want to make will not be saved.uniformality wrote:Hello
Just a quick sanity check here . Have you changed the login details for the admin page. i cant log in at all
Regards
Paul
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Added PDF Manual in the zip, and also a stand alone downloadable PDF at http://www.dbtechnosystems.com/wb6/Webs ... Manual.pdf
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Thank you for the info. I have rebuilt the pages as suggested. Everything appears to work but i do get a warning error on the cart and checkout pagesSince the Cart page and the customer page have been modified, i suggest that you rebuild them using the new version or something might not work.
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
Any suggestions as to what ive got wrong?
Thanks in advance
Paul
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Hi Naval,
www.mywebsite.co.uk/products.php
the other pages cart, checkout etc are names as your demo
Thanks in advance
Paul
www.mywebsite.co.uk/products.php
the other pages cart, checkout etc are names as your demo
Thanks in advance
Paul
Last edited by uniformality on Sun May 10, 2009 7:46 pm, edited 1 time in total.
Hi Naval
I'm also getting the above warning on my test server http://simply.net46.net/intcart/ but not on my real server http://www.aivahealth.co.uk/test/. I'm guesing the PHP versions are different.
Also the 'your cart is empty' message seems not to show anymore if someone visits the cart without adding products (in the HTML box on the cart page -
The cart does not seem to recognise discount codes even if the purchase criteria is met. Just keeps saying 'Sorry, you are not eligible for a discount!'
Sorry, hope this helps.
Hopefully, one day I'll become a PHP master like yourself but still a way off yet.
Thanks
I'm also getting the above warning on my test server http://simply.net46.net/intcart/ but not on my real server http://www.aivahealth.co.uk/test/. I'm guesing the PHP versions are different.
Also the 'your cart is empty' message seems not to show anymore if someone visits the cart without adding products (in the HTML box on the cart page -
Code: Select all
if ($itemcount == 0)
{
$strHTML = "<h3>Your shopping cart is empty.</h3>";
}
else
Sorry, hope this helps.
Hopefully, one day I'll become a PHP master like yourself but still a way off yet.
Thanks
PHP Version 5.2.6 on the real server (the one that works) with the message
PHP register globals
By default, PHP has register_globals switched off.
Our Windows, SSL and Linux servers have register_globals set to off.
shown on my account
and also Version 5.2.6 on the test server with
register_globals Off
Both are Linux servers if thats helpful
I also get the message when running on Quick and easy home server based on my pc (localhost) running version 5.2.2.
Cheers
PHP register globals
By default, PHP has register_globals switched off.
Our Windows, SSL and Linux servers have register_globals set to off.
shown on my account
and also Version 5.2.6 on the test server with
register_globals Off
Both are Linux servers if thats helpful
I also get the message when running on Quick and easy home server based on my pc (localhost) running version 5.2.2.
Cheers
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
uniformality wrote:Thank you for the info. I have rebuilt the pages as suggested. Everything appears to work but i do get a warning error on the cart and checkout pagesSince the Cart page and the customer page have been modified, i suggest that you rebuild them using the new version or something might not work.
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
Any suggestions as to what ive got wrong?
Thanks in advance
Paul
Hm... Although I don't know which part of the code causes this, you can try setting the error reporting to 0.
Go in the Start of Page of the pages that have the issue. you will see this line:
error_reporting(55);
Change it to error_reporting(0);
Save and puvblish again the pages.
Then let me know
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Kevin, please look my last post about this warning message.kevinp wrote:PHP Version 5.2.6 on the real server (the one that works) with the message
PHP register globals
By default, PHP has register_globals switched off.
Our Windows, SSL and Linux servers have register_globals set to off.
shown on my account
and also Version 5.2.6 on the test server with
register_globals Off
Both are Linux servers if thats helpful
I also get the message when running on Quick and easy home server based on my pc (localhost) running version 5.2.2.
Cheers
Regarding discounts and empty cart messages: it was my mistake, I've been working on this project from 3 different computers and although i pay enough attention, some updates i did on one computer were not carried over to the others, thus the issue.
Please download again and replace the code in Start of Page and in the HTML box in the Cart page.
www.dbtechnosystems.com
I know what you mean. I also work between three different computers/portable hardrives and it can be difficult to keep track of sometimes.
I'll try setting the error reporting to 0.
Thank you for the work you've put in on sharing your shopping cart. It's a very useful addition to Web Builder and is much appreciated.
Thanks again
I'll try setting the error reporting to 0.
Thank you for the work you've put in on sharing your shopping cart. It's a very useful addition to Web Builder and is much appreciated.
Thanks again
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Hi Paul,uniformality wrote:Hi Naval,
Did the modifications suggested and no errors are reported. Thanks for the assistance.
Regards
Paul
It would be good if you also replaced the code in the cart page (Start pof Page and html box). There was a bug in the promo codes calculation and the Empty Cart error message. Kevin has done so and it his cart is now fine
www.dbtechnosystems.com
Hi Naval,
Thanks again for all you work and support
Regards
Paul
Is there a new version to download to do this?It would be good if you also replaced the code in the cart page (Start pof Page and html box). There was a bug in the promo codes calculation and the Empty Cart error message. Kevin has done so and it his cart is now fine
Thanks again for all you work and support
Regards
Paul
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Hi,
This is not a cart issue, you have issues with how php has been setup in your hosting account.
Each PHP setup has a predefined path on the server where it stores the sessions details.
Seems like in your account this has not been correctly setup thus causing the issue.
I have met only once with this issue before. Since the hosting company would not solve this, i have solved it setting mt own sessions:save path. THis is done by adding a line in the config.php file, something like:
ini_set('session.save_path', '/path/to/public_html/cart_folder/php_sessions');
which will store session details in the subfolder "php_sessions" of the "cart_folder"
However this requires some php programming knowledge as you need to also modify one of the carts files to be able to include this line in config.php each time a new settings set is saved.
It would be far more easier if your hosting company can fix this (they need to recompile php with the correct session.save_path )
This is not a cart issue, you have issues with how php has been setup in your hosting account.
Each PHP setup has a predefined path on the server where it stores the sessions details.
Seems like in your account this has not been correctly setup thus causing the issue.
I have met only once with this issue before. Since the hosting company would not solve this, i have solved it setting mt own sessions:save path. THis is done by adding a line in the config.php file, something like:
ini_set('session.save_path', '/path/to/public_html/cart_folder/php_sessions');
which will store session details in the subfolder "php_sessions" of the "cart_folder"
However this requires some php programming knowledge as you need to also modify one of the carts files to be able to include this line in config.php each time a new settings set is saved.
It would be far more easier if your hosting company can fix this (they need to recompile php with the correct session.save_path )
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
No, you have left the Minimum Shipping Charges to 7 and Handling charges to 6 (7+6=13)parcou wrote: I still get 13.00 to ship on the first item instead of 8 for Ntl all for the US...must be my php pages
Two of your items have shiiping 3 and 4 and the others don't have any.
Further more you have set the shipping fees calculation to be based on Cart Net Value, so the per item shipping is ignored
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
If in the Admin area you are setting as Origin country US and it does NOT save it, it means that you STILL have the buggy file set_shipping1.php instead of the new one! Maybe you have downloaded BEFORE the update ?
Also it seems that you have not updated the code in Start of Page and in the HTML box of the "cart" page
Also it seems that you have not updated the code in Start of Page and in the HTML box of the "cart" page
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
As i said, you also need to replace the code in the HTML box.parcou wrote: I imported the new cart and copied the start code....then I put the start code in the original cart. Now the cart recalculates & does the promio...
Since i don't know when you built your "cart" page, it would also be wise to replace the countries dropdown (it has code embedded!)
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Not easily- Please understand that if i make any change i need to do it in a way that it can be done easily though the admin interface. So this implies a certain volume of work as both solutions should be available, easily, to anyone.parcou wrote: Side question. Promo discounts are whole dollar amounts. Is it possible to do 10, 20, 30% promo discounts off the total?
That's because that is server time. Again, changes are required to make this adjastable through the interface.PS. I noticed the time stamp on my emails are one hour ahead...can I fix that?
For now, you can add this line in the thankyou page:
date_default_timezone_set('America/New_York');
Replace America/New_York with your own timezone, as found in
http://it2.php.net/manual/en/timezones.america.php
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Well, I am trying the new uploaded file.
This is demo and the link is : http://shop.lucknowwebs.net/
Whenever I am trying this page : http://shop.lucknowwebs.net/products.php
and clicking on "Add to cart"... I am being sent to the "Cart" page though nothing is displaying but a blank page.
That is http://shop.lucknowwebs.net/cart.php shows a blank page
Any help!
This is demo and the link is : http://shop.lucknowwebs.net/
Whenever I am trying this page : http://shop.lucknowwebs.net/products.php
and clicking on "Add to cart"... I am being sent to the "Cart" page though nothing is displaying but a blank page.
That is http://shop.lucknowwebs.net/cart.php shows a blank page
Any help!
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Web Shop Plus comments and questions
The normal webshop still exists and probably support would also provide tech assistance. But there is an abbyss between the two versions in terms of features and user friendliness.Sandyfishgirl wrote:Here I go! I have spent three days building part of a web store using the WB6 Web Shop - only to find it is no longer supported
The real solution would be to have a checkbox in the cart page, that should be checked by those customers. Checking it would result in applying tax to that sale. However since this is not a built in feature a small piece of code would be required for this.The big question for me is tax in my state only - - I think the 'solution' may be to build the tax into the total price of an item. NOW, if I had products that cost 100's of dollars - they would be un-fair to everyone outside of my state. I think, smaller sales, under 100 dollars is not so bad??? At local shopping markets, MANY items are sold as a TOTAL amount - no tax break-down given. I would guess ? if they are a legal business, they do pay sales tax to the state? I will.
You can use thevisual part, but the code in ALL pages as well as in the Cart and Thankyou pages HTML boxes, as well as the hidden fields in the products forms, are changed.My second thought was, will I be able to use what I have built in WebShop in the WebShop Plus. If I read this forum correctly - it may just be a matter of copy & paste
Webshop Plus was developed starting from the original Webshop. So, it is a WB6 project. With this said, you simply open the WB pages and make whatever changes are required to give those pages the same look as the rest of your site! Other Open Source carts are not specifically made for WB so it is hard to customize the look. This is not the case here.I also downloaded the Webshop Plus 2 manual. I will keep it open on my desktop as I upload the new shop zip file. Much of what I have seen so far looks "kind of" like an open source shopping cart I tried and gave up on. MAINLY because it was NOT easy to see how I could implement my OWN design into the cart. I have used WB5 and now WB6 to build over 10 websites, since 2007. I will say, I ALWAYS get help and very little 'scolding' when I don't understand something, here on the WB forum.
Probably... But it will be a question of simply copying / pasting some code in your pages (to add features, like in example the State Specific Tax issue) OR uploading some files in the Admin Area.OK - all of that said.... One of the posts in this section mentions, by NavaldesignEspecially when the upcoming versions
Does this mean there is a newer version coming soon?
As you understand this is a free project, and as such i only implement new features when i have spare time.
www.dbtechnosystems.com
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
What about reply to my query?
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
You are really too impatient!
Did you setup the entire Admin area ? If not, you will be getting a blank page in the cart, because there are files missing.
You see, some of the necessary files are only created when you setup the Admin part.
This is especially true for the Ship to Areas Tab in the Admin interface. Click that tab, select at least some countries that you want to ship to, and click "Save" . This will create the necessary "shipto_countries.php" file.
Also set the Origin Country in the "Shipping Fees" tab and click on Save.
Test and let me know
Did you setup the entire Admin area ? If not, you will be getting a blank page in the cart, because there are files missing.
You see, some of the necessary files are only created when you setup the Admin part.
This is especially true for the Ship to Areas Tab in the Admin interface. Click that tab, select at least some countries that you want to ship to, and click "Save" . This will create the necessary "shipto_countries.php" file.
Also set the Origin Country in the "Shipping Fees" tab and click on Save.
Test and let me know
www.dbtechnosystems.com
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Sorry Naval,
That worked
That worked
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Naval,
I have a similar issue. I want to get away with the quantity thing.
As in quantity it will always be 1.
I tried putting quantity in the hidden fields but then in the cart it shows quantity as zero.
I also wish to have a drop down price option like...
1) Pay $ 250 now
2) Pay $300 now
3) I will make the full payment of $500 now
and any one can be selected by the client and will be billed accordingly
I have a similar issue. I want to get away with the quantity thing.
As in quantity it will always be 1.
I tried putting quantity in the hidden fields but then in the cart it shows quantity as zero.
I also wish to have a drop down price option like...
1) Pay $ 250 now
2) Pay $300 now
3) I will make the full payment of $500 now
and any one can be selected by the client and will be billed accordingly
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Navaldesign is this something for you?
http://www.webresourcesdepot.com/fly-to ... th-jquery/
http://www.webresourcesdepot.com/fly-to ... th-jquery/
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Ne,
The hidden field for quantity MUST work. If it doesn't you have something wrong.
The basic option should be "Flat package" for product description, $100 as product Price (that corresponds to the minimum payment) then add as option name : Payment
and as option values:
1. Downpayment $100 (with value 0)
2. Downpayment $ 250 (with value +150)
3. Downpayment $500 (with value + 400)
As you see the basic price $100 plus the option price makes, for the 3 cases, $100, $250, $500
The hidden field for quantity MUST work. If it doesn't you have something wrong.
The basic option should be "Flat package" for product description, $100 as product Price (that corresponds to the minimum payment) then add as option name : Payment
and as option values:
1. Downpayment $100 (with value 0)
2. Downpayment $ 250 (with value +150)
3. Downpayment $500 (with value + 400)
As you see the basic price $100 plus the option price makes, for the 3 cases, $100, $250, $500
www.dbtechnosystems.com