Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    help question Show deactivated product in catalog, but with notes

    Hi all!

    When products are out of stock from my supplier, but I still want to show this product to my customers, is there a way to get this into the product info automatically, or do I have to hard-program this into tpl_product_info_display.php?
    And how would I go around to fix this?
    e.g. Is there a way to fix this using the "Date Available" option when creating the product?

    Or, if I just write that the product is out of stock in the product description, is there a way for me to write this as a NOTE somewhere in the admin.., so I'll remember to change the productdescription, once the product again is available!
    - E.g. Does it exist som kind of "Makes NOTES in admin - modification"?

    Answers would have been MUCH appreciated!

    - Roger.

  2. #2
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show deactivated product in catalog, but with notes

    Sorry to double post, but I had only 7 minutes to edit that first one ;)

    Maybe something from the "upcoming products module" be used?

    - I'm not a great coder, I just happen to know a little bit about how PHP works, but I don't think I could do this my self, that's why I'm asking for help.

    Hoping that's OK.

    - Roger.

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

    Default Re: Show deactivated product in catalog, but with notes

    You could just set your Stock settings that Products with <= 0 quantity show as Sold Out ...
    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
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show deactivated product in catalog, but with notes

    Quote Originally Posted by Ajeh View Post
    You could just set your Stock settings that Products with <= 0 quantity show as Sold Out ...
    Sure I could.. but the problem is that I only stock just a few of all the products I offer. I place orders as I get them from my customers, and it would look stupid if 200 out of 250 products always was marked as "sold out" ;)

    anyway.. I found a solution by making some changes to the code in tpl_product_info_display.php, using if/elseif/else commands.

    So now while making the products:
    If I set the "in stock option" to <=0 it shows on product info page:
    "This is sold out from supplier, please contact us... "
    If I set it to <=500 it reads "Estimate about 3 weeks for delivery" and
    if I set it to >501 it reads "Product in stock".

    And then I have to pay attention to when the 500 is beginning to go as low as 0, then I'll have to update the DB again.. (hmm.. maybe I should raise the numbers to 0 / 5000 / > 5000!? :)

    My shop is for norwegian customers (I'm Norwegian, - guess you could tell already I wasn't English-speaking) ;) - and my supplier is all the way over with you guys in the USA, so that's the only way I can do it, without stocking up several thousands of products.. I sell goods which customers tend to buy +- 50ct at the time.

    But HEY! Thanks for your reply!

 

 

Similar Threads

  1. Home links point to .../catalog/ but don't display .../catalog/index.php
    By double-happiness in forum General Questions
    Replies: 3
    Last Post: 29 Nov 2011, 03:21 PM
  2. How to show one product in 2 catalog?
    By ert0000 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 20 Oct 2009, 02:26 AM
  3. Product in store but not in catalog
    By movefearlessly in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Apr 2009, 10:09 PM
  4. Deactivated Products Show Up Anyway
    By mluusua in forum General Questions
    Replies: 6
    Last Post: 2 Jun 2008, 01:16 PM
  5. Homepage with Product on sidebars But not a Catalog Page
    By fl33140 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Mar 2007, 06:37 AM

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