Home Forums WoodMart support forum Single product Additional Information

Single product Additional Information

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #595586

    av_admin_1984
    Participant

    Hi

    I have this code to change the title of Additional Information to what I need, it is working well with the defult setting of woodmart, but if I use Layout for a single product from Elementor, it won’t work

    // Dynamic Additional Information
    add_filter( 'woocommerce_product_additional_information_heading', 'custom_additional_information_heading' );
    function custom_additional_information_heading() {
        global $product;
        $product_title = $product->get_title();
        $custom_text = 'Technical specifications ' . $product_title;
        return $custom_text;
    }

    Do you have any action to take to work in Elemntor?

    Thanks

    #595587

    av_admin_1984
    Participant

    I also want to put that in the H3 tag, at moment right now it is on the H4 tag and elementor won’t allow me to change it

    #595837

    av_admin_1984
    Participant

    Nothing?

    #596078

    Luke Nielsen
    Keymaster

    Hello,

    Sorry for the delay.

    Use the code provided in the article below, that code works well on my side even with Layouts: https://take.ms/Fxdvv

    https://rudrastyh.com/woocommerce/rename-product-tabs-and-heading.html

    Kind Regards

    #596277

    av_admin_1984
    Participant

    Hello

    Yes! All those code works well only when the single product layout is off

    I want to use here in the image I attached

    How to put product title + Technical specifications

    Attachments:
    You must be logged in to view attached files.
    #596479

    Luke Nielsen
    Keymaster

    Hello,

    1. Send me access to the site and the URL link to that layout so I can check its structure.

    2. There can be only the title, there is no way to define some additional features in the simple title field.

    Kind Regards

    #596507

    av_admin_1984
    Participant

    Hello

    Please don’t share anything here, just put a video or image in a wordpress gallery

    2. There can be only the title, there is no way to define some additional features in the simple title field.

    We have to find a way for this

    Thanks

    #596644

    Luke Nielsen
    Keymaster

    Hello,

    I see that you use a tab as a separate element, to make that custom codes work, you need to use the “Products Tab” element – https://take.ms/7Kycp

    Kind Regards

    #596718

    av_admin_1984
    Participant

    Hello Luke Nielsen
    Please do me a favor
    You have access to the host and site.
    Please create the product page with the code you shared before and put it on the “Products Tab”
    I don’t know how to do that
    Thanks

    #596799

    av_admin_1984
    Participant

    “Products Tab” will not show the Attributes of products!
    it shows the product card and I don’t need that

    #596925

    Luke Nielsen
    Keymaster

    Hello,

    I have defined the “Product tabs” element below the “Product additional information table” element in Layouts, and now you can see that the custom code from the above article works. Now the “Additional information” tab has changed in the product page using Layouts (Screenshot in your Media library).

    Kind Regards

    #597097

    av_admin_1984
    Participant

    Hello
    thank you for adding that but it seems you don’t get it

    look at the image:
    I want to replace the “Additional information” with a fixed title + product title
    https://woodmart.xtemos.com/megamarket/product/black-porcelain-tile/
    like this:
    Tecknical information of Black Porcelain Tile

    Attachments:
    You must be logged in to view attached files.
    #597662

    Luke Nielsen
    Keymaster

    Hello,

    Okay, understood. Unfortunately, it requires complicated customization to make it work, which is out of our basic support, sorry.

    Kind Regards

    #597904

    av_admin_1984
    Participant

    Hi
    I did it
    Thanks

    #597922

    Luke Nielsen
    Keymaster

    Hello,

    Always remember that you can reach out to us with any questions you may have.

    Have a good day!

    Kind Regards

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

The topic ‘Single product Additional Information’ is closed to new replies.