• Resolved qfurs

    (@qfurs)


    Hello.
    The store has many Stock Locations in different cities. It looks like this:
    Stock Location #1 – City #1
    Stock Location #2 – City #1
    Stock Location #1 – City #2
    Stock Location #2 – City #2
    Stock Location #1 – City #3
    Stock Location #2 – City #3
    …etc.

    Is it possible to make it so that a visitor can select a city on the site and a list of Stock Locations from this city will be displayed in the products, and not all Stock Locations?

    For example, a user visited the site, selected the city “City #2” and only Stock Locations are displayed in the list of available Stock Locations:
    Stock Location #1 – City #2
    Stock Location #2 – City #2

    For example, a user visited the site, selected the city “City No. 2” and only warehouses are displayed in the list of available warehouses:
    Warehouse No. 1 – City No. 2
    Warehouse No. 2 – City No. 2

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Yes, it is possible with some custom scripts but not available as a default feature or option. You can avail the development services from the plugin author.

    Thread Starter qfurs

    (@qfurs)

    I would be grateful if you could tell me what functions and hooks of the plugin can be used.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    ?? are you serious? You are asking me the the custom script initials actually, the effort to find functions and hooks is the real job, we call it a custom requirement, please hire a developer for this thing or find the appropriate hooks and functions for this. While using WooCommerce and core WP we need to find hooks and functions sometimes to achieve what we are looking for, do we write them on support forums for our custom requirements? Please, appreciate the work has been done and make some contributions too. Once you are done with this code, please copy/paste that snippet here in the same support thread so upcoming users can be helped. I will surely include your code in upcoming versions if you would allow/want it to be the part of upcoming releases.

    Thread Starter qfurs

    (@qfurs)

    I understood you. If I can solve the problem, I will share it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to display stock location depending on the city?’ is closed to new replies.