Zen Cart Logo
Forums / All Other Contributions/Addons / Recover Cart [Support Thread]

Recover Cart [Support Thread]

Views: 219,165

Results 221 to 240 of 662
05 Mar 2008, 11:59
#221
nysoaps avatar

nysoaps

New Zenner

Join Date:
Jan 2006
Location:
New York
Posts:
14
Plugin Contributions:
0

Recover Cart [Support Thread]

Thank you so much for the help. I totally appreciate it!

Denise

11 Mar 2008, 10:29
#222
nickster4321 avatar

nickster4321

New Zenner

Join Date:
Jul 2007
Posts:
5
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

Hi, I have downloaded this mod, and I have to say its such an excellent idea!
I am wanting to change the email, so its slightly more relevant for our shop and more personal.
I have found where the email is created (shop/admin/includes/languages/english/recover_cart_sales.php) so no problem editing the actual text there.
The one thing I want to remove is the shopping cart contents that appears in the email between 'EMAIL_TEXT_BODY_HEADER' and 'EMAIL_TEXT_BODY_FOOTER'. I was wondering someone could tell me which bit of code (and where) I need to delete to remove the contents of the shopping cart from the email.

19 Mar 2008, 11:34
#223
agamic avatar

agamic

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

I think you may find that the fix suggests you add $cust_array = array(); below the $custlist = ''; and not replace that line.........

bigjoed:

On your file admin/stats_recover_cart_sales.php replace the following code on line 96:

$custlist = '';

Replace with:

$cust_array = array();

It was posted here.

19 Apr 2008, 06:58
#224
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

For ZenCart Version 1.3.8a the following install worked for me:

From the ZenCart Downloads section:
Download and install "Recover Cart Sales" V3.0 August 12 2007.

Modify admin/stats_recover_cart_sales.php as follows:
find around line 96:

$custlist = '';

change to:

$custlist= '';
$cust_array = array();

Modify admin/recover_cart_sales.php as follows:
Find around line 381:

if ((time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {

change to:

if ($basket->fields['datemodified'] != '' && (time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {

These modifications are the same as posted by Andrew Berezin in post #199. I can confirm that this modification works with ZenCart version 1.3.8a with the listed modifications installed.

25 Apr 2008, 04:20
#225
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

I have this installed with 1.38 and have applied the patches. When testing, existing customers receive the EMAIL_TEXT_NEWCUST_INTRO rather than the EMAIL_TEXT_CURCUST_INTRO.

Can someone confirm that EMAIL_TEXT_CURCUST_INTRO is being sent on their install?

22 May 2008, 06:52
#226
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Recover Cart [Support Thread]

If you receive an error message on line 153 of stats_recover_cart_sales.php regarding an invalid argument supplied for the foreach() function, then before line 119:

 
if (!$orders->EOF) {
  $custknt++;
  $total_recovered += $orders->fields['value'];
  $cust_array[$custknt] = array_merge($scart->fields, $orders->fields);
}

add:

 
$cust_array = array();
05 Jun 2008, 16:00
#227
naturalolive avatar

naturalolive

New Zenner

Join Date:
Aug 2006
Posts:
19
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

Hi,

I have been editing the recover_cart_sales.php to customize the email sent out. I do want to make it more personal by having the customers first name only. Can anyone help with how I can achieve this. TIA

13 Jun 2008, 15:31
#228
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

i have the fllowing error on the reports tool of this mod. getting this error,

Warning: Invalid argument supplied for foreach() in /public_html/store/admin/stats_recover_cart_sales.php on line 153

this is in the Amount section of the table. This is a fress install on 1.3.7. is this error because the mod has no detils to work with yet or is it a problem??

13 Jun 2008, 18:43
#229
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Recover Cart [Support Thread]

Perhaps scrolling up 2 posts might give you the answer you're seeking?

17 Jun 2008, 11:15
#230
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

fixed thanks, i did see the post but thought i would post the whole error code as this help people searching for the error code etc :D

28 Jun 2008, 03:11
#231
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

naturalolive:

Hi,

I have been editing the recover_cart_sales.php to customize the email sent out. I do want to make it more personal by having the customers first name only. Can anyone help with how I can achieve this. TIA

I would really like to know the answer to this, too. Using the last name in emails is just WAY too impersonal for my customers, too.

Any help is welcomed and appreciated.

Zencart ROCKS!

29 Jun 2008, 01:44
#232
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Recover Cart [Support Thread]

So as to not confuse anyone, my post had a mistake. The change should be added before the loop at around line 97 as someone else had mentioned.

30 Jun 2008, 11:12
#233
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

numinix:

So as to not confuse anyone, my post had a mistake. The change should be added before the loop at around line 97 as someone else had mentioned.

which fix are you refering to??

21 Jul 2008, 14:55
#234
thailandosc avatar

thailandosc

New Zenner

Join Date:
Jul 2008
Posts:
15
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

Hi PPL

Thanks for this great contribution... simple question does this work on Zen Cart Version 1.3.8 and if not are there any plans or release date for recover cart sales for this version

Thanks

29 Jul 2008, 16:38
#235
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

Doodlebuckets:

Well, I fixed the closing of the email to have what I want. But the link to the product that the customer had in their cart is something I don't think I will ever get because it's a database query. The code is:

For the product in question, the link that is generated in the email is:

1 x Valentine Teddy Bear
giftsofcharacter.com/catalog/index.php?main_page=product_info&products_id=395:c092a7870d3e389151055a5cba2da44f

If you take off the ":c092a7870d3e389151055a5cba2da44f" part of the URL, it goes to the right place. How do I get rid of the extra stuff on the URL? I think it is probable that if a customer were to click that link to go back and purchase and it goes to an error page, they are much less likely to buy.

I've the same issue: where's the solution?

29 Jul 2008, 17:38
#236
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

100asa:

I've the same issue: where's the solution?

I'll grant that it's not a pretty looking url but it works just fine. It won't give an error unless something else is wrong with your site.

With all do respect, if this is the top of your to-do list, I envy you.

30 Jul 2008, 04:09
#237
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

jeking:

I'll grant that it's not a pretty looking url but it works just fine. It won't give an error unless something else is wrong with your site.

With all do respect, if this is the top of your to-do list, I envy you.

Unfortunately, as Doodlebuckets said, if customer click the complete url
giftsofcharacter.com/catalog/index.php?main_page=product_info&products_id=395:c092a7870d3e389151055a5cba2da44 f
it goes on error page

30 Jul 2008, 04:29
#238
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

100asa:

Unfortunately, as Doodlebuckets said, if customer click the complete url
giftsofcharacter.com/catalog/index.php?main_page=product_info&products_id=395:c092a7870d3e389151055a5cba2da44 f
it goes on error page

That's not how I read her post. She wrote 'I think it is probable that if a customer were to click that link to go back and purchase and it goes to an error page, they are much less likely to buy.'

'if' it was an error page. Try the link, it goes to the product page not an error.

30 Jul 2008, 04:41
#240
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Recover Cart [Support Thread]

100asa:

sometimes, as this email, I've this link:
http://www.100asa.it/index.php?main_page=product_info&products_id=1895:8dba468e673d03b12eae4108dfcd5a2b
as you see, it goes on page not found.
If I cut the :8dba468e673d03b12eae4108dfcd5a2b, it goes well.

It looks like you've got an url rewrite mod installed. Oops, so does doodlebuckets. Maybe her version does not affect the links while yours does.

Does this happen with the links in all your emails or only some?