cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the date of abandoned cart

SOLVED

how to change the date of abandoned cart

Hello,

 

I have a simple question,

Someone know, where can i change the time before generate abandoned cart ?

We have a technical problem, and to solve it we would like to increase the time before creating an abandoned cart.

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how to change the date of abandoned cart

In App/code/core/Mage/Sales/etc/config.xml i found 

$lifetime *= 86400;

~ 24 hours,

 

I will change for 7 days 7*24*60, 

if this isn't working, i comeback on the topic Smiley Happy

Thank for your help

View solution in original post

3 REPLIES 3

Re: how to change the date of abandoned cart

Hi @jrouzot1998896 

Which extension you are using for abandoned cart feature in magento 1.x?

Re: how to change the date of abandoned cart

Hello

 

How can i see that ? 

I'm on magento 1.9.3.4 and i see a ShopCartController in the code.

 

i've tried to change cron on this line in App/code/core/Mage/Sales/etc/config.xml 

<crontab>
    <jobs>
        <sales_clean_quotes>
            <schedule>
                <cron_expr>0 0 * * *</cron_expr>
            </schedule>
            <run>
                <model>sales/observer::cleanExpiredQuotes</model>
            </run>
        </sales_clean_quotes>

to 0 0 * 5 1

but i still have abandonned cart during this week-end.

 

Thank you 

Re: how to change the date of abandoned cart

In App/code/core/Mage/Sales/etc/config.xml i found 

$lifetime *= 86400;

~ 24 hours,

 

I will change for 7 days 7*24*60, 

if this isn't working, i comeback on the topic Smiley Happy

Thank for your help