Scenario
Some users use custom search portlet on their web stores. However, such portlets might not work on secured pages if the action link is set to a relative URL instead of an absolute URL.
Standard portlets for Site Builder will work as expected regardless if the user is in the shopping or checkout/secured pages. However, if it is a custom portlet and it is using a relative URL for the action event it will return an error due to the incorrect URL that the page will reference to.
Solution
Instead of using relative URL for the custom portlets, use absolute URLs so that the portlet will not fail regardless whether the user is in the shopping or checkout pages
- User must locate the custom search and look for the <FORM> tag that the search is currently placed. Usually it is under the Logo and Tabs Template section of the SiteBuilder Theme
-
Look for this line of code:
-
Change the code to:
-
<form method="get" action="http://DOMAIN/search">
-
-
Click Save