Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    May 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Keeping GiftCerts out of New Products.

    Larry,

    I really appreciate your time on this issue!
    I made the modification to the query but it didn't seem to remove the category from the page listing...
    Since I'm using the "OverRides", I tried editing the original, /includes/modules/sideboxes/what_new.php, but this didn't remove the gift certs from the query either...
    I reviewed the query mod in the /includes/modules/new_products.php and saw they are pretty much the same mod but couldn't figure what I did wrong...

    Any direction appreciated,
    Jim

  2. #12
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Keeping GiftCerts out of New Products.

    Quote Originally Posted by SodaJim View Post
    Since I'm using the "OverRides", I tried editing the original, /includes/modules/sideboxes/what_new.php, but this didn't remove the gift certs from the query either...
    This is the answer!
    Once you make a change to the orginal place that copy in your override directory.
    Ex: includes/modules/sideboxes/yourtemplate/what_new.php
    Look in your override to see if you have what_new.php if so, when you changed the orginal you will notice no effect.
    Mark
    Hare Do

  3. #13
    Join Date
    May 2005
    Posts
    96
    Plugin Contributions
    0

    Idea or Suggestion Re: Keeping GiftCerts out of New Products.

    Mark,

    Thanks for the reply!

    When I stated that I edited the original, I wasn't clear enough in that I had placed the edited version of "what_new.php" in the custom/override dir but didn't see the query function correctly... I then removed the file from the custom/override dir and edited the original thinking this would work, but it didn't...
    I know the custom/override dir is functioning because I have other files that have been modified and are functioning correctly.
    Hope this clears up the issue I'm having...
    I'll give it another go since I'm feeling fresh!

    Thanks again,
    Jim

  4. #14
    Join Date
    May 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Keeping GiftCerts out of New Products.

    I figured out what else needed editing; however, I'm attempting to utilize the Over-Rides System on this but cannot seems to figure the dir structure...

    The file is /includes/modules/pages/products_new/header_php.php
    How would I use the Over-Rides to incorporate the file changes with the dir listed above...?

    I tried several variations of the Over Rides dir structure but ZC keeps using the main .../products_new/header_php.php file...
    I've edited this file to include the query mod and it does exclude the Gift Certs but once I attempt this using Over Rides, the query doesn't filter out the Gift Certs...

    I'm not seeing the obvious...

    Any direction appreciated,
    Jim
    Last edited by SodaJim; 5 May 2007 at 08:17 PM. Reason: Spelling errors

  5. #15
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Keeping GiftCerts out of New Products.

    The file is /includes/modules/pages/products_new/header_php.php
    How would I use the Over-Rides to incorporate the file changes with the dir listed above...?
    Sorry- the /pages/ directory is NOT overridable at this time. If you have to modify a header_php file, be sure to keep a copy of your modified file somewhere as a backup so you can replace it/merge your changes with future upgrades.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #16
    Join Date
    May 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Keeping GiftCerts out of New Products.

    Kim,

    Thanks for the reply!

    That explains the problems I was having attempting to get the overrides working!

    Thanks again,
    Jm

  7. #17
    Join Date
    May 2005
    Posts
    96
    Plugin Contributions
    0

    Idea or Suggestion Re: Keeping GiftCerts out of New Products.

    Quote Originally Posted by Kim View Post
    Sorry- the /pages/ directory is NOT overridable at this time. If you have to modify a header_php file, be sure to keep a copy of your modified file somewhere as a backup so you can replace it/merge your changes with future upgrades.
    Hello Kim,

    Is there documentation regarding which directories are not overridable within the Catalog side of ZC...?
    Can I assume the book's reference to Overriding is possible in the current dir as long as the "classic" override dir exists in the same dir...
    This sounds confusing but if "classic" is not present, then the Overrides feature doesn't apply for the files residing there...

    Thanks again for your time,
    Jim

  8. #18
    Join Date
    Jan 2007
    Posts
    22
    Plugin Contributions
    0

    Default Re: Keeping GiftCerts out of New Products.

    Help!

    I have document-general types on my site which I do not wish to be displayed in the new products listing (linked from the categories sidebox).

    I tried Gryphon's mod to new_products.php adding the master category id of my documents but it's not working - they still show on the new products listing. Am I missing something?

    Zen Cart v1.3.7


    Thanks,

    Jonathan

  9. #19
    Join Date
    May 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Keeping GiftCerts out of New Products.

    Jonathan,

    Make sure you also edit "../includes/modules/sideboxes/what_new.php" with the code previously listed, change the Category ID to reflect your documents category ID and that should do it...

  10. #20
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Keeping GiftCerts out of New Products.

    Quote Originally Posted by AtomicWorkshop View Post
    Help!

    I have document-general types on my site which I do not wish to be displayed in the new products listing (linked from the categories sidebox).

    I tried Gryphon's mod to new_products.php adding the master category id of my documents but it's not working - they still show on the new products listing. Am I missing something?

    Zen Cart v1.3.7


    Thanks,

    Jonathan
    Do you have a link to look at as an example?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Out Of Stock - in New Products
    By Renz in forum General Questions
    Replies: 0
    Last Post: 18 Apr 2012, 03:22 AM
  2. Keeping on SOLD OUT and Image Pictures
    By Rabbcon in forum Customization from the Admin
    Replies: 19
    Last Post: 20 Mar 2009, 05:27 AM
  3. Sold out products listing in New products
    By sparkiii in forum Basic Configuration
    Replies: 3
    Last Post: 27 Sep 2007, 10:58 PM
  4. Keeping "New products" and "monthly special" only on homepage ?
    By Corinne in forum Basic Configuration
    Replies: 2
    Last Post: 10 Jun 2007, 10:14 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR