Single Product page - by jeffunik72 - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 10 years, 9 months ago ago by Eva Kemp

  • Avatar: jeffunik72
    jeffunik72
    Participant
    March 15, 2015 at 19:08

    Im am trying to figure out how to customize this page layout…

    for now the basic thing I want to do is add a place where either in product description or somewhere else the logo of the brand that the product is associated with through the Woocommerce Brands plugin (not the brands addon you guys provide) all my products have their brand associated to the them and I want my customers to see the logo of the brand and not just the name…

    also if it would be possible to have that logo show in the product title on my previous site with my old theme I had to code them into each title but I dont want to have to do that…

    thanks,
    Jeff

    6 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    March 16, 2015 at 10:38

    Hello,

    Sorry, but in this case you have to edit php files as there is no such options in our theme.

    Regards,
    Eva Kemp.

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 16, 2015 at 19:23

    Ok thank you

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    March 16, 2015 at 22:14

    Hello,

    Did you check spam folder in your email account?

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 17, 2015 at 20:03

    yes I have…

    Here is the code that woocommerce gives as a function…

    and ive been trying to get it to show up on the single products page

    just under product description

    some how im doing something wrong because its not working

    code: get_brand_thumbnail_url( $brand_id )

    and in the editor function of wordpress im editing the template content-single-product.php

    any help would be appreciated

    Avatar: jeffunik72
    jeffunik72
    Participant
    March 18, 2015 at 00:29

    Figured it out… I was using the wrong woocommerce brands shortcode the whole time instead of

    get_brand_thumbnail_url( $brand_id )

    it should of been

    echo do_shortcode(‘[product_brand width="64px" height="64px" class="alignright"]‘);

    and then just add the php tags to them

    <?php echo do_shortcode(‘[product_brand width="64px" height="64px" class="alignright"]‘); ?>

    and I put this in the content-single-product.php

    right after the divs for the product description…

    Glad I figured this one on my own.

    Just a bummer that Royal theme uses its own brands category.. for those who dont own the woocommerce plugin its a great feature to have but like myself who does own the plugin in, well it causes alot of issues because the theme doesnt naturally pick them up…

    Avatar: Eva
    Eva Kemp
    Participant
    March 18, 2015 at 14:02

    Hello,

    We’re glad you’ve found the solution.
    Enjoy your work.

    Regards,
    Eva Kemp.

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

The issue related to '‘Single Product page’' has been successfully resolved, and the topic is now closed for further responses

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