Interim fix JR54241 covers multiple issues that are related to the display of SKU
information on your storefront.
- Resolves an issue where the Product details page continues to display SKU
information after a shopper removes a selected defining attribute. Enable this fix to change your
store behavior so that the Product details page displays product information
instead of SKU information when a selected defining attribute is removed.
- Resolves an issue where a single SKU page with no defining attributes constantly reloads.
- Resolves an issue where thumbnail angle images do not display for single SKU items that do not
have any defining attributes.
Note: After you enable this fix, when you remove defining attributes
from an
existing product, and the product is left with a single SKU, thumbnail
angle images still might not display for the single SKU item. To fix the problem, run the
Database Cleanup utility. You need to run the utility
because some of the SKUs that are
markedfordelete are not removed from the
database. If the SKUs are not removed, then the product is still considered to contain multiple
SKUs. Therefore, the single remaining SKU does not properly display the thumbnail angle
images.
Before you begin
Ensure that the latest cumulative interim fix is installed
For information about
how to install an interim fix, see
Procedure
-
Compare and merge store-related changes that are included with this fix.
-
Open the
WC_eardir/Stores.war/storedir/ShoppingArea/CatalogSection/CatalogEntrySubsection/ProductDisplay.jsp
file.
-
Set the
displaySKUContextData
variable to true.
For example, change
<c:set var="displaySKUContextData" value="false
" scope="request" />
to
<c:set var="displaySKUContextData" value="true
" scope="request" />
-
Open the
WC_eardir/Stores.war/Widgets/Common/EnvironmentSetup.jspf
file.
-
Set the
env_displaySKUContextData
variable to
true.
For example, change
<c:set var="env_displaySKUContextData" value="false
" scope="request" />
to
<c:set var="env_displaySKUContextData" value="true
" scope="request" />
-
If JSP caching for widgets is enabled, you need to update the
cachespec.xml file.
-
Open the WC_eardir/Stores.war/WEB-INF/cachespec.xml
file.
-
Comment out or delete the
<dependency-id>ignoreDoNotConsume</dependency-id>
code snippet to turn
off caching for the defining attributes widget:
For example, the code snippet is commented out in the following
sample:
<cache-entry>
<class>servlet</class>
<name>/Widgets/com.ibm.commerce.store.widgets.PDP_DefiningAttributes/DefiningAttributes.jsp</name>
<property name="save-attributes">false</property>
<property name="consume-subfragments">true</property>
<property name="do-not-consume">true</property>
<!-- will be reset to false, since ignoreDoNotConsume dependency-id is present -->
<property name="do-not-cache">true</property>
<cache-id>
<component id="langId" type="parameter">
<required>true</required>
</component>
</cache-id>
<dependency-id>storeId:productId
<component id="storeId" type="parameter">
<required>true</required>
</component>
<component id="catEntryIdentifier" type="parameter">
<required>true</required>
</component>
</dependency-id>
<dependency-id>productId
<component id="catEntryIdentifier" type="parameter">
<required>true</required>
</component>
</dependency-id>
<!--<dependency-id>ignoreDoNotConsume</dependency-id>-->
</cache-entry>