[Support request] How to change product labels on cart page, how to do it

Home Forums Support [Support request] How to change product labels on cart page, how to do it

Home Forums Support How to change product labels on cart page, how to do it

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2367490
    xinghui

    I want to change the product label of the cart page, how to do it?
    This is my image url:https://i.postimg.cc/7hLG3JhD/Change-this-Label.jpg

    #2367636
    David
    Staff
    Customer Support

    Hi there,

    those labels are hardcoded in the woo templates.
    you would need to make a copy of the cart.php in your child theme to make those edits.
    Template you need is found here:

    https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/templates/cart/cart.php

    #2367663
    xinghui

    Thanks David, I now have GeneratePress Pro’s theme and GenerateBlocks editor installed, but I don’t know if there are sub-themes installed, I have the following questions:

    1. How to determine if I have installed sub-themes?

    2. Also, if I need to install a sub-theme is it a sub-theme that installs GeneratePress?

    3. If I install a child theme now, will it affect my website? Will my previous modifications to my website be overwritten by child themes?
    Thanks for your Reply!

    #2367717
    David
    Staff
    Customer Support

    Go to Appearance > Themes.
    If your Active theme is GeneratePress then you do NOT have a child theme installed.
    And you will need to install one.

    This doc explains how to install it, includes a link to a blank child theme, and a list of fixes you will need to make after installing it:

    https://docs.generatepress.com/article/using-child-theme/

    #2367746
    xinghui

    hi David,thank your reply,i install the child theme,but,The code content of the addtional css is invalid after installing the sub-theme, how to fix it

    #2368363
    Fernando
    Customer Support

    Hi Xinghui,

    You’ll need to manually copy any paste the contents of the Additional CSS in the Parent theme to the Child theme.

    Temporarily activate the Parent GeneratePress theme. Then, copy your additional CSS in the customizer. Then, activate the Child theme again, and paste the CSS in the Additional CSS.

    #2368703
    xinghui

    thank you Fernando,i already solved

    #2369312
    Fernando
    Customer Support

    You’re welcome Xinghui!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.