Hi,
i'm using jm 3.6.2 and vm 3.0.14.
Is there a way to create a cron job that remove vm cart product after tot minute inserted by user?
Scenario: A user navigate into my site, after 5 minute he close and go out. Next time, the user can log into a site and he will find all product inserted in cart before.
Maybe some product are finished or not available... so, cron will delete this "problem".
Problem is that cart product are stored in session and from cron job there isn't a way to call virtuemart cart method.
Can anyone help me?
Also with alternative solution.
Thanks
Quote from: 15pablo8400 on November 17, 2016, 01:23:19 AM
i'm using jm 3.6.2 and vm 3.0.14.
You must update to Joomla 3.6.4!!
See
http://www.theregister.co.uk/2016/11/02/hurried_crims_target_30000_sites_to_pop_unpatched_joomla/
https://developer.joomla.org/security-centre/661-20161003-core-account-modifications.html
http://thehackernews.com/2016/10/joomla-security-update.html
Check if you have new Joomla users with administrator permissions - if so hackers have paid you a visit!
The problem with unavailable products still being in cart has been fixed in the current version. http://dev.virtuemart.net/attachments/download/1028/com_virtuemart.3.0.18.3_extract_first.zip
Thanks for reply. Yes i will update site joomla version as soon... now site are online but not index because we are also in pre pubblication.
About virtuemart cart i have an old version 3.0.14. We personalize many virtuemart file and function... now if i update, does virtuemart overwrite all file?
Inviato dal mio iPhone utilizzando Tapatalk
When "personalising" VM you should use the correct procedure of template/css overrides, and for any required core changes these should have been done via a plugin. If you followed the correct process then updating will not lose any data or any of your "changes", although there coupld be possible template issues, as described in the last paragraph of the news release, https://virtuemart.net/news/latest-news/477-release-of-3-0-18-connecting-the-loose-ends
as part of this extension: http://www.gjcwebdesign.com/vm2-product-lock.html
I have a plugin that runs off a cron to empty any cart sessions that don't belong to a current valid session
this I guess could be adapted -- email me if interested