Interim fix JR54703 enables customers to specify a list of URI prefixes to be skipped, so
that the store path is not appended to image URLs.
In the ATTRVALDESC table, there is an image1 field where you can store images
URLS. By default, you must prefix image URLs with either HTTP or HTTPS to prevent the store path
from being appended to the image URL. Doing so results in issues when SSL is used.
Before you begin
Ensure that the latest cumulative interim fix is installed.
Procedure
-
Open the
Search_eardir/xml/config/com.ibm.commerce.catalog-ext/wc-component.xml
-
Add comma separated values to the uriPrefix parameter.
For
example:
<?xml version="1.0" encoding="UTF-8"?>
<_config:DevelopmentComponentConfiguration
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://www.ibm.com/xmlns/prod/commerce/foundation/config ../xsd/wc-component.xsd "
xmlns:_config = "http://www.ibm.com/xmlns/prod/commerce/foundation/config">
<_config:extendedconfiguration>
<_config:configgrouping name="SearchConfiguration">
<_config:property name="uriPrefix" value="https,http,//"/>
</_config:configgrouping>
</_config:extendedconfiguration>
</_config:DevelopmentComponentConfiguration>
When
you add this sample, the store path is not appended to the image path for image URLs that start with
"
https", "
http", or "
//".
-
Save and close the custom configuration file.
-
Deploy the customized file to the production environment.