AZADA_M Posted May 15, 2017 Share Posted May 15, 2017 witam jak zrobic by produkt niedostępny był "wygaszony"?? dokładnie chodzi mi o zdjęcie przykłąd na tej stronie http://www.goodies.pl/129-duze-sloje-classic moj sklep http://www.goodies.pl/129-duze-sloje-classic dzieki za pomoc Link to comment Share on other sites More sharing options...
vekia Posted May 15, 2017 Share Posted May 15, 2017 do klasy głównego obrazka produktu dodajemy warunek sprawdzający czy produkt jest dostępny czy nie, np: {if $product.quantity<=0}outofstock{/if} wtedy w stylach css tworzymy klasę: .outofstock { opacity:0.5 } cssy wstawiamy np. do global.css warunek sprawdzający do głównego <img> w product-list.tpl 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