New Landing How can we help? Themeforest Theme Support Neighborhood How I can change the Add to Shopping Bag label

Viewing 15 posts - 1 through 15 (of 17 total)
  • #54900
    mariospavlou
    Member
    Post count: 22

    How I can change the Add to Shopping Bag label ?

    #54916
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    On the single product page or the thumbnail hover on the shop page?

    – Kyle

    #54925
    mariospavlou
    Member
    Post count: 22

    Hi kyle,

    On the thumbnail hover

    Thanks

    #54933
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi, please add this custom css:

    .shop-actions {
      display: none;
    }

    Then you will want to follow the steps here: http://support.swiftideas.net/knowledgebase/how-to-fix-second-image-from-showing-after-removing-shop-actions/

    Hope this helps!

    – Kyle

    #54935
    mariospavlou
    Member
    Post count: 22

    I want to change the text of the label to “Add to Bag”, I don;t want to remove it !

    thanks

    #54944
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry

    In neighborhood/woocommerce/loop/add-to-cart.php edit line 48:

    $link['label'] = '<i class="icon-plus"></i>' . apply_filters( 'add_to_cart_text', __( 'Add to shopping bag', 'swiftframework' ) );

    Hope this helps

    – Kyle

    #54948
    mariospavlou
    Member
    Post count: 22

    That did the trick !!

    thanks

    #54950
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! No problem

    #54953
    mariospavlou
    Member
    Post count: 22
    #54961
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok will do

    #55757
    MHC
    Member
    Post count: 247

    Sorry, but where can I find neighborhood/woocommerce/loop/add-to-cart.php?

    Thanks!

    #55849
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    That’s the path. In you FTP, or cPanel go to your website folder and then follow:

    wp-content/themes/neighborhood/woocommerce/loop/add-to-cart.php

    – Kyle

    #57869
    MHC
    Member
    Post count: 247

    Thanks! I went to cPanel/file manager/Web Root (public_html/www), used Code Editor to edit wp-content/themes/neighborhood/woocommerce/loop/add-to-cart.php, and then saved changes. However my website is not reflected with the changes. Is there any step I am missing?

    Thanks so much!

    #57870
    MHC
    Member
    Post count: 247

    Sorry I wanted to edit the single product page, not the thumbnail hover on the shop page. Should I edit other line rather then line 48 in neighborhood/woocommerce/loop/add-to-cart.php?

    Best,

    #57957
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Yes

    – Kyle

Viewing 15 posts - 1 through 15 (of 17 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