Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1134471
    Integratutions
    Participant

    Dear Sir/Mdm,

    Would like to change the word Product to Car as per screenshot.

    Thank you 🙂

    #1134661
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1136299
    Integratutions
    Participant
    This reply has been marked as private.
    #1136433
    Lely
    Moderator

    Hi There,

    Thank you for the credentials.

    For Product Description:
    Please copy this file description.php from this folder \wp-content\plugins\woocommerce\templates\single-product\tabs to this folder on your child theme: \wp-content\themes\x-child\woocommerce\single-product\tabs

    Open the copied file from your child theme. Look for this line of code on line 25:

    $heading = esc_html( apply_filters( 'woocommerce_product_description_heading', __( 'Product Description', 'woocommerce' ) ) );
    

    Update to this:

    $heading = esc_html( apply_filters( 'woocommerce_product_description_heading', __( 'Car Description', 'woocommerce' ) ) );
    

    For Related Products
    Please copy this file related.php from this folder \wp-content\themes\x\woocommerce\single-product\ to the same folder on your child theme: \wp-content\themes\x-child\woocommerce\single-product

    Open the copied file from your child theme. Look for this line of code on line 40:
    <h2><?php _e( 'Related Products', '__x__' ); ?></h2>
    Update that line to this:
    <h2><?php _e( 'Related Cars', '__x__' ); ?></h2>

    Hope this helps.

    #1137113
    Integratutions
    Participant

    Hello!

    It’s working now but my Related Cars section now has some issues. Previously this section fits 4 columns of related cars in a row. Now it’s expanded and too big for my liking. How do I change it back to 4 columns per row?

    Thank you!

    http://perfectweddingcars.sg/cars/black-audi-a4/

    #1137241
    Rupok
    Member

    Hi there,

    You can add this under Custom > CSS in the Customizer.

    @media only screen and (min-width: 980px) {
    .related.products .products .product {
      float: left;
      margin-right: 5%;
      width: 30%;
    }
    
    .related.products .products .product:last-child {
      margin-right: 0;
    }
    }

    Hope this helps.

    #1139120
    Integratutions
    Participant

    Great! it’s working now 🙂

    #1139133
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1134471 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>