Home Forums Basel support forum Product Detail Page

Product Detail Page

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #27000

    luvalo
    Participant

    Hi,
    I have a problem editing the product details page
    # issues 1: I describe it here: https://www.screencast.com/t/bZU2UqBf3sg
    # issues 2: I want to config Related products show product grid normal type, show all product related ( No Carousel )
    Thank you for advanced!

    #27007

    Artem Temos
    Keymaster

    Hi,

    1. Product page sidebar can be enabled in Theme Settings -> Product page. You will need to add your widgets there via Appearance -> Widgets.

    You can add the following code snippet to the functions.php file in the child theme to display custom text after the add to cart button

    add_action( 'woocommerce_single_product_summary', 'my_text', 32 );
     
    function my_text() {
        echo '<p class="after-add-to-cart">My custom HTML and text</p>';
    }

    2. Sorry, but you can’t change related products carousel to the grid.

    Regards

    #27051

    luvalo
    Participant

    I feel disappointed for the issues 2, you should improve it in the future.
    So Up-sells, I want it to display grid ( No Carousel ), That is possible?

    #27058

    Artem Temos
    Keymaster

    OK, we will consider adding more options for this in the future. Unfortunately, it works with carousels only at the moment.

    #27094

    luvalo
    Participant

    So, how to enable or disable “Additional information” tab in product detail page?

    #27096

    Artem Temos
    Keymaster

    Hi,

    Here is an article from WooCommerce documentation that should help you edit/remove tabs on the product page https://docs.woocommerce.com/document/editing-product-data-tabs/

    Regards

    #27106

    luvalo
    Participant

    Thanks for the answer!
    Other questions, how to create table content in product description tab?
    Thanks

    #27114

    Artem Temos
    Keymaster

    You can use standard HTML table markup for this task. Here you can find an example of such table https://www.w3schools.com/html/html_tables.asp

    Regards

    #27117

    luvalo
    Participant

    My text block element visual composer don’t show table editor, see it: https://www.screencast.com/t/fWOJzvHaoyiI
    how to fix

    #27122

    Artem Temos
    Keymaster

    But WordPress doesn’t have table editor at all so there is no fix for that.

    #27124

    luvalo
    Participant

    I just want to create a table like on your template https://www.screencast.com/t/EuYKcpz8GRW

    #27127

    Artem Temos
    Keymaster

    You can use this HTML table code

    <table>
       <tbody>
          <tr>
             <th>SIZE</th>
             <th>CHEST</th>
             <th>WAIST</th>
             <th>HIPS</th>
             <th>HEIGHT</th>
             <th>AGE</th>
          </tr>
          <tr>
             <td><strong>S</strong></td>
             <td>6–7</td>
             <td>64.5–66</td>
             <td>59.5–61.5</td>
             <td>68.5–71</td>
             <td>122–128</td>
          </tr>
          <tr>
             <td><strong>M</strong></td>
             <td>8–9</td>
             <td>66–69</td>
             <td>61.5–65</td>
             <td>71–74.5</td>
             <td>128–137</td>
          </tr>
          <tr>
             <td><strong>L</strong></td>
             <td>10–12</td>
             <td>69–75</td>
             <td>65–69</td>
             <td>74.5–79.5</td>
             <td>137–147</td>
          </tr>
          <tr>
             <td><strong>XL</strong></td>
             <td>14–16</td>
             <td>75–81.5</td>
             <td>69–72.5</td>
             <td>79.5–84.5</td>
             <td>147–158</td>
          </tr>
       </tbody>
    </table>
Viewing 12 posts - 1 through 12 (of 12 total)