• Hello,

    Great plugin, but i have one question.
    Is there an option to display each category levels in separate dropdowns?
    Thay all should be visible but subcategory selection field should appear available just after when main category is selected.

    I want it to look like this:

    Transport:
    Cars
    Motorcycles

    Make:
    (Depending on transport, in this way “Cars”)
    BMW
    Mercedes

    Model:
    (Depending on makes, in this way “BMW”)
    1 series
    3 series
    5 series

    Looking forward to hearing from You.

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

    (@gwin)

    Hi, i am afraid that right now this is not really possible, at least not without some (rather complex) custom programming, sorry.

    Thread Starter mantasdev

    (@mantasdev)

    Okay, so i will try to manage it on my own.

    Could You show me a code example for a custom field which shows just a list of subcategory?

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, sorry, i am afraid this is beyond the free support offered here, as the code would be much more complex than code for any other custom field because selecting a value in the first field would need to send an AJAX request which loads next level then selecting a value in this field would need to send the request again and so on.

    This kind of feature would require about few programming hours to get it right.

    Additionally, you would need for this a custom code for saving the selected value.

    Thread Starter mantasdev

    (@mantasdev)

    Ohh i see it is really complicated…
    But maybe there is a way to use WordPress Meta Data & Taxonomies Filter (MDTF) plugin with Your plugin?
    I mean, MDTF plugin can search by meta key, meta value key and etc. I’ve created a search form, but it only can found my website posts and i can’t figure it out how to make it to search for WP Adverts posts..
    Any idea?

    Plugin Author Greg Winiarski

    (@gwin)

    The most problematic part would be generating properly the category field in the [adverts_add] form, no plugin will help here i am afraid since the Forms API is unique to WPAdverts (so no other plugin will be able to integrate with it out-of-box).

    Thread Starter mantasdev

    (@mantasdev)

    Ok, got it.
    So I suggest it would be a great feature in next versions?

    Plugin Author Greg Winiarski

    (@gwin)

    Most likely this will not really make it into the default version as the custom category field would conflict with the Fee Per Category add-on (and maybe some other as well), i will try to come up with some code snippet which will allow displaying the category field differently.

    Thread Starter mantasdev

    (@mantasdev)

    That would be just great. Would definitely buy whole extensions pack!!! Can’t wait for update

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘category levels’ is closed to new replies.