Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Default New Products with sold out

    I want to show out of stock items with the sold out warning when looking at products in a category of the shop but I also get sold out products in the New Products listing page.

    Is there a way to only show in stock products in the New Products pages?

    Thanks.

  2. #2
    Join Date
    Aug 2005
    Posts
    26,009
    Plugin Contributions
    9

    Default Re: New Products with sold out

    You would have to custom code this in stock check into the new products and whats new files
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,048
    Plugin Contributions
    3

    Default Re: New Products with sold out

    BACK UP FIRST!

    edit includes/modules/pages/products_new/header_php.php

    Add
    Code:
    and p.products_quantity > 0
    after
    Code:
    WHERE p.products_status = 1
    AND p.products_id = pd.products_id
    which is found on around lines 30 - 31

    Make sure you back this file up, as there is no override system for this folder!

    Absolute

  4. #4

    Default Re: New Products with sold out

    Excellent,
    Thanks

  5. #5
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: New Products with sold out

    I tried this fix, but it made no difference at all. I am still getting sold out (zero quantity) showing up in New Products.
    [FONT="Franklin Gothic Medium"]I Think, Therefore I Zen. I Zen, Therefore, I AM![/FONT]
    Brand Names you Know, Brand Names you Trust!
    Ashby's Online
    using version 1.3.8

  6. #6
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,048
    Plugin Contributions
    3

    Default Re: New Products with sold out

    This fix will only remove teh sold out products from the New Products page - not the New Products box which appears in various locations within the store. Is this where the sold out products are appearing?

    Absolute

  7. #7
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: New Products with sold out

    The phantom new products are showing up in the new products for "month" boxes that show up when you click catagories and sub catagories. The do Not appear when you click the New Products link.
    [FONT="Franklin Gothic Medium"]I Think, Therefore I Zen. I Zen, Therefore, I AM![/FONT]
    Brand Names you Know, Brand Names you Trust!
    Ashby's Online
    using version 1.3.8

  8. #8
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,048
    Plugin Contributions
    3

    Default Re: New Products with sold out

    For that box, you would need to edit includes/modules/YOUR_TEMPLATE/new_products.php

    Add the following code to the SQL starting line 23 ater and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
    Code:
    and p.products_quantity > 0
    That's it.

    Absolute

  9. #9
    Join Date
    Feb 2006
    Posts
    588
    Plugin Contributions
    0

    Default Re: New Products with sold out

    Nope. That didn't work. Sorry.

    Just to reiterate, I am talking about the New Products for "month" box that shows up when you click on a catagory, or sub catagory. IE: New Products for January

    Nothing I've done, short of actually deleting the product, has removed it from that box.
    [FONT="Franklin Gothic Medium"]I Think, Therefore I Zen. I Zen, Therefore, I AM![/FONT]
    Brand Names you Know, Brand Names you Trust!
    Ashby's Online
    using version 1.3.8

  10. #10
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,048
    Plugin Contributions
    3

    Default Re: New Products with sold out

    That's the file you need to edit. Have you placed it in your active template folder, or in a folder called YOUR_TEMPLATE?

    Absolute

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 28 Mar 2011, 04:08 AM
  2. Products Sold By Weight
    By johnny43 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 27 Jul 2006, 01:41 AM
  3. products sold but not showing sold in report or inventory
    By knitlady in forum Managing Customers and Orders
    Replies: 3
    Last Post: 7 Jul 2006, 04:31 AM

Bookmarks

Posting Permissions

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