WordPress.org

Forums

WP eCommerce
Which hook to use for custom (2 posts)

  1. DDT
    Member
    Posted 1 year ago #

    Hello,

    I could use some help, tips or suggestions for the following:
    i am creating a little e-ticket system. For this like to attach a generate pdf (barcode with tcpdf). My questions:
    A/ how do i get the order details from WPSC so i can populate my generate_pdf function?
    B/ how can i attach the pdf file when the users gets a Purchase receipt (wpsc-email_style_purchase_receipt.php)

    Any tips, suggestions?

    regards,

    btw: i create the receipt/invoice with the tcpdf library

    http://wordpress.org/plugins/wp-e-commerce/

  2. Jeff Pye Brook
    Member
    Posted 1 year ago #

    Look into the purchase log class, most of the hooks and API calls you need will probably be there

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags