Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Partial Quantity Mod - Cannot get it to function


Guest

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.

Link to comment
Share on other sites

  • 6 months later...
  • 8 months later...

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

Link to comment
Share on other sites

  • 1 year later...
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...