• hbran

    (@hannahebrantley1)


    [ Moved to the Fixing WordPress sub-forum. ]

    Hello,

    On my website, we have a list of aircraft that our company has for sale. Much like an online shop, we have a page with a picture of each aircraft and a link to the product details for each. I would like to create a function so that my company can add aircraft as needed through a backend form. My guess is that I would need one function to add the pic/link to product details and another function to add the product details on a separate page?

    Here is the URL for reference: https://www.usaviation.aero/services/aircraft-sales/aircraft-for-sale/

    With that being said, I have tried to create my own function but have not had any success. When I tried to find more information on how to do it, I ended up hopelessly confused. Does anyone out there know how I can set this up?

    Your help is much appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’m confused. You’re using WooCommerce, so why not just use PRODUCTS->ADD PRODUCT?

    Specifically, what are you trying to do that you can’t do through WC directly?

    Thread Starter hbran

    (@hannahebrantley1)

    That would be because I had an extremely blonde moment and that thought had not occurred to me. Thank you for pointing that out.

    Thread Starter hbran

    (@hannahebrantley1)

    Steve,

    I tried using WooCommerce; however, I am looking to make more of a catalog than an online store. I do not want the “Add Cart” “Account” or “Checkout” options on the site. I tried a few different plugins to remove those options, but they all gave me an error message on the product page. Any advice?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’d ask about the errors in the support areas for those plugins — one assumes they *should* work correctly.

    Thread Starter hbran

    (@hannahebrantley1)

    Steve,

    I created another support thread because I have not received a satisfactory answer. WooCommerce is not going to work for what I need. I am not interested in finding an existing plugin. I need a custom function, and I need to know how to create one. Please allow others to respond with their advice before closing my threads.

    So, can you please explain to me how to create a function?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note:

    I created another support thread because I have not received a satisfactory answer.

    Yeah. Don’t do that, it makes it harder for other unpaid volunteers such as yourself to provide support. Normally duplicates are deleted when found.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    explain to me how to create a function

    I can’t tell you what you really need to know. It’s a big project. I think I’d build some custom post types and custom taxonomies.

    If you want to learn to develop in WordPress, this is where to start: https://developer.www.ads-software.com/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to create a function’ is closed to new replies.