• Resolved Howdy_McGee

    (@howdy_mcgee)


    I’ve installed this on a website running PHP 7 and it shows the “Address Book” in the sidebar along with the “Add New Shipping Address” button but whenever you click the button it goes to: /my-account/edit-address/shipping/?address-book=shipping/ with a “Shipping Address” title and a “Save Address” button but no form fields.

    I’ve disabled all plugins except WooComerce and this plugin along with switching to the 2019 theme but saw the same issue.

    Additionally, there’s a small error. The WC_Address_Book::get_address_names() function should return an array but get_post_meta() returns false if it can’t find anything. The function return could be modified to show:

    return ( ! empty( $address_names ) ) ? $address_names : array();

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Howdy_McGee

    (@howdy_mcgee)

    It looks like that the Add New Shipping Address button isn’t recognizing that the user already has 1 shipping address for some reason. It gives me the following URL ( with a trailing slash which it probably shouldn’t )

    /my-account/edit-address/shipping/?address-book=shipping/

    If I change that to:

    /my-account/edit-address/shipping/?address-book=shipping2/

    The form shows up as expected. Even then though it doesn’t save any of the submitted form into the address book but updates the normal shipping information.

    Plugin Author Hall

    (@hallme)

    Hi Thanks for the report here and the suggestions.

    We have just released version 1.5.1 of the plugin which should resolve your issues here.

    Please let us know if you are still having any issues with the plugin.

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    Hello,

    Thanks for pushing an update. I just wanted to check back in and let y’all know that the issues have been fixed and now the plugin is working as expected. Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I’m not sure this plugin works’ is closed to new replies.