Post by Pamella » Sun May 23, 2021 5:53 am

Seen the following strange markup in customer account transaction (table) template file (3.0.3.7)

catalog/view/theme/default/template/account/transaction.twig

Code: Select all

          <thead>
            <tr>
              <td class="text-left">{{ column_date_added }}</td>
              <td class="text-left">{{ column_description }}</td>
              <td class="text-right">{{ column_amount }}</td>
            </tr>
          </thead>
Then it should be "colspan=3" isn't ?

Code: Select all

          <tr>
            <td class="text-center" colspan="5">{{ text_empty }}</td>
          </tr>
Not HTML expert ;) but... voila
Last edited by Pamella on Wed May 26, 2021 5:30 am, edited 1 time in total.

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by by mona » Sun May 23, 2021 6:34 am

It has been like that forever I think.
In theory you are correct, but it makes no difference - you can change it to 255 - you just can’t change it to 2. It is “stuck” within a row - it does not work the same as css / bootstrap - it is very old html - very useful thou

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 Pamella » Wed May 26, 2021 5:30 am

Ok...

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am
Who is online

Users browsing this forum: No registered users and 176 guests