
<div class="col-md-6">
<a class="btn btn-primary btn-block" href="coupon/findproducts/${coupon.promotionCode}"><spring:theme code="coupon.FindProducts"/></a>
</div>
<c:choose>
<c:when test="${coupon.ifShowAllProduct}">
<a class="btn btn-primary btn-block" href="c/${coupon.rootCategory}?q=%3Arelevance&text=#"><spring:theme code="coupon.FindProducts"/></a>
</c:when>
<c:otherwise>
<a class="btn btn-primary btn-block" href="c/${coupon.rootCategory}?q=%3Arelevance%3AchineseCouponCode%3A${coupon.promotionCode}&text=#"><spring:theme code="coupon.FindProducts"/></a>
</c:otherwise>
</c:choose>
// Create the SearchQueryPageableData that contains our parameters
final SearchQueryPageableData<SolrSearchQueryData> searchQueryPageableData = buildSearchQueryPageableData(searchQueryData, pageableData);
// Build up the search request
final SolrSearchRequest solrSearchRequest = getSearchQueryPageableConverter().convert(searchQueryPageableData);
// Execute the search
final SolrSearchResponse solrSearchResponse = getSearchRequestConverter().convert(solrSearchRequest);
// Convert the response
return getSearchResponseConverter().convert(solrSearchResponse);
<alias name="defaultCommerceSolrSearchResponseConverter" alias="commerceSolrSearchResponseConverter" />
<bean id="defaultCommerceSolrSearchResponseConverter" parent="abstractPopulatingConverter">
<property name="targetClass" value="de.hybris.platform.commerceservices.search.facetdata.ProductCategorySearchPageData" />
<property name="populators">
<list>
<ref bean="commerceSearchResponseQueryPopulator" />
<ref bean="commerceSearchResponsePaginationPopulator" />
<ref bean="commerceSearchResponseResultsPopulator" />
<ref bean="commerceSearchResponseFacetsPopulator" />
<ref bean="commerceSearchResponseFacetFilterPopulator" />
<ref bean="commerceSearchResponseBreadcrumbsPopulator" />
<ref bean="commerceSearchResponseSortsPopulator" />
<ref bean="commerceSearchResponseFreeTextSearchPopulator" />
<ref bean="commerceSearchResponseCategoryCodePopulator" />
<ref bean="commerceSearchResponseSubCategoriesPopulator" />
<ref bean="commerceSearchResponseSpellingSuggestionPopulator" />
<ref bean="commerceSearchResponseKeywordRedirectPopulator" />
</list>
</property>
</bean>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |