Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Product Filter by Attribute and price range Help

    Hey there,

    I'm currently using 1.3.8 and have installed the filter by attribute and price range module. I was wondering how i would go about disabling the option for the price range option.

    Also, I have two attribute options (size and colour) and on the sidebar (click here) they appear twice. I am unsure how to fix this.

    The final thing, is that I only want one attribute option to be selected from (Size). How do I disable th colour option?

    Regards,

    Adam.

  2. #2
    Join Date
    Apr 2010
    Posts
    22
    Plugin Contributions
    0

    Default Re: Product Filter by Attribute and price range Help

    I believe this is the code that is ausing me issues: Help is appreciated

    if(SHOW_ATTRIBUTES){
    $option_names = $db->Execute("SELECT products_options_id,products_options_name FROM ". TABLE_PRODUCTS_OPTIONS);
    while (!$option_names->EOF) {
    $options_array = array (array("id"=> "", "text" => $option_names->fields['products_options_name']));
    $option_names_values = $db->Execute("select pov.products_options_values_id, pov.products_options_values_name from ". TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS." povp,".TABLE_PRODUCTS_OPTIONS_VALUES." pov where povp.products_options_values_id = pov.products_options_values_id AND povp.products_options_id =".$option_names->fields['products_options_id']);
    while (!$option_names_values->EOF) {
    $options_array = array_pad($options_array,sizeof($options_array )+1,array("id"=>$option_names_values->fields['products_options_values_id'],"text"=>$option_names_values->fields['products_options_values_name']));
    $option_names_values->MoveNext();
    }
    $content .= zen_draw_pull_down_menu('options_'.$option_names->fields['products_options_id'], $options_array, (isset($_GET['options_'.$option_names->fields['products_options_id']]) ? $_GET['options_'.$option_names->fields['products_options_id']] : ''), '') . zen_hide_session_id();
    $option_names->MoveNext();
    }
    }

 

 

Similar Threads

  1. Product Filter by Attribute and price range
    By fariba in forum General Questions
    Replies: 6
    Last Post: 25 Nov 2011, 09:40 PM
  2. Product Filter by Attribute and price range
    By shahram in forum General Questions
    Replies: 3
    Last Post: 9 Mar 2011, 05:45 PM
  3. Replies: 0
    Last Post: 26 Apr 2010, 05:36 AM
  4. Plz someone help me (Product Filter by Attribute and price range)
    By shahram in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 13 Aug 2009, 06:36 AM
  5. Product Filter by Attribute and price range
    By manzili in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 31 Mar 2008, 07:28 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