Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2009
    Posts
    244
    Plugin Contributions
    0

    Default Remove the "What's_New" sidebox from the Product Info Page

    I want to remove the sidebox "what's new" from the product info pages? but have them show on my other pages. I don't think this is hard to do, but just need some guidance.

    Really the only thing I want to show on the product info page is the manufacturer logo, the tell a friend sidebox, the notification side box, shopping cart, and order history, and maybe the best sellers.

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

    Default Re: Remove the "What's_New" sidebox from the Product Info Page

    You could change line 26 to read:
    Code:
      if (!isset($_GET['products_id']) && $random_whats_new_sidebox_product->RecordCount() > 0 ) {
    Note: with a little more coding you could make it more efficient but this works ...
    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: v1.5.5]
    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!

  3. #3
    Join Date
    Dec 2009
    Posts
    244
    Plugin Contributions
    0

    Default Re: Remove the "What's_New" sidebox from the Product Info Page

    Quote Originally Posted by Ajeh View Post
    You could change line 26 to read:
    Code:
      if (!isset($_GET['products_id']) && $random_whats_new_sidebox_product->RecordCount() > 0 ) {
    Note: with a little more coding you could make it more efficient but this works ...
    What file would I edit?

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

    Default Re: Remove the "What's_New" sidebox from the Product Info Page

    Read this tutorial:
    https://www.zen-cart.com/tutorials/index.php?article=39

    1. Search for this:
    2. $random_whats_new_sidebox_product->RecordCount
    Mark
    Hare Do

  5. #5
    Join Date
    Dec 2009
    Posts
    244
    Plugin Contributions
    0

    Default Re: Remove the "What's_New" sidebox from the Product Info Page

    Quote Originally Posted by haredo View Post
    Read this tutorial:
    [/LIST]
    Nothing shows up.... This is what I get:

    "Warning Error: No matching Configuration Keys were found ... $random_whats_new_sidebox_product->RecordCount"

    Any ideas?

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

    Default Re: Remove the "What's_New" sidebox from the Product Info Page

    After you paste the wording in the box the next field is this:
    All Files Look-ups: choose catalog, then search
    Mark
    Hare Do

  7. #7
    Join Date
    Dec 2009
    Posts
    244
    Plugin Contributions
    0

    Default Re: Remove the "What's_New" sidebox from the Product Info Page

    Quote Originally Posted by haredo View Post
    After you paste the wording in the box the next field is this:
    Got it! Thanks!!! I was putting the phrase in the wrong place

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

    Default Re: Remove the "What's_New" sidebox from the Product Info Page

    Great news, and ty for posting the solution...

    Don't feel bad, it happens to me all the time too..
    Mark
    Hare Do

 

 

Similar Threads

  1. v153 Removing the "Product Model" from the META Title in the product info view?
    By joecooper in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 May 2015, 07:54 PM
  2. Replies: 4
    Last Post: 4 May 2013, 09:33 AM
  3. Replies: 3
    Last Post: 15 Feb 2013, 03:17 PM
  4. Replies: 16
    Last Post: 14 Feb 2013, 12:02 PM
  5. Replies: 4
    Last Post: 22 Apr 2010, 05:08 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