Forums / General Questions / Units in Stock - number not decreasing

Units in Stock - number not decreasing

Locked

Views: 2,161

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
11 Feb 2009, 7:06 PM
#1
rgriffith98 avatar

rgriffith98

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Units in Stock - number not decreasing

I only want to sell a limited quantity per product. However, the number is not decreasing when items are sold. Is there something I missed while setting it up or do I have to change it manually.

11 Feb 2009, 7:35 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Units in Stock - number not decreasing

Check your settings in the Configuration ... Stock ... make sure you are setup properly for this ...

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!

11 Feb 2009, 9:20 PM
#3
rgriffith98 avatar

rgriffith98

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: Units in Stock - number not decreasing

I believe that I have everything set up right....But I dont know which one I would need to change at this point.

11 Feb 2009, 11:14 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Units in Stock - number not decreasing

Perhaps if you post all of your settings someone could help you further ... :smile:

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!

12 Feb 2009, 12:58 PM
#5
rgriffith98 avatar

rgriffith98

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: Units in Stock - number not decreasing

Here is what I have them set to under stock

Stock

Check stock level true
Subtract stock true
Allow Checkout true
Mark product out of stock ***
Stock Re-order level 5
Products status in Catalog when out of stock should be set to 0
Show Sold Out Image in place of Add to Cart 1
Product Quantity Decimals 0
Show Shopping Cart - Delete Checkboxes or Delete Button 3
Show Shopping Cart - Update Cart Button Location 3
Show New Products on empty Shopping Cart Page 1
Show Featured Products on empty Shopping Cart Page 2
Show Special Products on empty Shopping Cart Page 3
Show Upcoming Products on empty Shopping Cart Page 4
Show Notice of Combining Shopping Cart on Login 1

12 Feb 2009, 3:18 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Units in Stock - number not decreasing

What kind of Products are you selling?

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!

12 Feb 2009, 5:59 PM
#7
rgriffith98 avatar

rgriffith98

New Zenner

Join Date:
Nov 2008
Posts:
13
Plugin Contributions:
0

Re: Units in Stock - number not decreasing

I sell Digital graphic collections for different craft projects.

12 Feb 2009, 8:59 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Units in Stock - number not decreasing

By default, Downloads are not tracked on stock ... :cry:

However ...

If you ONLY sell Downloads ... there is a way ... but if you sell anything that has to be shipped ... this would break your shipping ...

IF you ONLY sell Downloads and want to track stock, you can mark them as Virtual Products ...

NOTE: Downloads are NEVER marked as Virtual Products ...

However, to track stock on sites that are ONLY Downloads and have NO Products for shipping, you can use the Virtual Product YES as a method to track stock ...

Do NOT do this on a site that sell both Downloads and Products that Ship ... or you will be doomed ... :eek:

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!

12 Feb 2009, 9:35 PM
#9
wrapper avatar

wrapper

New Zenner

Join Date:
May 2007
Posts:
71
Plugin Contributions:
0

Re: Units in Stock - number not decreasing

I have the same issue. When I enter a download in I always check virtual so that it doesn't ask for shipping.
Mine don't adjust either.
I would love to have help on this too.
I know that there is other sites that have it set for just a certain # of downloads.
TY in advance for any assistance:smile:

13 Feb 2009, 4:20 AM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Units in Stock - number not decreasing

Okay ... I goobered up on that one ... it worked for something else I wrote for a client ... :blush:

Now for the real way to make Downloads track ...

Customize the order class file:
/includes/classes/order.php

Find the lines:

          // do not decrement quantities if products_attributes_filename exists
          if ((DOWNLOAD_ENABLED != 'true') || $stock_values->fields['product_is_always_free_shipping'] == 2 || (!$stock_values->fields['products_attributes_filename']) ) {

Change to read:

          // do not decrement quantities if products_attributes_filename exists
          if (true || (DOWNLOAD_ENABLED != 'true') || $stock_values->fields['product_is_always_free_shipping'] == 2 || (!$stock_values->fields['products_attributes_filename']) ) {

NOTE: Downloads are NEVER Virtual Products ... Downloads are NEVER Always Free Shipping ... Downloads "know" that they do not need shipping ... :cool:

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!

13 Feb 2009, 1:13 PM
#11
wrapper avatar

wrapper

New Zenner

Join Date:
May 2007
Posts:
71
Plugin Contributions:
0

Re: Units in Stock - number not decreasing

excellent Thanks so much it worked!:clap:
Looks like I owe someone a coffee :P