This topic has 9 replies, 2 voices, and was last updated 6 years ago ago by Rose Tyler
Hello,
Ive some problems on the single product page:
1. How to delete the Returns & Delivery tab? Ive deleted the reviews tab via the functions.php but I dont know the name of the Returns & Delivery tab.
2. In which .php data can I change the css classes of the single product page?
Because Ive some problems, for example the css class of the price show a border left and right and that should be only on /shop and on the startpage but not on the single product page.
Also the text of the button should be “IN DEN WARENKORB”, but when I change that, it will also change it on /shop, but there should be “ZUM PRODUKT”
Hello,
1) You can delete it in Dashboard > Theme Options > Single Product Page > Custom Tab Title and content for this tab.
2)
a) wp-content/themes/royal/woocommerce folder. Please provide screenshot for better understanding what exactly needs to be changed.
b) You can use this code in functions.php of child theme to change “Add to cart” text on Single product page:
/**
* Change the "Add to Cart" text on the single product page
*
* @return string
*/
function wc_custom_single_addtocart_text() {
return "Your text";
}
add_filter( 'woocommerce_product_single_add_to_cart_text', 'wc_custom_single_addtocart_text' );
Regards
2. a) I do not see the border on your site http://prntscr.com/li9d6u Have you sorted out?
We appreciate your desire to make some donation.
Our PayPal is pay@8theme.com.
Regards
Here shouldnt be the left & right borders of the price
but here it should be there
1. I deleted the custom tab, but its still there
1. Edit product > Additional product options [8theme] > http://prntscr.com/liacbs
2. http://prntscr.com/liacto Please recreate the problem so I can see it once open the page.
Regards
2. I still have the problem. I dont know why it wont show you the black borders.
2. Have you cleared cache? What browser do you use?
Please try to check the page in an incognito window or in another browser to be sure that the problem is not caused by cache.
Regards
Yeah Im using chrome. Problem still there, also with icognito or other browser..
I didnt change anything. The problem is, when I set the border 0px, it will also disappear on the /shop site, but on the shop site it should be there
Oh, I see. Please add this custom css code:
.product-information-inner .woocommerce-de_price_taxrate {
border: none !important;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up