Need to add Publication and Author name with Product

This topic has 6 replies, 3 voices, and was last updated 2 years, 4 months ago ago by Olga Barlow

  • Avatar: DS
    DS
    Participant
    December 5, 2021 at 09:26

    Setting up a book store with Xstore theme. Need to add Publication and Author name in products. How can I add those 2 things?

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 5, 2021 at 13:37

    Hello,

    Thanks for using our theme.
    You can write author name in the Short product description. Or contact the support of WooCommerce plugin to get advice.

    Regards

    Avatar: DS
    DS
    Participant
    December 5, 2021 at 13:56

    Thanks for the reply.

    Can you help me showing up a custom taxonomy in the single product page?
    I’ve added a custom taxonomy (Book Author) like “Brands” but unable to show up in the single product page. Can you help me with that?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 6, 2021 at 11:02

    Hello,

    You can use hooks to display custom information.
    Where exactly do you want to show the custom taxonomy? We’ll send you what hooks to use.

    Regards

    Avatar: DS
    DS
    Participant
    December 8, 2021 at 06:32

    Thanks for the reply

    Want to visible in single product page before the short description.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 8, 2021 at 11:20

    Hello,

    You can use etheme_woocommerce_template_single_excerpt hook it as you do with default WooCommerce hooks. Add code to your child-theme/functions.php
    Example:


    add_action('etheme_woocommerce_template_single_excerpt', function() {
    
//custom code to display custom taxonomy
    }
    );

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.