1

Hi I am using woocommerce with Mystile Theme for a book store. How Can I add author taxonomy for a product?

I need to set an author for every book I am selling and possibly to search trough, author, categories, product names and tags.

closed as off-topic by fuxia Apr 17 '14 at 19:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1

In the Edit Product screen, under the Custom Fields heading, create a new field, for example product_author. Then you need to edit your template file where you want to display the field, probably content-product.php, and call it this way:

<?php echo get_post_meta($post->ID, 'product_author', TRUE); ?>

Not the answer you're looking for? Browse other questions tagged or ask your own question.