WordPress.org

Forums

Adding custom meta to the individual product page (4 posts)

  1. PI Comm
    Member
    Posted 1 year ago #

    Hi

    I have set up my WPeC site and have decided how to import my products.

    However, I can't get the custom meta (as shown on the general products page) to show on the individual product.

    Does anyone know how I can replicate the meta?

    Thanks

  2. PI Comm
    Member
    Posted 1 year ago #

    Perhaps code that can be put onto 'individual product' to show all meta relating to that product?

  3. viky081
    Member
    Posted 1 year ago #

    Hi there,
    For a Custom Post Type Meta are Stored in Post so you can get the meta value as with post id (as well as product id). You can check it out the documentation for wordpress post meta by this you can get some idea of how is to be

    http://codex.wordpress.org/Function_Reference/get_post_meta

    Hope it Helps :)

    Thanks,
    vicky

  4. PI Comm
    Member
    Posted 1 year ago #

    Thanks - didn't quite follow that page but managed to copy straight from the file and paste into individual product page file.

Topic Closed

This topic has been closed to new replies.

About this Topic