Matt Harrison
Forum Replies Created
-
Forum: Plugins
In reply to: [Address Book for WooCommerce] Retrieving user addresses (Backend)Hi,
The data is all stored under the user as usermeta. You can use these functions if you’d like to access the address book object directly in your code.
$billing_address_book = \CrossPeakSoftware\WooCommerce\AddressBook\get_address_book( new \WC_Customer( $user_id ), 'billing' );
$shipping_address_book = \CrossPeakSoftware\WooCommerce\AddressBook\get_address_book( new \WC_Customer( $user_id ), 'shipping' );We also have the Pro version of the plugin which has Backoffice support which includes the ability to manage a user’s address book right from their user profile in the admin.
Matt
Forum: Plugins
In reply to: [Address Book for WooCommerce] Multiple users, same address bookInteresting. A huge address book could cause issues. I could see us adding a sort of pagination feature to it which would probably solve the page load issue you are having.
Forum: Plugins
In reply to: [Address Book for WooCommerce] Multiple users, same address bookHi,
I’m not sure what you changed the function to, but my guess is because it needs to return a customer object and not an id it was not working.
That said, we have a filter in place so you can do this by adding the code to either your theme or through a custom plugin. That way you don’t need to be modifying the plugin every time we release a new version update.
You can add this filter to override it:
add_filter(
'wc_address_book_current_user_id',
function ( $user_id ) {
return 8;
}
);Forum: Everything else WordPress
In reply to: Weird wordpress.org username setup on my account.Thanks Steven.
Forum: Plugins
In reply to: [Address Book for WooCommerce] Ability to search for ship to addressThank you. I was able to replicate the issue on my end with the Concatenate JS setting in Jetpack Boost.
We’ll see if we can come up with a fix to get it to work with Boost
Forum: Plugins
In reply to: [Address Book for WooCommerce] Ability to search for ship to addressInteresting, was there a certain plugin you had doing the concatenation?
We rely on WooCommerce or the theme to load in the SelectWoo javascript as some themes use other selectbox libraries. So it is possible that the concatenation was messing up the order that the scripts load in so it wasn’t ready yet when it loaded the select.
Forum: Plugins
In reply to: [Address Book for WooCommerce] Ability to search for ship to addressHi Ashley,
That isn’t something that we changed. It still uses the dropdown with the search box.
We are only using the standard WooCommerce select field here, so the search is provided by WooCommerce and not our Address Book plugin. This is the same dropdown field used for the Country and State selectors on checkout. Do those fields still provide the search on your site?
It not, it could be something from your theme or a javascript error preventing something from loading.
2.6.6 is the update it was updated in.
Hi,
Thank you for the detailed report. We override some of WooCommerce’s customer data saving so that is why the filter they are using was not working.
We just pushed out an updated version of the plugin so the filter will now work the same as it does in core WooCommerce.
So,
add_filter( 'woocommerce_checkout_update_customer_data', '__return_false' );should now work the same.Hopefully that fixed the issue that you were having with that Subaccounts plugin.
Forum: Plugins
In reply to: [Address Book for WooCommerce] Plugin version issueHi,
3.0.2 was from about 2 years ago, so you might have installed it then, it would have been working fine until the recent Woo update. We have been continuing developing the 3.x branch on github only with releases through our site and github and 2.x has stayed on wordpress.org until the upgrade from 2.x is smooth for all customization paths.
3.x has been working fine if you weren’t upgrading from a 2.x setup with various types of custom data setups. (stock checkout upgrade has always been fine). So you would be good to use 3.0.2.13 or 2.6.5 if your site was running fine with 3.0.2 before the recent Woo update.
We are close to what we’d consider a 3.x stable release once we get more time to contribute to this free plugin. The plan is to launch it as 3.1 on all platforms so the version will be consistent across the board.
Forum: Plugins
In reply to: [Address Book for WooCommerce] Address end point critical errorThank you for that. Which version of the plugin are you using? From the look of the stack trace there you might be using one of the old 3.x betas of the plugin.
The latest 3.x beta can be obtained from our site: https://www.crosspeaksoftware.com/downloads/woocommerce-address-book/
Or the latest 2.x release can be obtained here on wordpress.org
Forum: Reviews
In reply to: [Address Book for WooCommerce] Superb PluginGood to hear it is working well for you.
Custom CSS is usually the way to go. Every WordPress theme out there makes it look slightly different, we try to keep the styles neutral and match the WooCommerce theme.
Is there anything in specific that you find would be an option you would want to customize from the settings?
Forum: Plugins
In reply to: [Address Book for WooCommerce] Address end point critical errorHello,
To know more of what is causing it for you site you would need to get the error log that is produced by WordPress when that error message is generated. It might have emailed a copy of it to the default site email or you would need to check your WordPress debug or error logs.
Getting the logs would help determine what plugin or theme is triggering the error and what might be causing a conflict with the plugin.
Forum: Plugins
In reply to: [Gravity Forms Email Blacklist] Display Issue on GF Email BlacklistI’m closing this since there has been no reply. If you have more information, feel free to reply.
Forum: Plugins
In reply to: [Gravity Forms Email Blacklist] Not working on all formsI’m closing this since there has been no reply. If you have more information, feel free to reply.