Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  2. #2
    Join Date
    Nov 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Units in Stock - number not decreasing

    I sell Digital graphic collections for different craft projects.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Units in Stock - number not decreasing

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

    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 ...
    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!

  4. #4
    Join Date
    May 2007
    Posts
    71
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Units in Stock - number not decreasing

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

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

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

    Find the lines:
    Code:
              // 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:
    Code:
              // 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 ...
    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!

  6. #6
    Join Date
    May 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Units in Stock - number not decreasing

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

 

 

Similar Threads

  1. To show "In stock" but not number of units?
    By Marre in forum Basic Configuration
    Replies: 6
    Last Post: 2 May 2011, 11:03 PM
  2. Option of displaying number of units in stock
    By dhau in forum General Questions
    Replies: 16
    Last Post: 26 Nov 2008, 08:07 PM
  3. inventory control - number not decreasing on storefront
    By alwinch in forum General Questions
    Replies: 9
    Last Post: 7 Nov 2008, 08:26 PM
  4. Removing the number of units in stock?
    By tanyaleann in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Oct 2008, 04:32 PM
  5. number of units in stock display
    By ckuhl in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 May 2006, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg