We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 06.05.18, 22:10
  • Reason: No answer from a customer

Ticket #12042 - How to add "From" in the product list


I need to add “from” in the product list for product with combinations. I know what I need to add in the code but I don’t know which TPL I need to change ?

I need to find that line

<span itemprop="price" class="price product-price">


This ticket does not depend on any other tickets.

Marek (marek) 12 Apr 2018, 13:12

Hi, Clara.
Do you mean this page? https://theartdealer.co/en/14-paintings

Marek (marek) 12 Apr 2018, 13:39

you have to edit file /themes/alysum/templates/catalog/_partials/miniatures/mini-product.tpl

Clara Cohen (Clarartdealer) 12 Apr 2018, 13:50

Thank you but I dont find the line

{/if} <span itemprop="price" class="price">{$product.price}</span>

I know I have to add this

{if $product.id_product_attribute != 0}{l s='A partir de'} {/if} 

but in the mini-product there is no the line I am looking for.

Marek (marek) 12 Apr 2018, 13:54

The line number is 129

Marek (marek) 12 Apr 2018, 13:54

sorry the file is /themes/alysum/templates/catalog/_partials/miniatures/product.tpl

Clara Cohen (Clarartdealer) 12 Apr 2018, 16:12

This does not work. All the prices disappeared !

It should be in a product-list file no ?

I'm using Prestashop

Capture d’écran 2018-04-12 a... (671.3 KiB)
Marek (marek) 13 Apr 2018, 10:47

I just did it for you. Please check it out

Marek (marek) 13 Apr 2018, 11:04

I see it like this http://take.ms/XJzuZ