You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2014/06/19 09:32:14 UTC
svn commit: r1603741 - in /ofbiz/branches/release12.04: ./
applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy
Author: jacopoc
Date: Thu Jun 19 07:32:13 2014
New Revision: 1603741
URL: http://svn.apache.org/r1603741
Log:
Applied fix from trunk for revision: 1603739
===
OFBIZ-1217: commented out code that was just an example of how to select products with the same feature.
Modified:
ofbiz/branches/release12.04/ (props changed)
ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy
Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1603739
Modified: ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy?rev=1603741&r1=1603740&r2=1603741&view=diff
==============================================================================
--- ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy (original)
+++ ofbiz/branches/release12.04/applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy Thu Jun 19 07:32:13 2014
@@ -591,6 +591,9 @@ if (product) {
accessoryProducts = dispatcher.runSync("getAssociatedProducts", [productId : productId, type : "PRODUCT_ACCESSORY", checkViewAllow : true, prodCatalogId : currentCatalogId]);
context.accessoryProducts = accessoryProducts.assocProducts;
+ /*
+ The following code is commented out because it is just an example of the business logic to retrieve products with a similar feature.
+
// get other cross-sell information: product with a common feature
commonProductFeatureId = "SYMPTOM";
// does this product have that feature?
@@ -629,6 +632,7 @@ if (product) {
context.commonFeatureResultIds = commonFeatureResultIds;
}
}
+ */
// get the DIGITAL_DOWNLOAD related Content records to show the contentName/description
downloadProductContentAndInfoList = delegator.findByAndCache("ProductContentAndInfo", [productId : productId, productContentTypeId : "DIGITAL_DOWNLOAD"]);