Jump to content

Backoffice - Price EXCL. Tax


Recommended Posts

  • 1 year later...
On 1/8/2019 at 8:04 PM, Crezzur said:

Works with: Prestashop 1.7+ (tested up to 1.7.5.5)


Navigate to: yousite/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/products_table.html.twig
Find:


          <th scope="col" class="text-center" style="width: 9%">
            {{ ps.sortable_column_header("Price (tax excl.)"|trans({}, 'Admin.Catalog.Feature'), 'price', orderBy, sortOrder) }}
          </th>

Add below:


          <th scope="col" class="text-center" style="width: 9%">
            {{ ps.sortable_column_header("Final price"|trans({}, 'Admin.Catalog.Feature'), 'price_final', orderBy, sortOrder) }}
          </th>

Navigate to: yoursite/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/list.html.twig
Find:


        <td class="text-center">
            <a href="{{ product.url|default('') }}#tab-step2">{{ product.price|default('N/A'|trans({}, 'Admin.Global')) }}</a>
        </td>

Add below:


        <td class="text-center">
            <a href="{{ product.url|default('') }}#tab-step2">{{ product.price_final|default('N/A'|trans({}, 'Admin.Global')) }}</a>
        </td>

If you guys don't want to make the edits on your own, just copy the files i added to this post.
list.html.twig
products_table.html.twig

final.thumb.jpg.691b4e3ab98a3f8ff72f27969d7e5827.jpg

If this post helped you click the "Like" button to let others know this solution worked for you.

 

Hi Crezzur, there is anyway to add supplier or manufacturer in 1.7.5? Thanks for your help!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...