Show product name above the price and keep it in banner with breadcrumbs too

This topic has 8 replies, 2 voices, and was last updated 7 years, 2 months ago ago by 8theme

  • Avatar: shibbytude
    shibbytude
    Participant
    January 6, 2017 at 10:18

    Hi!

    Great theme and easy to use.

    Quick one, on the product pages, i would like it so it says the Product Name above the price instead of the PRODUCT INFORMATION title, which i have done by turning the option on.

    But when I do this, the bigger Product name dissappears from the breadcrumb section on the page.

    Is there a way so i can have the product name showing in both places?

    Thanks for help!

    Scott

    7 Answers
    Avatar: 8theme
    8theme
    Support staff
    January 6, 2017 at 11:24

    Hello,

    Try to disable this option and then change the code in the xstore/woocommerce/single-product-content.php file

                <?php if(!etheme_get_option('product_name_signle')):  ?>
                    <h4 class="title"><?php esc_html_e('Product Information', 'xstore'); ?></h4>
                <?php endif; ?>

    to this one

    <h4 class="title"><?php esc_html_e('Product Information', 'xstore'); ?></h4>

    Regards

    Avatar: shibbytude
    shibbytude
    Participant
    January 6, 2017 at 11:44

    Hi Serg

    Thanks for your quick reply.

    I have tried this and sadly it hasn’t worked, the Product Information title has disappeared but the Product title hasn’t appeared?

    Thanks for help!

    Scott

    Avatar: 8theme
    8theme
    Support staff
    January 6, 2017 at 11:52

    Sorry, our mistake. Roll back these code and try to simply put this custom CSS snippet

    .hide-product-name .product_title {
      display: none;
    }
    Avatar: shibbytude
    shibbytude
    Participant
    January 6, 2017 at 12:04

    Hi!

    No worries 🙂

    Thanks again for help! much appreciated.

    Sadly this hasnt worked either.

    See image below, this is what i would like it to do, so the Product title appears in two places rather that just one.

    Hope this makes sense.

    Product Title in Breadcrumbs and Above Description

    Avatar: 8theme
    8theme
    Support staff
    January 6, 2017 at 13:33

    Hm.. are you able to share your product page link so we could check ourselves?

    Thank you

    Avatar: shibbytude
    shibbytude
    Participant
    January 6, 2017 at 14:26

    Hi!

    Managed to do with your help in code before, just amended it a bit and works perfect now 🙂

    I did this:

     <p class="product-title">
                    <h4><strong><?php the_title(); ?></strong></h4>
                </p>

    Thanks very much for all your help! was very speedy!

    Scott

    Avatar: 8theme
    8theme
    Support staff
    January 6, 2017 at 14:53

    Yes, nice solution also! Contact us if you will have any additional help.

  • Viewing 8 results - 1 through 8 (of 8 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.