Legenda Underwear theme: How to edit the tabs on the single product page?

This topic has 6 replies, 3 voices, and was last updated 8 years, 2 months ago ago by Eva Kemp

  • Avatar: Pottypotsworth
    Pottypotsworth
    Participant
    September 13, 2016 at 12:05

    Hi there,

    I have managed to edit part of the single product page template, but now i am stuck as i cannot find the correct files to edit further, for reference this is a link to the screenshot of the page i am discussing

    What i wish to do is…

    1) Move the information in the [Product Description] tab into the main section of the product page.
    2) Move the Short Description into the old product description tab (unless someone can explain why there is a reason that these seem to be backwards?)
    3) Remove the [More Info] tab, and move the information above the Buy Now button.

    Basically, my trouble is that i cannot find out which template file generates the [Product description], [More Info], [Reviews] to edit them. Where are these generated?

    Secondary to that, i would like to add…
    1) Recently viewed products underneath the related products section.
    2) Understand how to edit the [Buy Now] button so that i can…
    a) Hard code the text that is displayed site wide for affiliate products.
    b) Hard code tracing variables to the affiliate link.

    I fully understand that for 2a) and 2b) i can edit the button name, and link for each product but this is time consuming and i wish to hard code it across the sitr.

    Any ideas or help would be appreciated, thanks.

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 13, 2016 at 13:50

    Hello,

    1. You can add full description content into the section for short description in a product editor.

    2. Just add short description to the section where your full description is shown.

    3. How to remove tabs is described in Woocommerce documentation https://docs.woocommerce.com/document/editing-product-data-tabs/

    1. I don’t see Recently viewed products on your single product page. Please show a direct page of it.

    2. This is Woocommerce button, not the theme’s. Refer to their documentation https://docs.woocommerce.com/document/change-add-to-cart-button-text/
    https://docs.woocommerce.com/document/set-a-custom-add-to-cart-url-to-redirect-to/

    Best regards,
    Jack Richardson.

    Avatar: Pottypotsworth
    Pottypotsworth
    Participant
    September 13, 2016 at 19:27

    Hi Jack,

    Thanks for the reply, a couple of things…

    1) https://docs.woocommerce.com/document/editing-product-data-tabs/ – Where is this code found? functions.php? Whilst I can disable certain tabs, it doesn’t tell me how i can extract the data INSIDE the tab and use it in the single product page. For instance I wish to move the product attributes found inside the [More Info] tab to the single product page, above the [Buy Now] button, the page you linked me to doesn’t seem to show me how to do that. I don’t want the tab at all, i just want the data inside of it in a different place.

    2) You don’t see recently viewed items on my screenshot because i am asking HOW to put it there? I wish to show recently viewed items under the related products, yet I do not have any idea how to do this.

    Thanks for the other info.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 14, 2016 at 08:31

    Hello,

    1. There is no option to move variations from More tab, you can create a table using html code and add it to short description section.

    2. Sorry, but there is no such option in the theme, you can try to use some Woocommerce extension.

    Best regards,
    Jack Richardson.

    Avatar: Pottypotsworth
    Pottypotsworth
    Participant
    September 19, 2016 at 23:34

    Hi Jack,

    Thanks again for your help, I have a slightly different question. I noticed that the theme doesn’t show the brand of the product on the product page, is there an easy way to add this? Perhaps some code in the single products.php page?

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    September 20, 2016 at 08:11

    Hello,

    You need select brand in product editor http://storage4.static.itmages.com/i/16/0920/h_1474355499_7336907_b64458e6c1.png

    Regards,
    Eva Kemp.

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

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

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