New Landing How can we help? Themeforest Theme Support Neighborhood Product page – product name next to price?

Viewing 14 posts - 1 through 14 (of 14 total)
  • #142202
    fixers
    Member
    Post count: 253

    Hi There

    It looks a bit odd on a product page only having the price at the top, is it possible to add the product name next to this?

    Had this feedback from quite a few people..

    Many thanks

    #142326
    fixers
    Member
    Post count: 253

    Hello?

    #142328
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Don’t you can have in the headline like in our demo?

    https://www.dropbox.com/s/rst5wmdd2rupyjl/product_detail_page.png?dl=0

    -Rui

    #142331
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    For that you need to edit this code: \themes\neighborhood\woocommerce\content-single-product.php on line #56

    Let us know,

    Thanks,
    laranz.

    #142987
    fixers
    Member
    Post count: 253

    Hi

    The headline doesn’t really work for us as we feel its too large and takes up too much space on the page.

    Could anyone point us in the right direction on how to edit the code below as laranz suggests?

    \themes\neighborhood\woocommerce\content-single-product.php on line #56

    #143022
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You can replace line 56 by this one below:

    <p itemprop="price" class="price"><?php echo $product->get_price_html(); ?> - <?php echo the_title(); ?></p>

    Let us know the result.

    -Rui

    #143057
    fixers
    Member
    Post count: 253

    Should i download this file, edit it and upload to my child theme to prevent any changes in future ? If so where is best to upload this to in the child theme?

    #143105
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Yes, it’s better since you are using a child theme.

    Copy the original neighborhood\woocommerce\content-single-product.php to the same structure in the child theme.
    neighborhood-child\woocommerce\content-single-product.php

    then make the suggested change.

    -Rui

    #143178
    fixers
    Member
    Post count: 253

    Thats worked brilliantly, thanks very much for that!! Really appreciated.

    #143181
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Great. No problem, glad we could help.
    -Rui

    #143256
    fixers
    Member
    Post count: 253

    Hi Rui

    On second thoughts – is it at all possible to put the product title in front of the price instead of after the price?

    #143303
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Use this instead:

    <p itemprop="price" class="price"><?php echo the_title(); ?> - <?php echo $product->get_price_html(); ?></p>

    – Kyle

    #143392
    fixers
    Member
    Post count: 253

    Perfect, job done. Thanks guys

    #143394
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register