WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Adding variations custom field: how to show in frontend (6 posts)

  1. coquin
    Member
    Posted 1 year ago #

    hello
    I'd like to add one or more extra-fields in the variations form.
    I found and tried this (added to functions.php of theme):
    https://gist.github.com/kloon/4228021"
    and it works, a new field is added to the form.
    My problem is that I'm not able to show it on front-end, I think the right place is variable.php, but I cannot find the right code to insert.
    can someone help me?
    thanks
    ruggero

    http://wordpress.org/extend/plugins/woocommerce/

  2. ss_aussie
    Member
    Posted 7 months ago #

    Hello,

    I have found your questions in various places because I am looking for a solution for exactly the same thing!

    Just wondered if you had found a solution for adding and displaying a custom field for each variation?

    I have used that gist code also, it displayed the field, but it didn't actually save my data as far as I could tell.

    If you had a solution, would you mind sharing it with me?

    Thanks, Sam

  3. coquin
    Member
    Posted 7 months ago #

    hi Sam,
    I could not find any solution, despite any efforts also with alternative solutions.
    This difficulty, together with several others and the philosophy itself of the platform, led me to abandon WordPress (it was my first site in wordpress) and go back to my beloved Joomla: I made the site from scratch and could obtain all I wanted (the last version 3.2 is great).
    Sorry Sam, I cannot help you.
    All the best
    ruggero

  4. ss_aussie
    Member
    Posted 7 months ago #

    Thanks so much for replying! It's a shame there is no solution - I thought this would be something useful to many.

    Oh well, back to the drawing board. I might take a look at Joomla too :)

    Thanks again.
    Sam

  5. ss_aussie
    Member
    Posted 7 months ago #

    Hi again ruggero,

    I just thought I would post here that I have found a solution to the problem (in case you wanted to give it another try).

    There is a tutorial on how to do it - Derek at Designloud helped me with the problem

    Hope this helps someone. :)

  6. coquin
    Member
    Posted 7 months ago #

    hi Sam
    thanks indeed for telling me about the solution you found, but I don't think I'll use wordpress again in the next future: anyway I downloaded and archived the tutorial.. you never know!
    all the best, Sam
    ruggero

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic