• Resolved marty2010

    (@marty2010)


    Hi there,
    I’m using your plugin. Evertything is good.
    I have done small research fields for the categories of the products but only need one, I would like to have the possibility for searching the store location (ex. query=New York), and thought to get the store address ID in WC Vendors (#wcfmmp-store).
    So I used the code below but this resulted as nothing.

    <form role="search" method="get" class="woocommerce-product-search" action="http://www.test.org/store/">
    <label class="screen-reader-text" for="wcfmmp-store">Search:</label>
    <input type="search" id="wcfmmp-store" name="wcfmmp-store" class="search-field" placeholder="Search" value="">
    <button type="submit" value="Search">Search</button>
    </form>

    Or using the #store_address I have found in html.

    <div id="store_address" name="store_address" class="wcfm-text wcfm_ele " style="display:inline-block;"><a style="color:#4dbd74;" href="https://goo.gl/maps/rLqW5WRLxefAuwV99" target="_blank">767 5th Ave, New York, NY 10153, USA</a></div>
    So
    <form role="search" method="get" class="woocommerce-product-search" action="http://www.test.org/store/">
    <label class="screen-reader-text" for="wcfmmp-store">Search:</label>
    <input type="search" id="store_address" name="store_address" class="search-field" placeholder="Search" value="">
    <button type="submit" value="Search">Search</button>
    </form>

    What is the detail to fix?
    Otherwise is there a function code for creating a shortcode?
    I really appreciate your opinion, thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Jamie

    (@digitalchild)

    Hi @marty2010

    wcfmmp is not related to our products at all and is unsupported. That being said if you want to have geographic/location based searching there is a 3rd party plugin that provides this capability called WC Vendors Maps which is listed under compatible plugins on our website. Otherwise, you could create your own taxonomy that holds the location details and search based on that.

    cheers,

    Jamie.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.