In ProgressFail to Save Shipping Zone
- This topic has 9 replies, 2 voices, and was last updated 1 year, 9 months ago by
Althemist.
- AuthorPosts
- February 18, 2022 at 6:54 pm #33055
valeriozpp
ParticipantHi, I have updated the plugin and activated the Branches and delivery areas. I’m having a problem with the creation and when update the “Lafka Shipping Areas Method” in woocommerce shipping zone. Basically the ajax call fails (html 500) and no value is written to the wp_option table. I have disabled all the other plugins that manage deliveries and the problem persists.
February 18, 2022 at 7:06 pm #33056Althemist
KeymasterHi valeriozpp,
Could you, please give us a bit more information? Exactly at which point did you get that error? Did you see the error somewhere on the site admin or only in console when checking the requests?
February 18, 2022 at 10:13 pm #33060valeriozpp
ParticipantThe error is in the admin when you try to Add or Update the Lafka Shipping Areas Method
This is the php errror
Fatal error: Uncaught Error: Class ‘Lafka_Shipping_Areas_Method’ not found in /var/www/html/shopmisu/wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php:103 Stack trace: #0 /var/www/html/shopmisu/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(2984): WC_Shipping_Zones::get_shipping_method() #1 /var/www/html/shopmisu/wp-includes/class-wp-hook.php(307): WC_AJAX::shipping_zone_methods_save_settings() #2 /var/www/html/shopmisu/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /var/www/html/shopmisu/wp-includes/plugin.php(474): WP_Hook->do_action() #4 /var/www/html/shopmisu/wp-admin/admin-ajax.php(200): do_action() #5 {main} thrown in /var/www/html/shopmisu/wp-content/plugins/woocommerce/includes/class-wc-shipping-zones.php on line 103
Commenting this
//function lafka_shipping_areas_method_init() {
The Class Code
//}
in the file class-lafka-shipping-areas-method.php it works well
February 19, 2022 at 4:39 pm #33063Althemist
KeymasterThat’s really strange. Please, allow a bit more time to investigate. We will let you know ASAP. Basically, commenting parts of the code could potentially create other problems.
February 19, 2022 at 4:48 pm #33065Althemist
KeymasterCould you, please give us temporary admin access to your site, so we can check if there is something specific on your installation? We’d also need you to revert the theme code to the original one (remove comments).
February 20, 2022 at 6:05 pm #33067valeriozpp
ParticipantAfter Last update to 4.0.1 the theme plugin work correctly
February 20, 2022 at 6:59 pm #33068valeriozpp
Participantif I had any feature customization requests, who could I contact?
Specifically, I would need it
- The possibility of having different delivery dates and times for each Branch (if not possible, integrate the support of a third-party plugin, ICONIC or YITH Shipping Date)
- A bar always visible from where you can switch between home delivery / in-store pick-up (the current widget works well but I think it is very little visible to the customer)
- Theme support for one of the Multistep Checkouts. Personally I’m getting along well with ICONIC’s.
But I tried to install it on the theme and it has some graphic defects (css) and visualization of the features of your Plugin.
Tks
February 21, 2022 at 12:46 am #33069valeriozpp
ParticipantAnother thing, for the correct working of the Branch selector Modal in italy, we have to take the information from administrative_area_level_3 instead the administrative_area_level_1
February 21, 2022 at 1:03 am #33070valeriozpp
ParticipantErrata Corridge
administrative_area_level_2 instead administrative_area_level_1
February 21, 2022 at 9:15 am #33072Althemist
KeymasterHi valeriozpp,
Unfortunately we don’t provide customization services.
As for the other questions:
1. We are planning to implement different working time and slots on per-branch basis. It is planned for the next major update. However, we still can’t give you any ETA, as we are currently finishing other projects. You’d be able to use YITH shipping date if you disable our theme feature.
2. I am afraid there is just no suitable space to display the switcher site wide. That’s why there is an option to do this in 4 different places (the cart module, the cart page, the checkout page and on all WooCommerce archive pages – e.g. shop page and categories)
3. Unfortunately you would not be able to use custom checkout solutions like Iconic, because all features of the theme are tightly connected and work together. You’d lose the automatic info box update and what’s most important – all different types of validation for the delivery areas. It just wasn’t meant to work with custom checkout solutions as it is really hard to make it work even with the default one.
4. For the administrative_area_level we will investigate if it’s possible to implement it in more universal way.
- AuthorPosts
You must be logged in and have valid license to reply to this topic.