View Single Post
  #1  
Old 05-16-2008, 04:56 AM
  ShishaPipeUK's Avatar 
ShishaPipeUK ShishaPipeUK is offline
 

Senior Member
  
Join Date: Jul 2005
Location: London, England.
Posts: 118
 

Talking Abandon Shopping Cart Mod

First of all the reason for posting this modification is so that we can improve the modification and we may get x-cart to include this modification FREE in there software.

If there are any product items in a shopping cart, but the user does not checkout and of cause he/she is registered so we have a email address the Abandon Cart modification below will automatically send your customer a email, after a certain time the latest product was added to this user's Cart.(recommend 3600 seconds = 1 hour)
There is a section in the Admin area which you can enter the time in seconds - admin, general settings, reminder options section.

If a order is queued, processed or failed an abandon cart email will not be sent to the customer, only when the order is not finished or abandoned.

With this modification you have the option to run a cron script (You can enter a secret key in admin, general settings, reminder options section so it can't be run without your knowledge) as well as manually execute the abandon cart emails with a new admin abandon cart menu placed above the orders in admin section.

So if a customer decides to enter items to there shopping cart yet leaves the site before checking out the below modification will automatically email the customer this template below.

**Template for abandon cart email **
Dear [customer name],

Thank you for stopping by [company name] and considering us for your purchase. We noticed that during a visit to our store you placed the following item(s) in your shopping cart, but did not complete the transaction.

Shopping Cart Contents:

[quantity] x [product]

[url of product location]

We are always interested in knowing what happened and if there was a reason that you decided not to purchase at this time for example, if you added the items to the cart to complete your purchase at a later time, then you can simply log into your account and the items in the cart will be restored, ready for you to complete your order. If you could be so kind as to let us know if you had any issues or concerns, we would appreciate it. We are asking for feedback from you and others as to how we can help make your experience at [company name] better.

PLEASE NOTE:
If you believe you completed your purchase and are wondering why it was not delivered, this email is an indication that your order was NOT completed, and that you have NOT been charged! Please return to the store in order to complete your order.

Our apologies if you already completed your purchase, we try not to send these messages in those cases, but sometimes it is hard for us to tell depending on individual circumstances.

Again, thank you for your time and consideration in helping us improve the [web site shop url] website.

Sincerely,

[company name]
[web site shop url]

P.S. If you would like to still place an order, then why not take advantage of our 10% off voucher code? Simply enter MYFIRSTORDER into the Coupon Code box when you view your cart and you will receive 10% off

Also added a wishlist email to email customers automatically that have items in there wish list.

**Template for wishlist email **
Subject: [Company name] Wishlist
Email Content:

Hi [name], you have some items in your wish list and we are sending you a email to remind you of the items.

[sku] [product] [quantity]

You can log into your account at [url link to home.php page] and then click on your wish list to the right near your profile details and cart information.

Original Files that have to be changed
auth.php
init.php
skin1/admin/menu.tpl
skin1/single/home.tpl

New Files
admin/abandoned.php
include/chech_abandoned.php
include/func/func.abandoned.php
skin1/admin/main/abandoned.tpl
skin1/mail/abandoned_cart.tpl
skin1/mail/abandoned_cart_content.tpl
skin1/mail/abandoned_cart_subj.tpl
skin1/mail/abandoned_wishlist.tpl
skin1/mail/abandoned_wishlist_content.tpl
skin1/mail/abandoned_wishlist_subj.tpl

To apply the changes do the following:
1. Download and unzip the abandon_cart.zip file which includes the patch.sql and patch.diff files.
2. Apply the SQL changes (Open the Patch/Upgrade page in admin area and select the patch.sql from the archive for the "Apply SQL patch" section).
3. Apply the code and template changes by selecting the patch.diff file for the "Apply patch" section and follow the instructions.

If you want to see this working feel free to go to our site and register an account and add items to the shopping cart and then abandon the cart, just close the browser. After 1 hour you will get a email with regard to the products you abandoned in your cart.
Attached Files
File Type: zip abandon_cart.zip (6.8 KB, 363 views)
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24
PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART

Shop carts at
http://www.nightscene.co.uk/shop/home.php
http://www.theshisha.net/shopcart/home.php
http://www.system-maintenance.com/maint/home.php
http://www.tabac4u.com
Reply With Quote