• Resolved stevecurrey

    (@stevecurrey)


    Hi all,

    I hope you are well.

    I am looking to create a WordPress website with a classifieds section.

    I want users to be able to upload their own adverts for audio equipment. There is a small fee for inserting the advert and potential customers contact the seller to purchase the item.

    I have tried the module and it is extremely easy to use for both admin / vendor alike.

    I have one problem. I need a good filtering system and fields which apply to each category.

    For example, if I had a category “Speakers”, I would want to have a particular field set that goes with that category:

    Type (Floor Standing / Bookshelf etc)
    Wattage
    Impedance

    When a vendor selects this particular category (Speakers), the attributes available should appear for the ad.

    Is this possible at all?

    Many thanks for your help in advance,

    Stephen.

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

    (@gwin)

    Hi,
    thanks for trying WPAdverts, if i understand correctly you would like to have different fields in the [adverts_add] form (the form used to post Ads in the frontend) depending on the selected category?

    If so then this is possible with the Custom Fields extension https://wpadverts.com/extensions/custom-fields/ and the Preselect Ad Category snippet https://github.com/simpliko/wpadverts-snippets/blob/master/preselect-ad-category/preselect-ad-category.php

    How to install the snippet you can read here https://github.com/simpliko/wpadverts-snippets/ at the bottom of the page.

    Once you have both installed you will need to:
    1. go to wp-admin / Classifieds / Custom Fields panel and create a form scheme for each category.
    2. go to wp-admin / Classifieds / Categories edit each category and in the field “Form Scheme” assign a previously created forms to categories.

    Now when a user will visit a page with [adverts_add] shortcode he will need to first select a category and then based on his selection a proper for scheme will load.

    Thread Starter stevecurrey

    (@stevecurrey)

    Hi Greg,

    Thank you so much for the speedy response.

    Looks as if I this will be possible!

    Also, one other thing.

    Say for example, I have custom field for speakers (Wattage), is it possible to select an already existing record (which I or other customers have entered) or are all options strictly manually entered or selection only?

    Kind regards,

    Stephen.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    hmm do you mean some kind of autosuggestion? For example, if in the database there is an entry with Wattage = “200” then when a user starts typing “20” he should see “200” suggestion?

    If so then i am afraid that right now we do not have such functionality in WPAdverts (or in any other extension) but if you are interested we can develop for you a custom plugin which would do it.

    By default, the users can only either enter the whole field value (in text or text area field) or select from predefined values (in the checkbox, radio, and select inputs).

    Thread Starter stevecurrey

    (@stevecurrey)

    Hi Greg,

    That’s exactly what I mean (much like when you list something on eBay).

    Looking at other modules, I would far rather use WP adverts as it’s 99% of what I want it to do.

    I can stick with what you’ve outlined above for now as I’m developing the site but if you could let me know about timescale and additional cost (maybe via PM if not suitable here) then that would be great.

    I envisage to use / purchase all add-ons apart from Stripe, once I go live.

    Kind regards,

    Stephen.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    i got your message sent via the contact form and sent you a reply with a quote back.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Attributes / Custom Fields For Category’ is closed to new replies.