Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Modifactions on product page
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Modifactions on product page
- This topic has 23 replies, 3 voices, and was last updated 7 years by David Martin – Support.
-
Posted in: Neighborhood
-
December 26, 2016 at 8:39 pm #308060
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.December 27, 2016 at 1:33 pm #308093Hi,
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
December 27, 2016 at 3:01 pm #308097Hi,
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.December 27, 2016 at 3:20 pm #308099Guess 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
December 27, 2016 at 3:39 pm #308101Hi,
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’ );
?>December 28, 2016 at 2:00 pm #308199That is PHP not CSS, it needs to go within the child theme
functions.php
file.December 28, 2016 at 3:31 pm #308216Hi,
Whats wrong here. Take a look at my sceenshot.. How is it correct?
Attachments:
You must be logged in to view attached files.December 28, 2016 at 3:59 pm #308227Please 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.
December 28, 2016 at 11:12 pm #308286Hi,
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 cartYou have all sceenshots in this chat, please take a look at it.
I need a functional code for all changes above
December 29, 2016 at 11:07 am #308319I have updated your other thread. Stop double posting please.
January 1, 2017 at 3:16 pm #308510Hi David Martin,
Please, show me where.. Have I overlooked something?
If not please tell me how to change all things above.
thanks
January 2, 2017 at 7:45 pm #308570It’s in this topic.
http://www.swiftideas.com/forums/topic/how-can-i-change-the-link-of-the-continue-shopping-field/-Rui
January 4, 2017 at 1:50 pm #308815This reply has been marked as private.January 4, 2017 at 1:52 pm #308819What are you looking to change?
January 4, 2017 at 2:07 pm #308820This reply has been marked as private. -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.