• Hello,

    I am trying to customize the emails for pending vs succesfull payments. Where pending equals manual payments and successfull payments are paypal/ideal payments.

    Now i am trying to get the ECSE template hierarchy to work and i created a wpsc-email_style_customer.php with only static info and it looks like it’s used with a manual payment. But i also created
    wpsc-email_style_purchase_receipt.php and wpsc-email_style_order_pending.php, but wpsc-email_style_order_pending.php isn’t being used. Should i use a function in wpsc-email_style_customer.php to call wpsc-email_style_order_pending. Any example code?

    regards,

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter DDT

    (@ddt)

    EDIT 1: i think i now know when wpsc-email_style_purchase_receipt.php is used after i have put a manual payment on accepted the file is used (hope this is also the case with paypal/ideal)

    Still not sure how the wpsc-email_style_order_pending.php works?

    2/ where in mail.class.php should i add an attachment logic for the wpsc-email_style_order_pending.php

    Plugin Author Jacob Schwartz

    (@mightyturtle)

    Hi,

    The order pending template corresponds to the WP E-commerce order status notification for order received with payment pending. Here’s the documentation on the Getshopped site:
    http://docs.getshopped.org/documentation/sales/

    You don’t need to do anything to make the template work. When WPEC sends that email, my plugin will theme it.

    Jacob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use wpsc-email_style_customer and switch between the templates?’ is closed to new replies.