• Resolved matteolovalvo

    (@matteolovalvo)


    Hello,
    I developed a local shop website. Since we deliver via bike, we need to have different shipping zone inside the same ZIP code.
    The shop is also selling via courier in the entire country, so I can’t use the feature to limit the dropdown only to the selected cities.

    The checkout is pretty much unusable: the huge select dropdown is killing every browser, especially mobile ones. Is it possible to implement an infinite scroll feature or an AJAX dynamic search?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Condless

    (@condless)

    Hi Matteo,
    Thank you for describing the issue,
    On which country you apply the plugin on?
    Can you share the URL of your checkout page?

    Thread Starter matteolovalvo

    (@matteolovalvo)

    Hello,
    I’m applying it to Italy. URL is https://perinovesco.it/checkout

    Plugin Author Condless

    (@condless)

    Does the problem occur when loading the page or just after clicking the dropdown?
    Can you try to enable the ‘Filters’ option (the second option in the plugin settings) and see if the dropdown responds faster?

    • This reply was modified 4 years, 3 months ago by Condless.
    Thread Starter matteolovalvo

    (@matteolovalvo)

    Yes, the dropdown responds super fast, but the shop is also selling via courier in the entire country, so I can’t use the feature to limit the dropdown only to the selected cities.

    Plugin Author Condless

    (@condless)

    Hi, make sure Italy is configured as the country of the store (WooCommerce => Settings => Store Address), than in the plugin settings enable the ‘Filters’ option (not the ‘Selling Locations’), it should add a ‘Province’ field at the checkout which will minimize the Dropdown cities list by the customer selected province

    Thread Starter matteolovalvo

    (@matteolovalvo)

    Hello, unfortunately this solution doesn’t work. The page still loads the huge select list, so the browser performances are even worse with the province field.

    Plugin Author Condless

    (@condless)

    Hi,
    Another option will be to limit the dropdown only to the selected cities, but to let the customer to select a city which is not in the list, using the following code into your theme’s functions.php file:

    add_filter( 'csz_enable_custom_city', '__return_true' );

    * The province of the customers which will use it will not appear in the order details- it will require additional customization to the plugin to achieve that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Infinite scroll or AJAX search for dropdown’ is closed to new replies.