Post by LgJJ » Thu Jul 07, 2022 2:20 am

Hi. I would like to move the attributes to the end of the description on the product page instead of it being on a separate tab. Is this possible? I'm using version 3.0.3.8.

www.mosspetproducts.co.uk

New member

Posts

Joined
Thu Jun 30, 2022 6:09 pm

Post by by mona » Thu Jul 07, 2022 11:17 am

yes

catalog/view/theme/default/template/product/product.twig

Code: Select all

 {% if attribute_groups %}
            <div class="tab-pane" id="tab-specification">
              <table class="table table-bordered">
                {% for attribute_group in attribute_groups %}
                <thead>
                  <tr>
                    <td colspan="2"><strong>{{ attribute_group.name }}</strong></td>
                  </tr>
                </thead>
                <tbody>
                {% for attribute in attribute_group.attribute %}
                <tr>
                  <td>{{ attribute.name }}</td>
                  <td>{{ attribute.text }}</td>
                </tr>
                {% endfor %}
                  </tbody>
                {% endfor %}
              </table>
            </div>
            {% endif %}
move it to before say

Code: Select all

{{ content_bottom }}
or before the tags

Code: Select all

 {% if tags %}

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by LgJJ » Fri Jul 08, 2022 3:52 am

Ignore

New member

Posts

Joined
Thu Jun 30, 2022 6:09 pm
Who is online

Users browsing this forum: Bing [Bot], integraa and 266 guests