Forums / Managing Customers and Orders / Quantity on Hand not updating after sale

Quantity on Hand not updating after sale

Locked

Views: 2,422

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
12 Nov 2009, 12:13 PM
#1
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Quantity on Hand not updating after sale

I am using the latest version. Everything else is working. All products are downloadables. Cart is perfect. Payment goes smoothly. Emails are sent. Customer gets download and opportunity to try again for 3 days or 3 downloads. Just one problem - I started with a quantity of 1000 units and after 15 complete sales (all marked as delivered) I still have 1000 units in stock. What am I overlooking?

13 Nov 2009, 11:41 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity on Hand not updating after sale

Downloads do not track stock ... :eek:

IF you only have a Download site and have NO Physical Products ... there is a work around that should not break things and that is to setup your Downloads the WRONG way ...

By setting the Download Products up the WRONG way and marking them as Virtual Products YES ... which is the WRONG way to setup a Download Product ... then the stock will track ...

The better solution is to customize the code to track the stock for Downloads ...

And, consider as this is a customization, do you want the Download Stock tracked when the Product is ordered? Or, when the Download is downloaded?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Nov 2009, 3:40 AM
#3
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Quantity on Hand not updating after sale

So, if I go through all 2800 + products and change product is virtual to yes, it will start counting down the quantity on hand?

If I choose to have it count only after the download would it count twice if the customer had to download it a second time to get a good copy?

I like the second idea much better

Better than 90% of past customers have got it the first time and it's not really that big a deal if I have to correct after multiple attempts. I look at each order at night anyway in case I see that they have none left. It may mean they didn't get a good copy and used all 3 download tries. I then send them an email to make certain.

I do have 5 products in a different category that must be shipped but i could do them a different way if needed...

14 Nov 2009, 4:09 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity on Hand not updating after sale

If you need to ship products, then using the Virtual Product on a Download will break the calculations for shipping ...

It might be better to have it count with each actual download ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Nov 2009, 2:02 PM
#5
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Quantity on Hand not updating after sale

Shipping calculations to what aspect? The price listed includes shipping. I only accept Paypal as form of payment.

14 Nov 2009, 3:17 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity on Hand not updating after sale

On the 5 Products, if 1 of them is in the cart, when you go to checkout do you see the checkout_shipping page?

If so, what shipping module(s) are showing?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Nov 2009, 11:09 PM
#7
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Quantity on Hand not updating after sale

The page is main_page=checkout_shipping. If you are asking what I think you are there is a radio button for free shipping. nothing else.

15 Nov 2009, 2:56 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity on Hand not updating after sale

So all of your shipping is free and your only shipping module is Free Shipping ...

How are you marking your Products as Free Shipping? With Always Free Shipping or 0 weight?

Will you ever be doing shipping that involves shipping charges or will that always be part of the Product Price?

The main reason for all the questions is that I am about to suggest that you incorrectly configure your Products so that you can have stock tracking on your Downloads ...

And, I am trying to determine if you are trying to track quantity 1 when the Download is "sold" or multiple quantity based on each Download of a file of a Download Product ...

This also leads to do your Download Products contain 1 filename each or multiple filenames ... as this could affect the tracking if you what to track the individual download of each file ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Nov 2009, 4:12 AM
#9
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Quantity on Hand not updating after sale

I always add enough to the cost to cover shipping. "Always free shipping" is set. Originally, I set weight to 0 for everything as well. There is only 1 file per item

16 Nov 2009, 5:41 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity on Hand not updating after sale

If you want to track stock on everything based on qty purchased, then set the Downloads as Virtual and they will track stock based on sales on an order ...

NOTE: This is NOT the right way to setup Downloads if you have a shop that needs to have shipping calculated ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Nov 2009, 12:22 PM
#11
ouxly40 avatar

ouxly40

New Zenner

Join Date:
Aug 2007
Posts:
31
Plugin Contributions:
0

Re: Quantity on Hand not updating after sale

Is there a global method of doing this or am I about to edit 2800 products?

16 Nov 2009, 2:50 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Quantity on Hand not updating after sale

Backup your database, this command will change ALL products to be set to Virtual ...

UPDATE products SET products_virtual = 1;

NOTE: To NOT change the Products that are already marked as Always Free Shipping use:

UPDATE products SET products_virtual = 1 WHERE   	product_is_always_free_shipping = 0;

Be sure to backup your database before trying this and then try creating some orders and testing the checkout to see if things are tracking on the stock ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!