Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Idea or Suggestion Advanced Search Plus

    This contribution expands the advanced search function to Categories, Subcategories and EZ Pages.

    Categories, Subcategories - searches in Name and Description
    EZ Pages - searches in Title and Html_Text

    It will display results for products, categories and EZpages and indicate if there are no matches available.

    Updated install instructions and screenshots now included.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Advanced Search Plus

    If you have installed Twitch Restrict Categories by Customer or Group with this module please install the filter update here:
    http://www.zen-cart.com/showthread.p...75#post1235575
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  3. #3
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: Advanced Search Plus

    is it 1.5.0 compatible ??

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Advanced Search Plus

    I don't have any v1.50 carts to test it on, it should work. You could give it a try or let me know if you'd like me to test it on your cart. Be sure to make backups before making any changes.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  5. #5
    Join Date
    Aug 2004
    Posts
    126
    Plugin Contributions
    0

    Default Re: Advanced Search Plus

    Quote Originally Posted by twitchtoo View Post
    I don't have any v1.50 carts to test it on, it should work. You could give it a try or let me know if you'd like me to test it on your cart. Be sure to make backups before making any changes.
    I have a question/need help with your search.

    My site has a billion categories, but if you wanted to search for otters, for example, you'd get zero results because the products are only called "otter shirt" using an include that pulls the name of the category into the product name (which was necessary to avoid creating a billion products).

    The categories have real names though, so there is a category called "otters." I figured your plugin would be perfect to solve my search by category problem, but there are two snags...

    1. The picture for each category says "no image available" instead of pulling the icon for that category.
    2. My category descriptions use a trick to pull the name of the category into them (which you were actually helping me with in another thread) so the descriptions of the categories in the search end up like "Embroidered Personalized Gifts for the Lover" instead of "Embroidered Personalized Otter Gifts for the Otter Lover"

    Between those two things, it makes it hard to see which result is the one you want. For instance: http://doodlesport.com/super/index.p...=otter&x=0&y=0

    There is otter in "trotter horse" and "otter"

    So... for problem #2 I need to add code like
    $current_categories_description = str_replace('<!--category-->', $breadcrumb->last(), $current_categories_description);
    Which is how I tricked the descriptions into inserting the category name in the product descriptions, but I'm having trouble figuring out how add category names to the results - they aren't already there.

    For problem #1, need to tell it to pull the category pictures. Then, even if the descriptions are goofy, at least the picture will tell them which is the right result.

    Hope that makes sense! Happy to pay you for your help.

  6. #6
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Advanced Search Plus

    It looks like this no_picture image is a bug, I'm working on the fix as I type this :)
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  7. #7
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Advanced Search Plus

    Quote Originally Posted by twitchtoo View Post
    It looks like this no_picture image is a bug, I'm working on the fix as I type this :)
    The bug fix is here...
    includes/templates/YOUR_TEMPLATE/templates/tpl_modules_advanced_search_categories.php


    Line 82 - 86 - replace this:

    if ($listing->fields['categories_image'] == '') {
    $lc_text .= '<img src="images/no_picture.jpg" width='.IMAGE_PRODUCT_LISTING_WIDTH.' height='.IMAGE_PRODUCT_LISTING_HEIGHT.'/></a>';
    } else {
    $lc_text .= zen_image(DIR_WS_IMAGES . $listing->fields['categories_image'], $listing->fields['category_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
    }


    With this:
    $lc_text .= zen_image(DIR_WS_IMAGES . zen_get_categories_image($listing->fields['categories_id']), $listing->fields['category_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT) . '</a>'; // if ($listing->fields['categories_image'] == '') {
    // $lc_text .= '<img src="images/no_picture.jpg" width='.IMAGE_PRODUCT_LISTING_WIDTH.' height='.IMAGE_PRODUCT_LISTING_HEIGHT.'/></a>';
    // } else {
    // $lc_text .= zen_image(DIR_WS_IMAGES . $listing->fields['categories_image'], $listing->fields['category_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
    // }


    And you should see category images if they exist. I'll add this bug fix to the next release of Advanced Search Plus :)


    If you haven't already, install Admin Display Product/Catalog Thumbnails so you can see the category images in the admin - category/product listing.

    Located here:

    http://www.zen-cart.com/downloads.php?do=file&id=1346
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  8. #8
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Advanced Search Plus

    On to your second question...

    Quote Originally Posted by avansant View Post
    2. My category descriptions use a trick to pull the name of the category into them (which you were actually helping me with in another thread) so the descriptions of the categories in the search end up like "Embroidered Personalized Gifts for the Lover" instead of "Embroidered Personalized Otter Gifts for the Otter Lover"

    $current_categories_description = str_replace('<!--category-->', $breadcrumb->last(), $current_categories_description);
    Which is how I tricked the descriptions into inserting the category name in the product descriptions, but I'm having trouble figuring out how add category names to the results - they aren't already there.
    If you look in the same file as the bug fix in my last post, line 76 holds the category_description output. Try your new description code there... I would try it myself but the last coffee is finally wearing off it's sleep time.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  9. #9
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Advanced Search Plus

    Advanced Search Plus 2.02 has been submitted for review.

    It's also available on my site if you can't wait :)
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  10. #10
    Join Date
    Aug 2004
    Posts
    126
    Plugin Contributions
    0

    Default Re: Advanced Search Plus

    Hm. Looks like my post here didn't save - I did get the photo to show up using your instructions, thank you so much! I sent you some coffee money through your site. I can't get my dynamic category keywords to show up though. Using your direction I looked at the code near line 76 and tried

    $zen_get_category_description = str_replace('<!--category-->', $categories_name, $zen_get_category_description);
    I tried
    $current_categories_description = str_replace('<!--category-->', $categories_name, $current_categories_description);

    too

    but that didn't work. Any idea how I can finish this bit? I'm using the wrong code for calling either the description or the category name for this file, but I can't figure out where I'm going wrong.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Advanced Search Plus Error
    By newbie456 in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 15 Nov 2013, 12:04 AM
  2. Advanced Search Plus - Infinite Redirect
    By hey_you in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 27 Jul 2010, 02:57 PM
  3. Need help on Advanced Search Plus
    By neal99 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Feb 2010, 03:25 PM
  4. A fix to Advanced Search Plus results?
    By FrankDeRosa in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 28 Dec 2009, 11:04 AM
  5. Advanced Search Plus
    By rmkiser in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 May 2009, 04:05 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