Confirm form resubmission when using search filter

  • Posts: 220
  • Thank you received: 12
5 years 7 months ago #297654

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.36

Hi,

When using the Hikashop filter to search for a product twice in a row, then clicking the back button, you get the browser error:



Is there a way to fix this?

Thank you.

Attachments:
Last edit: 5 years 7 months ago by joshualdouglas.

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
5 years 7 months ago #297658

Hi,

It's not really an error (although the browsers make it look like one...), it's just a page explaining you that you need to refresh and resubmit the data to get the page you want to display because it was previously displayed with a data submission.
But yes, you can turn on the "redirect POST mode" setting in the HikaShop configuration to avoid that. In that case, the filter selection will be passed through the URL instead of the POST and thus browsers won't display that "error" page.

The following user(s) said Thank You: joshualdouglas

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
5 years 7 months ago #297680

Perfect! Thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum