I’m trying to find out how to determine the time periods of the products that will shown in the “recently viewed” sidebox?
Can sombody guide me to the right direction?
Thanks a lot!
The setting is based on the session, not any specific time. There is a setting in config.php which sets the max limit stored in a session:
// Maximum number of recently viewed products, stored in session
define('MAX_RECENTLY_VIEWED', 10);
When setting up the block, you can limit the number of items to display by clicking the ‘specific settings’ link next to Filling. Any number higher than the max set in config.php will use the config.php setting.
Bob
Bob,
Thanks a lot for your reply. But I guess you mean the number of products that will be shown in the “recently viewed” block.
I also wanto to know if a customer viewed several products today, is there a way to determine how many days these products will be shown in the “recently viewed” block when the customer open the website again? Is cookie used? Do I need to find out how to change the cookie expiration date?
I really appreciate your help!
You could maybe try extending this:
// Number of seconds after last session update, while user considered as online
define('SESSION_ONLINE', 60 * 5); // 5 minutes
Note that this will affect other things like user auth too.
Bob
what bob is saying is that the products will only remain in the viewed section until the session is killed or times out. this generally happens after X minutes of inactivity or when the user logs out. I wouldnt expect to see the products in there the next day!
Thanks a lot, Bob.
[quote name=‘matt5409’]what bob is saying is that the products will only remain in the viewed section until the session is killed or times out. this generally happens after X minutes of inactivity or when the user logs out. I wouldnt expect to see the products in there the next day![/QUOTE]
Yes, I want the customers to be able to to see the products they reviewed in the next several days. Is this possible in CS Cart?
[quote name=‘Lavenda’]Yes, I want the customers to be able to to see the products they reviewed in the next several days. Is this possible in CS Cart?[/QUOTE]
As I said above, you will need to change the setting for SESSION_ONLINE. For instance, if you want the items to appear for 7 days, you need to change the value from 5 to 10,080. It works this ways because the recently viewed items are stored in the session cookie.
Bob
Thank you so much, Bob, I’ll work on it tonight!
[quote name=‘jobosales’]You could maybe try extending this:
// Number of seconds after last session update, while user considered as online
define('SESSION_ONLINE', 60 * 5); // 5 minutes
Note that this will affect other things like user auth too.
Bob[/QUOTE]
Hi there;
My recent view box SHOW: by numbers then alphabets (Did not show lastest view first ) . Anyone know how or where i can modifly to change Recent view box show the latest of item viewed show first so it on?