Resolve Item Badges Returning 404 Page Not Found on Shop

Scenario

The Item Badges throw 404 Page not found when shoppers click on the shopping page. This behavior happens because the custom field: custitem_ef_badges is not added on the SC Configuration. 

Solution

  1. Navigate to Commerce > Websites > Configuration
  2. Select Website and Domain
  3. Click Configure
  4. Go to Shopping Catalog subtab
  5. Click Facets subtab
  6. Facets:
    Item Field Id: Enter custitem_ef_badges
    Name: Enter Badges
    Behavior: Enter multi
    Template: Enter facets_faceted_navigation_item.tpl
    Show Heading: Set True
  7. Click Save
  8. Go to Commerce Websites > Website List
  9. Click Edit next to your website
  10. Hover-Over Actions link 
  11. Click Rebuild Search Index
    Note: A popup message appears stating that there is a limit to the number of times you can request a rebuild of the search index.
  12. Click OK to rebuild the search index for this website
  13. Navigate to Commerce > Content Management > Cache Invalidation Requests > New
  14. From the Available Domains list, select one or more domains to perform cache invalidation. Select at least one domain before you proceed.
    Note: Use the controls to move domains between the Available Domains box and the Selected Domain box.
  15. Choose the type of operation you wish to perform on the selected domains:
    • Clear cache for the whole domain(s) — Clears cache for the whole domain
    • Clear cache for the following path(s) — Clears cache for the specified URLs.
      If you have selected the Clear cache for the following path(s) option, you must add at least one URL path before you click Submit.

     14. Click Submit

Leave a comment

Your email address will not be published. Required fields are marked *