New Landing How can we help? Themeforest Theme Support Neighborhood Change of text on cart contents dropdown in header

Viewing 2 posts - 1 through 2 (of 2 total)
  • #95686
    Nickylew
    Member
    Post count: 35

    Hi there,

    Another little issue is wanting to change the text of the drop down from the cart contents. Screenshot attached. I have managed to change all the other text for this, but cannot seem to change the ‘0 items in the shopping bag’ text. I have tried overriding this in the child theme file (where I have made other amends that also didn’t seem to work) and tried changing it in another plugin called ‘Say What?’ to change text within the theme. This is the method in which I have changed the text in the other sections of the drop down for the cart. But not managed to change the ‘0 items in the shopping bag’ text.

    Any ideas how I can change this text please?

    Attachments:
    You must be logged in to view attached files.
    #95776
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You can edit neighborhood/includes/swift-framework/sf-woocommerce.php:

      132  							<?php if ( sizeof($woocommerce->cart->cart_contents)>0 ) { ?>
      133  					
      134: 								<div class="bag-header"><?php echo $cart_count_text; ?> <?php _e('in the shopping bag', 'swiftframework'); ?></div>
      135  								
      136  								<div class="bag-contents">

    You can edit the ‘in the shopping bag’ text

    – Kyle

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