New Landing How can we help? Themeforest Theme Support Neighborhood Modifactions on product page

Viewing 15 posts - 1 through 15 (of 24 total)
  • #308060
    janheege
    Member
    Post count: 148

    Hi,

    How can I change Text above the add to chart button?

    How can I delete “Beschreibung” on the right side of the product carousel?

    Regards

    Attachments:
    You must be logged in to view attached files.
    #308093
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You need to go to the translation files and change it to the desired text.

    Regarding the product description accordion, add the code below to the functions.php of your child theme.

    add_filter( 'woocommerce_product_tabs', 'sf_woo_remove_product_tabs', 98 );
    
    function sf_woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['description'] );      	// Remove the description tab
    
        return $tabs;
    
    }

    -Rui

    #308097
    janheege
    Member
    Post count: 148

    Hi,

    Where can I find this files? Please, name me the name.

    It doesn’t work Description is still there and it cause another problem on the mobile side, see sceenshot below.

    Attachments:
    You must be logged in to view attached files.
    #308099
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Guess you made something wrong with the code, can you take a screenshot of the place where you add it?

    Regarding the translation, check this documentation. You will have .po file in your language de_DE I guess
    http://neighborhood.swiftideas.com/documentation/#translation

    -Rui

    #308101
    janheege
    Member
    Post count: 148

    Hi,

    Here is my css:

    <?php
    add_filter( ‘gettext’, ‘sf_string_translate’, 20, 3 );
    function sf_string_translate( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
    case ‘Add to Shopping Bag’ :
    $translated_text = __( ‘In den Warenkorb hinzufügen’, $domain ); //just change it.
    break;
    }
    return $translated_text;
    }
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );

    }
    load_theme_textdomain( ‘swiftframework’, get_stylesheet_directory() . ‘/language’ );
    function sf_child_theme_locale() {
    //echo get_stylesheet_directory() . ‘/language’ ;exit;
    //load_theme_textdomain( ‘swiftframework’, get_stylesheet_directory() . ‘/language’ );
    load_child_theme_textdomain( ‘swiftframework’, get_stylesheet_directory() . ‘/language’ );
    }
    //add_action( ‘init’, ‘sf_child_theme_locale’ );
    ?>

    #308199
    David Martin – Support
    Moderator
    Post count: 20834

    That is PHP not CSS, it needs to go within the child theme functions.php file.

    #308216
    janheege
    Member
    Post count: 148

    Hi,

    Whats wrong here. Take a look at my sceenshot.. How is it correct?

    Attachments:
    You must be logged in to view attached files.
    #308227
    David Martin – Support
    Moderator
    Post count: 20834

    Please avoid duplicate posts: http://www.swiftideas.com/forums/topic/how-can-i-change-the-link-of-the-continue-shopping-field/

    Let’s keep this in the other thread as I have asked you for your FTP details.

    #308286
    janheege
    Member
    Post count: 148

    Hi,

    Please check my css code:

    <?php
    add_filter( ‘gettext’, ‘sf_string_translate’, 20, 3 );
    function sf_string_translate( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
    case ‘Add to Shopping Bag’ :
    $translated_text = __( ‘In den Warenkorb hinzufügen’, $domain ); //just change it.
    break;
    }
    return $translated_text;
    }
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );

    }
    load_theme_textdomain( ‘swiftframework’, get_stylesheet_directory() . ‘/language’ );
    function sf_child_theme_locale() {
    //echo get_stylesheet_directory() . ‘/language’ ;exit;
    //load_theme_textdomain( ‘swiftframework’, get_stylesheet_directory() . ‘/language’ );
    load_child_theme_textdomain( ‘swiftframework’, get_stylesheet_directory() . ‘/language’ );
    }
    //add_action( ‘init’, ‘sf_child_theme_locale’ );
    ?>

    I want to change three things:

    1. Delete Product Describtion on the product site
    2. Change text below the price sign and reviews
    3. Change link behind the “countinue shopping“ button in the cart

    You have all sceenshots in this chat, please take a look at it.

    I need a functional code for all changes above

    #308319
    David Martin – Support
    Moderator
    Post count: 20834

    I have updated your other thread. Stop double posting please.

    #308510
    janheege
    Member
    Post count: 148

    Hi David Martin,

    Please, show me where.. Have I overlooked something?

    If not please tell me how to change all things above.

    thanks

    #308570
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    #308815
    janheege
    Member
    Post count: 148
    This reply has been marked as private.
    #308819
    David Martin – Support
    Moderator
    Post count: 20834

    What are you looking to change?

    #308820
    janheege
    Member
    Post count: 148
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 24 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