Once it was activated, it will show critical error with latest Woocommerce.
So, we have to delete it by FTP.
Thanks
]]>Hello,
We have a store with multiple warehouses in different locations in the US and Canada. Everything seems to work well except that our warehouses are not getting the orders. Is there a plugin that allows each warehouse to pickup their own orders via API? or How do I configure this plugin to allow warehouses to pickup just their own orders?
Thank you!
]]>Hi @joeleem0n,
I need this plugin to be able to use geo-localization with a CDN, a library or an API (but that is well cached). I’ve checked multiple times your implementation with NewRelic to understand what was slowing down the site and as you can see from my previous posts the APIs of this plugin were to blame.
The profiling requires tests on a production site and it’s time consuming.
I think that if you want to re-invent the wheel you need to know what you’re doing (even if you’re using a fast api it still needs to be properly cached, etc) and it’s better to leave functionalities separate and concentrate on your product.
I saw that now it’s using api.ipstack.com but it would be best to have the possibility to choose.
The implementation that I’m proposing is about changing two functions and it’s not disruptive in case you’re choosing to not use geoip-detect plugin.
To have it published in your plugin would avoid me each time to make a manual changes in the code on each update of the plugin.
Here we go, it’s on the file public/class-warehouse-popups-woocommerce-public.php
and this is the first function:
private static function auto_warehouse_switch()
{
global $SHIPPING_ZONES_ENABLED;
$found_warehouse = false;
if (isset($_SERVER['HTTP_GEOIP_COUNTRY_CODE'])) {
$geo_country_code = trim(strtoupper($_SERVER['HTTP_GEOIP_COUNTRY_CODE']));
} else if (function_exists('geoip_detect2_get_info_from_current_ip')) {
$geoInfo = geoip_detect2_get_info_from_current_ip();
$geo_country_code = ($geoInfo->country->isoCode);
//$geo_postal_code=($geoInfo->postal->code);
} else {
$client_data = self::client_data();
$geo_country_code = $client_data['country_code1'];
/*if (function_exists('geoip_detect2_get_info_from_current_ip')) {
$geoInfo = geoip_detect2_get_info_from_current_ip();
$geo_country_code = ($geoInfo->country->isoCode);
//$geo_postal_code=($geoInfo->postal->code);
} else {
$geo_url = 'https://www.geoplugin.net/json.gp?ip=' . $_SERVER['REMOTE_ADDR'];
$geo_json = self::curl_get_contents($geo_url);
$geo_object = json_decode($geo_json, true);
$geo_country_code = trim(strtoupper($geo_object['geoplugin_countryCode']));
}*/
} (code continues..)
As you can see by comparing with the original function I’m just adding this:
else if (function_exists('geoip_detect2_get_info_from_current_ip')) {
$geoInfo = geoip_detect2_get_info_from_current_ip();
$geo_country_code = ($geoInfo->country->isoCode);
//$geo_postal_code=($geoInfo->postal->code);
}
The other function is:
function get_geoip_data(){
if (is_admin()) {
return false;
}
define("GEOIP_DETECT_IPV6_SUPPORTED", ""); // Just to remove annoying php warning
if (function_exists('geoip_detect2_get_info_from_current_ip')) {
$geoInfo = geoip_detect2_get_info_from_current_ip();
$geo_country_code = $geoInfo->country->isoCode;
$geo_country_name = $geoInfo->country->name;
//ChromePhp::log("Country name: $geo_country_name, country code: $geo_country_code");
$obj['name'] = $geo_country_name;
$obj['alpha2'] = $geo_country_code;
}
else {
$ip = self::get_client_ip();
$cache_data = self::_wmw_get_data_from_cache( $ip );
if( $cache_data ){
$obj = json_decode( $cache_data, true );
}else{
$geoip_url = "https://api.ipgeolocationapi.com/geolocate/" . $ip;
$json = self::curl_get_contents($geoip_url);
$obj = json_decode( $json, true );
self::_wmw_add_data_to_cache( $json, $ip );
}
}
$return_arr = array(
'name' => $obj['name'],
'country_code1' => $obj['alpha2'],
'country_code2' => $obj['alpha3']
);
return $return_arr;
}
Where I’m just adding the call to the geoip-detect plugin in case it exist:
if (function_exists('geoip_detect2_get_info_from_current_ip')) {
$geoInfo = geoip_detect2_get_info_from_current_ip();
$geo_country_code = $geoInfo->country->isoCode;
$geo_country_name = $geoInfo->country->name;
//ChromePhp::log("Country name: $geo_country_name, country code: $geo_country_code");
$obj['name'] = $geo_country_name;
$obj['alpha2'] = $geo_country_code;
}
This would make the plugin more professional as sites that are served with a Content Delivery Network (CDN) won’t need to do any extra API calls.
When can we expect to have this pushed in the code?
]]>Hi @joeleem0n,
I’m reposting this as the replies on the original post were closed.
After 9 months this remains still unfixed and was working in previous versions.
I’m referring to the the possibility to associate multiple countries to a single warehouse? usually a single warehouse will serve multiple countries.
now when I edit a warehouse I see only a dropdown menu instead of a text box with the list of countries code.
My database has still associated multiple countries but when I go to edit the entries of the warehouse I can select only one?
Let us know what is your take on this. It would be completely unmanageable to have a warehouse for each country that you want to serve.
Thank you!
allanext
]]>does this plugin have an option for the warehouse admin to login and not see anything else but orders for that warehouse?
ie they should not see any settings etc, only the order section
]]>Hi,
Only some of my products / categories have multiple locations. How Can I do this plugin be active in certain product categories?
Regards.
After activating plugin the site in inacessible, I am glad I decided to first try it in local environment.
Here’s error text from Query Monitor:
Fatal error: Uncaught Error: Non-static method Warehouse_Popups_Woocommerce_Public::_wmw_get_data_from_cache() cannot be called statically
in C:\***\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-popups-woocommerce-public.php on line 440
Call stack:
Warehouse_Popups_Woocommerce_Public::auto_warehouse_switch()
wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php:498
Warehouse_Popups_Woocommerce_Public::handle_switch_form_submit()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-settings.php:578
require_once()
wp-config.php:100
require_once()
wp-load.php:50
require_once()
wp-admin/admin.php:34
require_once()
wp-admin/index.php:10
]]>
Hello guys,
Maybe it’s just me, but I have no idea how the “warehouse” inventory relates to the actual product inventory.
The stock in the secondary warehouses is just a new meta in products and nothing more.
In my case, I need to have a secondary stock on woo because we are working in just-in-time but have some products in stock. The idea is to subtract from the warehouse stock the sold products (which were already in stock). And to display on the admin side of order details for our managers, that the product is already in the warehouse: it’s useless to order another one from the supplier.
I hope you understood me. I’ll wait for your reply!
]]>WordPress 5.8
Woocommerce Multi Warehouses 2.0.3
PHP version 7.4
For currency conversion, I am using “Manual, set your own exchange ratio” i have added as 74 but on the frontend, if I change Warehouse the product currency changes but price is getting as zero
]]>I think this plugin is a great idea. If allowed, I’d like to make a suggestion on how to display and manage the inventory on an alternative route. The functionality of the plugin could be expanded even further. It is not always appropriate to display detailed inventory information to customers. It would be a great help if the plugin could display the inventory of the warehouses in summary. For example: Main Woocommerce Warehosue Stock = 0 pc and Warehouse_B = 2 pcs. Currently, in this case, the web store shows zero inventory. I don’t want to let the customer to choose the warehouse. Just show him that the item is in stock because 0 + 2 = 2, so the product is available, just not in the main warehouse. And it would be great if you could specify which warehouse should be the primary one to serve your orders. If there is no stock in that specified warehouse, reduce the stock from the next one without leaving the decision to the buyer to choose another warehouse.
]]>We have installed woocommerce warehouse plugin and it works fine but product can not be deleted from bascet. We would like to buy the pro version but we need to solve this problem?
How can we fix this problem?
Hi @joeleem0n,
What happened with the possibility to associate multiple countries to a single warehouse? usually a single warehouse will serve multiple countries.
now when I edit a warehouse I see only a dropdown menu instead of a text box with the list of countries code.
My database has still associated multiple countries but when I go to edit the entries of the warehouse I can select only one?
Please let me know asap as I need to change those entries.
Thank you!
allanext
]]>Hi!
We are switching from Magento 2.4 MSI to WordPress/Woocommerce and i am looking for a plugin/extension/modification that can help.
So because we use MSI at magento we can use different stock sources.
We have our own warehouse but also use the stock from our suppliers.
So this means that each supplier has his own source code in our current store.
So products are devided into basically a few groups:
-our own stock in our own warehouse
-supplier 1
-supplier 2
-supplier 3 etc.
using a cron job and an extension we are automatically loading the stock from the csv/xml/xlsx that we get from the supplier into the stock source where the products are connected to.
Based on that we can show a delivery time on the front end of the site and also send a delivery time to our intermediair to connect with Amazon/bol.com etc.. (supplier 1 has 3 days delivery time, supplier 2 has 4 days etc.)
Can we, with your plugin, copy the same situation?
And if so, how do we connect the items to the locations? Can this be done in bulk?
Is there some way we can load the stock into the created locations?
Thank you!`
]]>Hi, i’ve installed your plugin it didn′t work i saw the same error in this thread before https://www.ads-software.com/support/topic/error-after-creating-warehouse/ its there any solution? if i purchase the plugin it’s possible not to come with this error?
i really need to use it !!! please help
Hi,
when I activate MultiWarehouse I will get following error (in debug mode) and page stops working:
Fatal error: Uncaught Error: Using $this when not in object context in […]plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php:982
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): Warehouse_Popups_Woocommerce_Public::wh_popups_override_price(‘29.00’, Object(WC_Product_Simple))
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters(‘29.00’, Array)
#2 /plugins/woocommerce/includes/abstracts/abstract-wc-data.php(797): apply_filters(‘woocommerce_pro…’, ‘29.00’, Object(WC_Product_Simple))
#3 /plugins/woocommerce/includes/abstracts/abstract-wc-product.php(267): WC_Data->get_prop(‘price’, ‘view’)
#4 /plugins/woocommerce/ in /plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 982
Looking forward for your answer
]]>Hi,
I’ve been noticing that browsing the site has become incredibly slow, like more than 10 seconds for a page to open.
I was looking at database optimizations, cache, we use a CDN as well but then I’ve setup New Relic to profile what is slowing down the site; and it comes out it’s an API that makes it extremely slow:
api.ipgeolocationapi.com
Used only by this module. See the following links for the report:
https://ibb.co/FVc1kYj
https://ibb.co/qFcNK1R
https://ibb.co/jZsSR9k
My questions are:
1) the best way would be to geolocalize the client with a CDN (we are using AWS cloudfront but same functionalities is used on cloudflare), are you planning in supporting this?
2) are they alternate API that can be used?
3) What is the option “Auto GEO IP / Location Detection Checkout” doing? should there be a little help label text next explaining the functionality?
4) What is the option “Google Maps GEO IP Location Detection” doing? should there be a little help label text next explaining the functionality?
Thank you!!
]]>hellow im trying to use the plugin with no luck, i got this error after creating warehouse
Fatal error: Uncaught Error: Using $this when not in object context in /home/cervall/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php:982 Stack trace: #0 /home/cervall/public_html/wp-includes/class-wp-hook.php(287): Warehouse_Popups_Woocommerce_Public::wh_popups_override_price(‘48174’, Object(WC_Product_Variation)) #1 /home/cervall/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘48174’, Array) #2 /home/cervall/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(751): apply_filters(‘woocommerce_pro…’, ‘48174’, Object(WC_Product_Variation)) #3 /home/cervall/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(267): WC_Data->get_prop(‘price’, ‘view’) #4 /home/cervall/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(572): WC_Product->get_price() #5 /home/cervall/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(550) in /home/cervall/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 982
]]>hi. just activate the plugin. ” Create warehouse” button logs me out!!
]]>Hi there.
I’m receiving below error if I activate the plugin:
Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::client_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 689
Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_geoip_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 91
Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_client_ip() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 1362
Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::client_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 689
Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_geoip_data() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 91
Deprecated: Non-static method Warehouse_Popups_Woocommerce_Public::get_client_ip() should not be called statically in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 1362
Warning: file_get_contents(https://www.geoplugin.net/json.gp?ip=192.96.203.70): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/xxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 384
Notice: Trying to access array offset on value of type null in /home/xxxx/public_html/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 386
WooCommerce Version 4.3.3.
I cannot update the Woo version due to some incompatibility with the theme and other plugins.
]]>Hi, so i have a problem getting this plugin to work at all:
I installed the plugin
went to the “warhouses’ tab, (no checkbox to activate multiple warehouses there)
clicked on “Add warehouse”
filled out the form (use default quantity, name, address, payment method, email, country)
pressed “Create warehouse”
received the message “Your settings have been saved” (translated)
…
Nothing changed, no warehouse in the list
Using the latest WP and latest WOO, PHP 7.4
NOT using any API key or connection
Cheers,
Lars
Hello, even though I have warnings turned off. I continue to get multiple Undefined Indexes throughout your code. Can you please adjust these ASAP. They cause issues, and I need to always adjust them myself.
This is just one of them. But please find the issue and fix.
Notice: Undefined index: wh_popups_change_wh_to in //wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 858
]]>Hi, just install the plugin and when i try to add a warehouse and press add warehouse ( after filling the information) the connection expires what it the issue?
]]>Hi Joel,
I’ve updated the module from version 1.3.3 to version 1.3.7 and now if i set the quantity of a variable product to 0 it still says it’s “In stock”. I’ve tested with USA and Europe VPNs (with browsers in incognito mode)
I’ve noticed that it lost the setting “Location detection” by country, so i’ve set it back but the issue is not resolved.
Might be a GEO location issue? What are the GEO location requirements for this plugin?
I’ve notice that the plugin tries to use a local GEO ip database instead of a standard approach like integrating the plugin with something like Geo ip detection? (personally i think it’s better, rather than to maintain an external library in your plugin)
On the version 1.3.3 I’ve done the following changes to the file class-warehouse-popups-woocommerce-public.php
to make it work, still need to understand why it’s not working with 1.3.7:
Beginning of file:
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
//require 'vendor/autoload.php';
use GeoIp2\Database\Reader;
and then:
// automatically detect location and switch warehouse
private static function auto_warehouse_switch()
{
global $SHIPPING_ZONES_ENABLED;
$found_warehouse = false;
//$reader = new Reader(plugin_dir_path( __FILE__ ) . 'GeoLite2-City.mmdb');
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip_address = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip_address = $_SERVER['REMOTE_ADDR'];
}
if($ip_address == '127.0.0.1') {
self::set_warehouse_cookie($_REQUEST['wh_popups_change_wh_to']);
return;
}
// $record = $reader->city($ip_address);
// $geo_country_code = trim(strtoupper($record->country->isoCode));
// $geo_postal_code = trim($record->postal->code);
$geoInfo = geoip_detect2_get_info_from_current_ip();
$geo_country_code=($geoInfo->country->isoCode);
$geo_postal_code=($geoInfo->postal->code);
$alt_warehouses_list = self::get_alt_warehouses_list();
You just need to call geoip_detect2_get_info_from_current_ip() instead of opening a geoip database and maintaining it.
Please let me know your thoughts or the GEO IP requirements for the plugin.
Thank you!
Just installed your plugin but I get this massive error. What’s the cause of this? Can you please fix ASAP?
WordPress version 5.4.2
Current theme: Wicky (version 1.0.1)
Current plugin: Woocommerce Multi Warehouses (version 1.3.6)
PHP version 7.3.18
——————————————————-
An error of type E_ERROR was caused in line 673 of the file /srv/htdocs/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php. Error message: Uncaught Error: Undefined class constant ‘client_data’ in /srv/htdocs/wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php:673
Stack trace:
#0 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(287): Warehouse_Popups_Woocommerce_Public->wh_popups_override_currency(‘IDR’)
#1 /wordpress/core/5.4.2/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘IDR’, Array)
#2 /wordpress/plugins/woocommerce/4.2.0/includes/wc-core-functions.php(319): apply_filters(‘woocommerce_cur…’, ‘IDR’)
#3 /wordpress/plugins/woocommerce/4.2.0/includes/wc-core-functions.php(701): get_woocommerce_currency()
#4 /wordpress/plugins/woocommerce/4.2.0/includes/widgets/class-wc-widget-price-filter.php(45): get_woocommerce_currency_symbol()
#5 /wordpress/core/5.4.2/wp-includes/class-wp-widget-factory.php(61): WC_Widget_Price_Filter->__construct()
#6 /wordpress/core/5.4.2/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘WC_Widget_Price…’)
#7 /wordpress/plugins/woocommerce/4.2.0/includes/wc-widget-functions.php(39): register_widget(‘WC_Widget_Price…’)
#8 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(287): wc_register_widgets(”)
#9 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#10 /wordpress/core/5.4.2/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#11 /wordpress/core/5.4.2/wp-includes/widgets.php(1765): do_action(‘widgets_init’)
#12 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(287): wp_widgets_init(”)
#13 /wordpress/core/5.4.2/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#14 /wordpress/core/5.4.2/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#15 /wordpress/core/5.4.2/wp-settings.php(540): do_action(‘init’)
#16 /srv/htdocs/wp-config.php(81): require_once(‘/wordpress/core…’)
#17 /wordpress/core/5.4.2/wp-load.php(42): require_once(‘/srv/htdocs/wp-…’)
#18 /wordpress/core/5.4.2/wp-login.php(12): require(‘/wordpress/core…’)
#19 {main}
thrown
Hello all my wearhouses are in the same country with only one currency. I’ve tryed flat and manual settings but every time I’m getting this error with the currency simbol. In this condition I can’t see my single product pages because I get a WP error.
[29-May-2020 20:49:49 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php:673
Stack trace:
#0 wp-includes/class-wp-hook.php(287): Warehouse_Popups_Woocommerce_Public::wh_popups_override_currency('ARS')
#1 wp-includes/plugin.php(206): WP_Hook->apply_filters('ARS', Array)
#2 wp-content/plugins/woocommerce/includes/wc-core-functions.php(319): apply_filters('woocommerce_cur...', 'ARS')
#3 wp-content/plugins/woocommerce/includes/wc-core-functions.php(701): get_woocommerce_currency()
#4 wp-content/plugins/woocommerce/includes/widgets/class-wc-widget-price-filter.php(45): get_woocommerce_currency_symbol()
#5 wp-includes/class-wp-widget-factory.php(61): WC_Widget_Price_Filter->__construct()
#6 wp-includes/widgets.php(115): WP_Widget_Fact in /wp-content/plugins/warehouse-popups-woocommerce/public/class-warehouse-popups-woocommerce-public.php on line 673
Thanks for your iniciative, regars.
]]>Warning: file_get_contents(https://api.ipgeolocationapi.com/geolocate/::1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-popups-woocommerce-public.php on line 1242
Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-popups-woocommerce-public.php on line 1245
Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-popups-woocommerce-public.php on line 1246
Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-popups-woocommerce-public.php on line 1247
Fatal error: Uncaught GeoIp2\Exception\AddressNotFoundException: The address ::1 is not in the database. in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\vendor\geoip2\geoip2\src\Database\Reader.php:248 Stack trace: #0 C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\vendor\geoip2\geoip2\src\Database\Reader.php(217): GeoIp2\Database\Reader->getRecord(‘City’, ‘City’, ‘::1’) #1 C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\vendor\geoip2\geoip2\src\Database\Reader.php(73): GeoIp2\Database\Reader->modelFor(‘City’, ‘City’, ‘::1’) #2 C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-popups-woocommerce-public.php(368): GeoIp2\Database\Reader->city(‘::1’) #3 C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-popups-woocommerce-public.php(430): Warehouse_Popups_Woocommerce_Public::auto_warehouse_switch() #4 C:\xampp\htdocs\domain\wp-includes\ in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\vendor\geoip2\geoip2\src\Database\Reader.php on line 248
==============================================================
What should I do to test this plugin?
]]>Hi,
Wondering if this is possible, either in free or pro version:
E.g.
Warehouse 1 shipping zone: US
Warehouse 2 shipping zone: US – New York
When people from Los Angeles visit and select “US” warehouse, the shop will show products from warehouse 1.
When people from New York visit and select “US – New York” warehouse, the shop will show products from warehouse 1 & 2.
Possible?
Thanks.
]]>Hi,
When I’ve just installed your plugin, all my products in alternate warehouse are “on backorder” status, while I don’t allow backorder. I tried to re-save a product (without any changes), then the status is correct as “out of stock” (the stock is still 0 in the alternate warehouse).
I think it’s caused by the non-existence of product meta “alt_wh_backorder_” when your plugin is just installed. It’s fine to re-save if I only have 10 products, but sadly that’s not the case ??
Can you help?
Thanks.
]]>Hi,
After adding an item to cart, I can’t remove it. Tried items from both warehouses. The link to remove item has “remove_item” parameter constantly 0, like so:
https://example.com/cart/?remove_item=0&_wpnonce=abc
Only way to remove the item is to set the stock to 0, and go to cart page where the item will be automatically removed.
Any idea why this happened?
Thanks.
]]>I am in the process of building our new eCommerce site and your plug in is about the only one that looks to work for what we are looking for but when i try and install it it gives me an error and brings the whole site down and i have to manually remove the plugin.
can we get an update for this to work on 5.4 wordpress. We are a 8 store electronic recycler that has multiple warehouses we want to be able to ship from according to the geolocation. I would love to work with you on getting this going asap.
Please let us know what we can do to help get this going.
]]>