travellikesound Posted December 14, 2007 Posted December 14, 2007 Is there a way to see what terms shoppers are typing into the search feature on the site? Does it log these somewhere? Or is there something I can add-on to do this? Also, i've noticed when searching for a term, it only looks in the product title. Is there a way to make the search look into the product description as well?
nimz Posted December 14, 2007 Posted December 14, 2007 first one is possible but needs some coding, I don't know if there is any contributions available for that, u need to search for it. second thing you asked is easy. here's how to do it: open catalog/includes/boxes/search.php FIND: 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); REPLACE WITH: 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_draw_hidden_field('search_in_description', '1') . tep_draw_hidden_field('inc_subcat', '1') . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); This will boost up your simple search box to search in product descriptions and all categories including subcategories. Santa's little freelancer
vertmonkee Posted December 14, 2007 Posted December 14, 2007 Is there a way to see what terms shoppers are typing into the search feature on the site? Does it log these somewhere? Or is there something I can add-on to do this? Also, i've noticed when searching for a term, it only looks in the product title. Is there a way to make the search look into the product description as well? I've been using this contribution for the past month and it's been very very useful http://addons.oscommerce.com/info/1266 It stores what terms the user has searched for and also lets you provide alternatives for certain keywords users type in
Recommended Posts
Archived
This topic is now archived and is closed to further replies.