Apachesolr Ubercart 3.x
Component ID
1847186
Component name
Apachesolr Ubercart 3.x
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Integrates Ubercart fields with the apachesolr search integration 6.x-3.x and provide similar functionality to http://drupal.org/project/apachesolr_ubercart
does for version apachesolr 6.x-1.x
Currently adds the fields to the index and adds price and sku to the search results. Adds price facet block and sort.
Requires facetapi.
Supports uc_discount module as far as adding the discount field to the index so you don't need to do a node_load() on every product to include the discount price in results.
TODO:
- -Recreate facet / sort blocks form 6.x-1.3 version.
- -views integration.
- -update discounted products in index when discount status changes.
To get the filelds in the search result template you need to add the following to template.php:
function designyourwall_2_preprocess_search_result(&$variables) {
$variables['fs_uc_sell_price'] = $variables['result']['fields']['fs_uc_sell_price'];
$variables['ss_uc_sku'] = $variables['result']['fields']['ss_uc_sku'];
}
