WordPress.org

Forums

WP e-Commerce Style Email
[resolved] Pls Help... plugin sent no email.... (4 posts)

  1. Nordin Salam
    Member
    Posted 3 years ago #

    WP e-Commerce Style Emails sent no email when i tried to add some conditional "if"s, can you help me?

    ... after some standard html tags

    <?php
    	if (ecse_is_purchase_report_email()) { ?>
    LAPORAN TRANSAKSI PENJUALAN
    <?php
    	} elseif (ecse_is_purchase_receipt_email()) { ?>
    NOTA PEMBELIAN
    <?php
    	} elseif (ecse_is_order_pending_email()) { ?>
    PEMBELIAN TERTUNDA
    <?php
    	} elseif (ecse_is_order_pending_payment_required_email()) { ?>
    SEGERA LAKUKAN PEMBAYARAN
    <?php
    	} elseif (ecse_is_tracking_email()) { ?>
    KODE PENGIRIMAN BARANG
    <?php
    	} elseif (ecse_is_unlocked_file_email()) { ?>
    FILE TERBUKA
    <?php
    	} else (ecse_is_test_email()) { ?>
    TEST EMAIL
    <?php
    	} ?>

    .... followed by some html tags... then...

    <?php
    	if (ecse_is_order_pending_payment_required_email()) { ?>

    followed by html table tag (and the table content), then... closed by
    <?php } ?>

    those are the template codes of my styled email. Is there anything wrong?
    Thq :)

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

  2. Nordin Salam
    Member
    Posted 3 years ago #

    it's already done... :) finally i solved it by myself by changing else with elseif. Here is the edited code } elseif (ecse_is_test_email()) { ?>

  3. Jacob Schwartz
    Member
    Plugin Author

    Posted 3 years ago #

    Glad you figured it out. Good old PHP.

  4. butcher-pl
    Member
    Posted 2 years ago #

    Hey Nordin Salam.... i cant find any specifics/docs on how to make those emails custom with wpsc tags. Can you help me with sending your php style file ? I would be really gratefull...

    best
    butcher

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP e-Commerce Style Email
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic