Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Posts
    70
    Plugin Contributions
    0

    Default Manufactures pages overrides

    im hoping someone can help me out, having a bear of a time with this one. we are showing manufactures pages which are realy almost identical to the catagory ($cPath) or advanced search results pages. I can turn the right sidebox off on these pages using an if statement in either tpl_main_page.php or in the sidebox modules files using the cPath explode method. I cant figure out how to use Manufactures_id to do the same. i have tried

    tpl_main_page.php


    if ($current_page_base == 'index' and $manufacturers_id > 0){
    $flag_disable_right = true;
    }
    and seem to get nowhere.

    I have also tried building a 'Product_list' Override folder with a seperate tpl_main_page.php and that didnt seem to work

    here is the page(s) that are suspect!!

    http://www.stogieboys.com/zen/index....facturers_id=3


    thanks
    mike z

  2. #2
    Join Date
    Mar 2005
    Posts
    70
    Plugin Contributions
    0

    Default Re: Manufactures pages overrides

    Ok i figured out how to do it, but was really looking for a more top level approach !

    in sidebox module i used


    if (in_array($current_page_base,explode(",",'product_info,document_product_info,con ditions,returns,contact_us,account,account_edit,address_book,account_password,wi shlist,account_history,account_history_info,shippinginfo,privacy')) ) {
    $show_blank_sidebox_right2 = true;
    } else if ($this_is_home_page) {
    $show_blank_sidebox_right2 = false;
    }else{
    $show_blank_sidebox_right2 = false;

    }

 

 

Similar Threads

  1. how to get URL to categories, products, manufactures and ez-pages
    By eVelt in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Feb 2015, 05:08 PM
  2. Manufactures pages: display products only if in stock (quantity =1+)
    By dharma in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Oct 2008, 09:52 PM
  3. Define Pages and overrides
    By ScootaMan in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Nov 2007, 07:58 PM
  4. EZ pages and languages overrides
    By femky in forum Customization from the Admin
    Replies: 3
    Last Post: 17 May 2006, 05:57 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR