We have recently built a ShopSite store utilizing custom templates and have read several forum discussions regarding the behavior of the BACK buttons used on MORE INFO pages.
Each product in our store is assigned to multiple store pages. In our case, one store page type is a, "by Brand" page and the other store page type is a, "by Product Type" page. I understand that the BACK button on each MORE INFO page can only link to one of these store pages. So our preference is to link BACK buttons to the "Brand" pages.
Our method of implementing the BACK button on the MORE INFO template is:
<a href="[-- VAR.FileName --]">BACK</a>
where VAR.FileName is defined in our Page template as: [-- VAR.FileName PAGE.FileName --]
Some past comments in the SS forum state that the BACK buttons are automatically linked to the "first assigned" store page. However, in our testing that is not consistently the case whenever store pages are "republished".
What we have seen is that when we assign the product to the "Brand" page first and secondly to the "Product Type" page second, then the BACK button does indeed link to the first assigned "Brand" page.
However, whenever any product info is updated (such as a product price, etc) and the changes are saved and republished - then ShopSite will very often change the BACK button links to point to the second assigned "Product Type" page instead of the first assigned "Brand" page which was our preference.
The same problem also occurs if we "rearrange" products on either of the "Brand" or "Product Type" store pages - the BACK buttons are randomly and inconsistently changed.
We have gone through these tests multiple times and have not yet determined a predictable or easily controllable pattern.
Has anyone else noticed this behavior and/or have a suggestion?