Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40
  1. #31
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Hide What's New and Best Sellers Sideboxes

    ALL becomes ALL2

    all becomes all2
    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!

  2. #32
    Join Date
    Dec 2009
    Posts
    244
    Plugin Contributions
    0

    Default Re: Hide What's New and Best Sellers Sideboxes

    Quote Originally Posted by Ajeh View Post
    ALL becomes ALL2

    all becomes all2
    Fixed it, that looks like all I was missing were the remaining alls. Thank you for your help.

    My only question now is how do I remove this set of boxes from the Product ID pages?

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

    Default Re: Hide What's New and Best Sellers Sideboxes

    You could customize the code further:
    Code:
      if ($_GET['products_id'] || SHOW_BANNERS_GROUP_SET_ALL2 == '') {
    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!

  4. #34
    Join Date
    Dec 2009
    Posts
    244
    Plugin Contributions
    0

    Default Re: Hide What's New and Best Sellers Sideboxes

    I would place this code into the Banner_box_all2 and place in my override folder? Got it, Worked like a charm :)

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

    Default Re: Hide What's New and Best Sellers Sideboxes

    Ajeh,

    I have a question/modification that I haven't been able to find a solution to and thought you might know.

    I want to make the products in the center of my site a little more uniform. The product names and prices span too far and I want to limit each product to a specific width to to give it a cleaner look.

    On my homepage, you will notice what I am talking about with "New Products for July".

    How could I fix this?

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

    Default Re: Hide What's New and Best Sellers Sideboxes

    Afraid I am not much of a designer type ...
    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!

  7. #37
    Join Date
    Apr 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Hide What's New and Best Sellers Sideboxes

    Quote Originally Posted by Ajeh View Post
    Using your templates and overrides, customize the best_sellers.php sidebox with the code in red:
    [CODE]
    // bof: turn off best sellers on home page
    if ($this_is_home_page) {
    $show_best_sellers= false;
    }
    // eof: turn off best sellers on home page

    if ($show_best_sellers == true) {
    Hi Ajeh, thanks for your code suggestion, I also wanted to hide the bestsellers sidebox on my home page and the solution above worked fine. However, I just realized that I would prefer to have it shown only during product listing. So the customer easily can see the most sold products in the current category the customer is vewing. So I want to hide the bestsellers sidebox on for example "index.php?main_page=logoff", "index.php?main_page=reviews", "index.php?main_page=specials" etc... would love to see a code example where I can add the pages where I don't want the sidebox to show. Could use this for other sideboxes as well.

    Thanks!

    Best regards

    Peter

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

    Default Re: Hide What's New and Best Sellers Sideboxes

    You could use:
    Code:
    // bof: turn off best sellers except for listing
    if ($_GET['main_page'] != 'index') {
      $show_best_sellers= false;
    }
    // eof: turn off best sellers except for listing
    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!

  9. #39
    Join Date
    Apr 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Hide What's New and Best Sellers Sideboxes

    Thanks Linda! Works perfectly! :)

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

    Default Re: Hide What's New and Best Sellers Sideboxes

    Thanks for the update that this worked for you ...
    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!

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. v153 Intelligent All, Featured, Best Sellers, New, and Specials Links
    By mikeel100 in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2015, 08:46 PM
  2. Can I choose what goes inside Best Sellers
    By dermit in forum General Questions
    Replies: 1
    Last Post: 16 Nov 2010, 07:40 AM
  3. Display "Best Sellers" like "What's New" or "Specials" lists.
    By jsmooth in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Jun 2010, 12:06 AM
  4. Replies: 0
    Last Post: 1 Sep 2009, 11:26 PM
  5. Replace New Products Box w/ Best Sellers
    By mxer269 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Mar 2009, 04:36 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