New Landing How can we help? Cardinal Related Products Text

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Cardinal
  • #131455
    alelordelo
    Member
    Post count: 155

    Hello,

    As you can see in the attached image, the “related product” text on my product page is written in English. I wanted to change the text, how do I do that?

    Besides that, I’d like it to show 4 other products, not only 3. Where do I change that too?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #131574
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    1. Did you try on the translation that everything is translated?
    2. Try this in the functions.php

    add_filter('loop_shop_columns', 'wc_product_columns_frontend');
    function wc_product_columns_frontend() {
    global $woocommerce;
     
    //Related Products
    if ( is_product() ) :
    $columns = 4;
    endif;
    
    return $columns;
    } 

    Didn’t tested, maybe it works.. If that didn’t try this.

    Try edit the column number in, \cardinal\woocommerce\single-product\related.php line #36

    $woocommerce_loop['columns'] = 3;

    to

    $woocommerce_loop['columns'] = 4;

    #131845
    alelordelo
    Member
    Post count: 155

    Hi,

    Could you be a bit more specific? I couldn’t understand where do I change these things.

    I went to the custom css (as you can see in the photo), but there’s no line 36. Neither those lines that are shown in the print screen you sent.

    Can you please sent a print screen showing where is this “\cardinal\woocommerce\single-product\related.php line #36”?
    And another showing where is the “functions.php”?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #131857
    alelordelo
    Member
    Post count: 155

    I tried again to find it, and I was able to get to the php files. But I still can’t find where should I change both things.

    Im sending you an image so you can see where I got, and help me from that point on, alright?

    Thanks! (:

    Attachments:
    You must be logged in to view attached files.
    #131925
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Install a plugin called “WPIde” open it after finishing install, and then navigate to themes/cardinal and you can find those files and try the edits I suggest.

    Let us know,

    Thanks,
    laranz.

    #132147
    alelordelo
    Member
    Post count: 155

    Hey

    I installed the plugin, but I don’t understand what it has to do with what you told me to do before.

    Where is this “themes/cardinal”? Could you sent me a print? I can’t find this option here.

    Thanks

    #132318
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    It should be like this, http://take.ms/kbZeV

    Let us know,

    Thanks,
    laranz.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register