WordPress.org

Support

Support » Plugins and Hacks » WP e-Commerce Style Email » Plugin bug in capturing State form both billing and shipping

Plugin bug in capturing State form both billing and shipping

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Jacob Schwartz

    @mightyturtle

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin bug in capturing State form both billing and shipping’ is closed to new replies.
Skip to toolbar