• frank

    (@franklawson)


    Hi
    I’m building classified listings site using a favored theme that is built around eCommerce / woo-commerce. It’s a great theme with loads of product functionality.

    I can see that your plugin has a Woo add on which enables payments through Woo and ads to be managed though the woo dashboard. I would also like classified listings to be displayed as woo-commerce products so that they can be displayed / organised / searched / filtered using the woo tools.

    Is this possible using your plugin?

    Thanks!

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

    (@gwin)

    Hi,
    hmm as far as i know this is not really possible, you can check with the Woo support if it is possible to use their shortcodes with different post types, but even if it is then my guess it will not work the way you would like it to as the classifieds will be missing some data that the default products would have.

    Thread Starter frank

    (@franklawson)

    Thanks Greg –

    As mentioned, my theme is Woo / E-commerce orientated and has some cool features, including a search with filters that can be added to my home page. This is configured using the Woo product attributes tool, once they arrive they can then apply further filters to find what they want.

    1) I need a search / filter function on my homepage which will allow users to search / filter via Category, condition / age, price etc. I also need to be able to place some further filters inside each category / sub-category.

    2) I’d also like them to pay for ads using Woo cart etc / manage ads using the woo dashboard.

    I believe your woo Ad-on will take care of “2)”, but is there anyway that I can utilise it to do as described in “1)”?

    Thanks, Frank

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. the additional filters you can add to the [adverts_list] search ether via adverts_form_load filter (requires some PHP programming knowledge) or using the Custom Fields extension.

    This will allow you to search by price, age condition and etc. but using the default [adverts_list] interface not the one from your theme (unless you overwrite the default wpadverts/templates/list.php template file).

    2. yes, using our WooCommerce integration you can charge users for posting Ads using WC checkout and the users will be able to manage their Ads from the WC user panel.

    Thread Starter frank

    (@franklawson)

    Hi

    1. Ok thanks, but is there a way of displaying that search / with filters on my home page independently, which would then search and navigate to a separate page which has the [adverts_list] short code?

    Similarly, is there a way of then displaying the same search / with filters in a side bar on other pages, including the one which has the [adverts_list] short code?

    2. Thanks, subject to the above, I’ll get this bought.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. so if i understand correctly you would like to have (for example) on the homepage just the WPAdverts search bar which would send the user to a different page which has the same search form and shows the search results?

    If so then yes, this is possible, you would need to:
    1. on the homepage use a shortcode

    
    [adverts_list form_scheme="cars" show_results="0" redirect_to="https://example.com/listings/"]
    

    2. on some other page use shortcode

    
    [adverts_list form_scheme="cars"]
    

    Of course in #1 you need to replace https://example.com/listings/ with actual link to a page which will display the results.

    Thread Starter frank

    (@franklawson)

    Hi

    Thanks.

    Yes, basically i’d like to offer my users a “Quick Search” filter option on my homepage. Once the user completes the form / adjusts the filters and clicks “Search”, the results are then brought up on the the page that has the [adverts_list] short code, where further more specific filters can be applied.

    I can see that the short code you’ve provided brings up a search form that’s identical to that on the [adverts_list] page, with the page display (Grid / list) options etc. Is there a way that an alternative search form can be displayed, that still searches and filters the listings and then displays the results on the page with [adverts_list] short code?

    On my home page, i’d like the “Quick Search” filter form to be set out as follows –

    “Searching for?” (Click and then opens drop down menu with a Category list)

    “New or Used?” – (Click and then opens drop down menu that displays the option to click New or used. New / Used would have to be an specified option on the ad form)

    “Location?” – (Click and then opens drop down menu with a list of UK locations)

    “Price Range” – (Click and the displays a sliding price scale range, based on the lowest priced listing and the highest price listing)

    I’d also like to be able to fully style the form.

    Is this possible? Happy to consider a custom build at a cost if required.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    if you have the Custom Fields extension installed then the search form on the homepage can be different than then the on the search results page.

    You would need to create two form_schemes for [adverts_list] for example named “home” and “advanced” and then use the shortcodes with form_scheme param like this

    
    // on home page
    [adverts_list form_scheme="home" ...]
    // on the results page
    [adverts_list form_scheme="advanced" ...]
    

    Also as an alternative, on the home page you can use just a plain HTML form, just make sure the form “action” will be set to the page with [adverts_list] results and that the field names in your HTML form will match the names of the fields in the [adverts_list] shortcode.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WooCommerce integration’ is closed to new replies.