Jump to content
Sign in to follow this  
trickynek

Partial Quantity Mod - Cannot get it to function

Recommended Posts

I tried to apply the Partial Quantity Mod - No luck. Has anyone had luck with this or found a way to allow the customer to input non-integer quantities? I already have it setup for them to input the quantity from the product page, but we need to be able to allow them to input a decimal amount and to have that register all the way through checkout.

Share this post


Link to post
Share on other sites

I follow step by step instructions but still:

 

couldn't check out while the quantity over all was below 1

 

If i have more than 1, it is ok.

 

 

Any solutions?

 

 

For me its working nice!

But I want to ad from same product once for example 1.7 and once 7.6 there is a porblem its get 9.3 smile.gif

Is there a solution for that to dont sum the quantyty?

 

http://addons.oscommerce.com/info/3938

Share this post


Link to post
Share on other sites
I follow step by step instructions but still: couldn't check out while the quantity over all was below 1 If i have more than 1, it is ok. Any solutions?

 

I'm replying to this as I had the same problem and have only just fixed it.

 

In includes/classes/shopping_cart.php look for this line (around line 230) -

 

if ($this->contents[$key]['qty'] < 1) {

 

change to this -

 

if ($this->contents[$key]['qty'] < 0.1) {

 

Or whatever minimum fraction you want to deal in

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×