Announcement

Collapse
No announcement yet.

Sending basket contents as email from website

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sending basket contents as email from website

    Hello,

    Just a query, a client has requested that on his shopping cart he wants to add in a button on the cart pages, that will email the basket contents to the customer or client (depends who its to go to) instead of proceeding through the check out.

    Does anyone know if this will be possible??? Obviously i know there would be a lot of custom code if it could be done.

    Kind regards
    Mel Bagley
    Programmer
    mel@kc3.net

    KC3 - Actinic GOLD reseller

    #2
    Hi Mel

    As far as I know once an order is complete the person who placed the order will get an e-mail notification with all the order details. This will include the cart contents as well. But for this to happen the store owner will have to have valid SMTP server address specified in his network settings and also have "Send Receipt Email to Customer" option in Business Settings|Ordering ticked.

    In my oponion, I don't see the need of having a send mail button on the shopping cart page. Unless you want to send two mails to the customer.

    Hope this helps
    Kiran Chandran
    Technical Support - SellerDeck
    http://www.sellerdeck.co.uk/

    Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27

    Comment


      #3
      Mailing website contents

      Hello

      One could write a script that would allow this to happen from the shopping cart or any other page in a combination of perl and javascript.

      By passing the cart value as a parameter in javascript to a perl script, you could have it say:

      function mailtofriend() {
      var cartitems = getCartItem(3);
      var cartvalue = getCartItem(1);

      windowHandle = window.open('http://exampleurl.com/emailpage?cartitems=' + cartitems + '&cartvalue=' + cartvalue, 'mailafriend','height=300,width=500,border=0,resizable=no,scrollbars=no,toolbar=no');

      }

      This produces a popup page with a link that is effectively saying open me a link to something like:

      http://exampleurl.com/emailpage?cart...cartvalue=2.34

      I'm not absolutely sure you wouldn't have to play with the encoding on the parameters but it could work. Then you have to write a perl script to handle the values being emailed.

      We could help you out if you would like further assistance.

      Hope this helps.

      David.
      http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
      http://www.dtbrownseeds.co.uk - More seeds and plants....
      http://www.mr-fothergills.co.uk - Well it used to be Actinic...

      Comment

      Working...
      X