Single Product Page Design - by Hawkk - on WordPress WooCommerce support

This topic has 9 replies, 2 voices, and was last updated 5 years, 5 months ago ago by Rose Tyler

  • Avatar: Hawkk
    Hawkk
    Participant
    November 14, 2018 at 13:04

    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”

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2018 at 14:01

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2018 at 14:05

    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

    Avatar: Hawkk
    Hawkk
    Participant
    November 14, 2018 at 15:03

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2018 at 15:07

    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

    Avatar: Hawkk
    Hawkk
    Participant
    November 14, 2018 at 16:16

    2. I still have the problem. I dont know why it wont show you the black borders.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2018 at 16:36

    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

    Avatar: Hawkk
    Hawkk
    Participant
    November 14, 2018 at 16:45

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2018 at 16:53

    Oh, I see. Please add this custom css code:

    .product-information-inner .woocommerce-de_price_taxrate {
        border: none !important;
    }

    Regards

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.