Gary Thayer
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Address Book] Duplicate “Add New Shipping Address” buttonsIts strange that the H2 values are empty. They are hardcoded in the plugin.
I believe there may be an HTML error in the plugin which is not closing a div properly. That would explain the nesting, but not why it is displaying twice.
I don’t know anything about Elementor and don’t think I can help you with that. Reading through the docs, it looks like it wants to run its own hooks. Either remove Elementor from the My-Account page, or look through storefront and remove “woocommerce_account_edit-address_endpoint”
Forum: Plugins
In reply to: [WooCommerce Address Book] Duplicate “Add New Shipping Address” buttonsMy guess is maybe duplicate occurrences of the “woocommerce_account_edit-address_endpoint” hook, or something is up with the saved user_meta.
Forum: Plugins
In reply to: [WooCommerce Address Book] Duplicate “Add New Shipping Address” buttons@ryansmiller It’s difficult to guess without seeing the site, or the code, but my guess is there may be a conflict with your theme. Have you tried switching your theme?
“I have default Billing and Shipping addresses for the user.” Does this mean you’ve extended the plugin so all users start with saved Addresses? If so, can you deactivate your changes to see if they are the cause?
Forum: Plugins
In reply to: [WooCommerce Address Book] Large number of addresses@phdesignsuk Not out of the box, no. This plugin does not have an importer tool, and addresses are not shared across users.
Running with the default Woo, TwentySeventeen and the Woo Address Plugin I am not seeing these errors. I suspect there is a conflict with another plugin or your theme which will make it difficult to diagnose on my end.
For your first note, it sounds like a fairly minor issue. The PHP warning isn’t great, but everything should work as intended.
For your second note, are you adding any custom fields? The error is occurring with the naming structure. I’d suggest taking a look at that. Not sure of your skill level, but I’d recommend var_dumping the values at:
$address[ $name . $field ] = get_user_meta( $user_id, $name . $field, true );
Hopefully this will give you some lead as to what field may be causing the issue.
- This reply was modified 6 years, 4 months ago by Gary Thayer.
Forum: Plugins
In reply to: [WooCommerce Address Book] Can’t see slelect address in checkout pageWhen a default shipping address has not been set, as with all new users, the dropdown does not display. This is by design. If nothing is saved already, the customer does not need to be presented with the option of selecting an address.
For a customer’s second order, or if they set an address in /my-account before checkout, the drop down will display.
Forum: Plugins
In reply to: [WooCommerce Address Book] fatal error – could not be activatedThanks for your report.
I have been unable to replicate the issue, running:
Woo Address Book Version: 1.4.0
WooCommerce Version: 3.4.5
WordPress Version: 4.9.8I’ve not heard of any other reports, so I suspect there is a conflict somewhere on your system. If you find more info, please let me know.
Forum: Plugins
In reply to: [WooCommerce Address Book] view customers addressesThere is not a method for viewing customer addresses built directly into this plugin, however you have a couple options.
You can use a plugin like User Switching to view your website as if you are a customer. You can then go to their /my-account page and view the addresses.
The addresses are also stored in the database in the wp_usermeta table.
1.4.0 is out!
Forum: Plugins
In reply to: [WooCommerce Address Book] State list not getting updated on changing CountryI’ve also made some changes, and released 1.4. The plugin stil requires “Post Name”, but this update solves a few other issues which may be related.
Forum: Plugins
In reply to: [WooCommerce Address Book] Wrong version number somewhere ?Hi! Thanks for the report.
The “stable version” was set to 1.0.0. I’ve removed this, and I believe this should correct your issue.
Forum: Plugins
In reply to: [WooCommerce Address Book] State list not getting updated on changing CountryHi!
Thanks for the report. I am curious what your permalink settings are.
I am discovering that this plugin requires “Post Name” to be set in /wp-admin/options-permalink.php.
When editing your second address, if the URL looks like “?page_id=8&edit-address=shipping/?address-book=shipping2”, you’ll need to update this setting.
Thanks for your patience here. I expect to have v1.4 out this week.
Forum: Plugins
In reply to: [WooCommerce Address Book] WC_Checkout->__get, wc_doing_it_wrong.Thanks for the report. WooCommerce changes some of their best practices in v3.0, and this is a notice stating that the code needed to be updated.
Nothing was “broken”, just a warning that the old method may not work in the future.
I’ve got a patch ready for v1.4 of this plugin.
Forum: Plugins
In reply to: [WooCommerce Address Book] Cannot edit, delete or make primaryI’ve not heard of anyone else having this issue. Is this still the case? Do you have an example I can look at?