In ProgressFail to Save Shipping Zone

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #33055
    valeriozpp
    Participant

    Hi, 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.

    #33056
    Althemist
    Keymaster

    Hi 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?

    #33060
    valeriozpp
    Participant

    The 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

    #33063
    Althemist
    Keymaster

    That’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.

    #33065
    Althemist
    Keymaster

    Could 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).

    #33067
    valeriozpp
    Participant

    After Last update to 4.0.1 the theme plugin work correctly

    #33068
    valeriozpp
    Participant

    if 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

    #33069
    valeriozpp
    Participant

    Another 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

    #33070
    valeriozpp
    Participant

    Errata Corridge

    administrative_area_level_2 instead administrative_area_level_1

    #33072
    Althemist
    Keymaster

    Hi 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.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register