Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Reply To: Manual checkout to send-out Purchase Email

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Manual checkout to send-out Purchase Email › Reply To: Manual checkout to send-out Purchase Email

January 19, 2010 at 11:40 pm #17360
amin007
Participant

It’s better to use the forum for any Tips and Tricks HQ premium products (I get too many comments from all posts of my blog and it can easily get lost).

I understand your requirement and yes it can be done. I am going to give you some guidelines here on how you can do it.

In the “eStore_process_payment_data.php” file look at the “submit_to_manual” function and there is a loop that loops through the items and puts the item details to a string so it can be added to the body of the email later.

in side this loop you can add the following bit of code to generate the download link:

$id=$item;

$product_name = $item;

global $wpdb;

$products_table_name = $wpdb->prefix . “wp_eStore_tbl”;

$retrieved_product = $wpdb->get_row(“SELECT * FROM $products_table_name WHERE id = ‘$id'”, OBJECT);

$download_link = generate_download_link($retrieved_product,$product_name);

The variable “$download_link” will have the encrypted link which you can add to the email body so the customer gets it in the email.

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ