WordPress.org

Forums

WP e-Commerce Style Email
Plugin bug in capturing State form both billing and shipping (2 posts)

  1. Oudin
    Member
    Posted 2 years ago #

    Hi,

    Great job on the plugin however I've notice the following bugs with regards to the plugin capturing the State form both billing and shipping.

    1. The plugin captures the number in value attribute associated to the state from the billing (e.g. 14,15,16) and not the actual name of the state; Which is then displayed in the email sent to the customer.

    2. When same as billing option is checked/selected The plugin captures the placeholder text (e.g. state)and not the state from billing then displays that in the email sent to the customer.

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

  2. Jacob Schwartz
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for reporting these. I'll address them in the next release.

    Here are some ways you can deal with them:

    1.
    wpsc_get_region()
    This converts from the numeric state to the name, and it's how I convert the shipping state in my plugin.

    2.
    Use PHP to test whether the placeholder text is present.

    Cheers.

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