Customize Add Listing Form to also Assign "Stores"

WordPress Business Themes Forums Responsive Themes Coupon Theme Customize Add Listing Form to also Assign "Stores"

Customize Add Listing Form to also Assign "Stores"

April 17, 2018
 Mauricio

  • Mauricio
    Newbie 5 points

    Hi Team,

    I’ve seen that it’s possible to configure Categories to show up on the Add Listing Form, but what about Stores?

    That would break a big rework if it’s possible to do so.

    If not, is the only workaround to later the admin to go there and set the store?

    Thanks and Regards,

    April 17, 2018 at 11:45 am

  • Mauricio
    Newbie 5 points

    Adding notify by email

    April 17, 2018 at 11:45 am
  • Marie
    Marie
    Super Guru 1,504 points

    hi,

    by default, no. it wont be displayed to the add listing page

    BUT you can try adding it as a taxonomy field via Theme setup > Listing setup > Custom Field. set Field Type to taxonomy

    April 18, 2018 at 6:55 am

  • Mauricio
    Newbie 5 points

    Marie thanks for your help, although it didn’t work.

    However I might have figured out the beginning on how to create it.

    I checked out the code on add-form.php, on line 598 there is the hook

    hook_add_form_abovebutton

    .
    How could I add the field form and save it on submit?

    Is there another hook to do so?

    April 18, 2018 at 11:42 am
  • JamesD
    JamesD
    Super Guru 951 points

    @Mauricio

    By adding it the way Marie said then it would automatically be added to the form. If it doesn’t, then more than likely something else is going on.

    Hopefully this will help (no audio):
    Unable to display content. Adobe Flash is required.

    https://www.screencast.com/t/MUVQI4jMqeO
    April 18, 2018 at 8:13 pm
    This reply was awarded the best answer by the topic poster.

  • Mauricio
    Newbie 5 points

    Awesome, just made my day.

    Thank you MArie and JAmesD. I made as per the video and worked fine.

    April 18, 2018 at 8:45 pm
  • JamesD
    JamesD
    Super Guru 951 points

    You’re welcome, glad it helped.

    April 18, 2018 at 9:10 pm
Viewing 7 posts - 1 through 7 (of 7 total)

Didn't find what you were after?

Chat with us now

or contact our support team