Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Excluding gift certificates in new products listing

    How can I exclude gift certificates from being shown in the new products listing?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Excluding gift certificates in new products listing

    You could apply an "IF" condition (though don't ask me how to code it!) in the includes/modules/new_products.php file.

    This IF condition could say:-

    "If the category ID is not equal to the category ID for Gift Certificates, then go ahead and display what else there is to display..."

    It's just a single like of code, I'm sure, but I don't know php from vanilla fudge.
    20 years a Zencart User

  3. #3
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Excluding gift certificates in new products listing

    Quote Originally Posted by schoolboy View Post
    You could apply an "IF" condition (though don't ask me how to code it!) in the includes/modules/new_products.php file.

    This IF condition could say:-

    "If the category ID is not equal to the category ID for Gift Certificates, then go ahead and display what else there is to display..."

    It's just a single like of code, I'm sure, but I don't know php from vanilla fudge.
    hmm.. I was hoping there would be something in admin I could change. I'm not too good with PHP either. I think I'll just move onto my next prob.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Excluding gift certificates in new products listing

    Perhaps we can gently nudge DrByte to lend a hand...
    20 years a Zencart User

 

 

Similar Threads

  1. How to Restrict Gift Certificates to Categories or Products?
    By enchantart in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 3 Feb 2011, 03:30 AM
  2. Can I prevent Gift Certificates from being bought with Gift Certificates?
    By Brianwocky in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 21 Dec 2010, 07:11 PM
  3. Gift Certificates Missing Add to Cart and Appearing in New Products
    By limelites in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 10 Feb 2009, 06:30 PM
  4. Excluding 1 Category from New Products
    By libracorn in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 1 Oct 2006, 10:43 PM
  5. Remove Gift Certificates from New Products?
    By buzzville in forum Customization from the Admin
    Replies: 4
    Last Post: 30 Jun 2006, 08:48 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