Enabling store-related fixes
When you install a maintenance package, fixes that update you store (such as starter store JSP files) are not automatically enabled on your environment. The fixes are not automatically enabled to ensure that your store customizations are not overwritten.
If you need to enable a store-related fix, then merge the changes with the files that are currently on your environment. You do not have to complete this procedure if you do not want or need to enable store-related fixes.
Procedure
-
Enable widget updates to your environment:
Option Description If you customized any widgets that were included with WebSphere Commerce: - Compare the updated widget-related files with your customized widgets that
are in
- WC_eardir/Stores.war/Widgets_701/
- workspace_dir/Stores/WebContent/storename/Widgets
- Merge any differences into your customized widget files.Note: If you have multiple stores, then you need to repeat this step to merge the changes into all your stores.
- Deploy the changes.
If you did not customize any widgets that were included with WebSphere Commerce - Zip the following directory:
- WC_installdir/wc.ear/Stores.war/Widgets_701/
- workspace_dir/Stores/WebContent/Widgets_701
- Deploy the compressed file.
- Compare the updated widget-related files with your customized widgets that
are in
-
Enable store-level JSP updates to your environment:
Option Description If you customized your store: - Compare the files that are in StoreAssetsDir with the files that are
currently in your published store.For example,
- Compare the files in WC_installdir/starterstores/ConsumerDirect/Aurora.sar/StoreAssetsDir with the files in WC_eardir/Stores.war/storename/
- Compare the files in WC_installdir/starterstores/ConsumerDirect/Aurora.sar/StoreAssetsDir with the files in workspace_dir/Stores/WebContent/storename/
- Merge any differences between the files that are in the StoreAssetsDir with
your current store files.Note: If you have multiple stores, then you need to repeat this step to merge the changes into all your stores.
- Open the following file /starterstores/ConsumerDirect/Aurora.sar/WEB-INF/struts-config-update-common.tpl.xml.
- Compare the contents with your current store file:
- WC_eardir/Stores.war/WEB-INF/struts-config-ext.xml
- workspace_dir/Stores/WebContent/WEB-INF/struts-config-ext.xml
- Merge the changes with your customized store files accordingly.
- Deploy the changes.
If you did not customize your store: You have three options: - A) Re-publish the Aurora.sar file through the Administration Console and use the same parameters that you entered when you first published the Aurora.sar. All files will be overwritten for the specific store that corresponds to the parameters that you enter. For more information about publish parameters, see Publishing the Aurora starter store.
- B) Re-publish the Aurora.sar file through the Administration Console as a new store by entering store identifier and store directory values that are different from your current store. After the store is published, use the new store.
- C) Re-publish the ExtendedSites.sar file through the Administration
Console.Note: If you decide to re-publish ExtendedSites.sar, ensure that all your storefront asset stores were not customized. All files for all storefront assets stores will be overwritten.
- Compare the files that are in StoreAssetsDir with the files that are
currently in your published store.