nexxuseis Posted January 28, 2019 Share Posted January 28, 2019 (edited) Buenas... Prestashop 1.7.4.4 No muestra el texto "sin stock" o "agotado" en la lista de productos, solo lo muestra al ingresar a cada producto. ¿Alguien sabe que debería tocar en el código? Saludos, Edited January 28, 2019 by nexxuseis (see edit history) Link to comment Share on other sites More sharing options...
nexxuseis Posted January 28, 2019 Author Share Posted January 28, 2019 (edited) Ya lo solucioné... Agregue este código a /themes/MiTema/templates/catalog/_partials/miniatures/product.tpl <div class="product-detail-wrap"> {block name='product_availability'} <span id="product-availability"> {if $product.show_availability && $product.availability_message} <span class="{if $product.availability == 'available'}product-available{elseif $product.availability == 'last_remaining_items'}product-last-items{else}product-unavailable{/if}"> {if $product.availability == 'available'}<i class="fa fa-check"></i>{/if}<span>{$product.availability_message}</span> </span> {/if} </span> {/block} </div> Edited January 28, 2019 by nexxuseis (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now