• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 08.05.19, 13:47
  • Opened by: Rafal Durda
  • Closed by: Marek
  • Closed on: 14.06.19, 19:07
  • Reason: Closed
  • Comment: Glad to help!

Ticket #14456 - cookies and popup message

Information about cookies and the popup newsletter appears too often. Sometimes several times a day. I’d like it not to show up for at least a month after closing.

Comments

Marek 08 May 2019, 13:59

Hi, Rafal Durda.
There is no option to change that through back office.
You have to open the file /modules/pk_themesettings/assets/js/commonscripts.js
find the line

$.cookie("cookie-message", "0"); // set cookie

replace it with

$.cookie("cookie-message", "0", { expires: 180 }); // set cookie

where 180 is number of days