ForrestJump Posted November 22, 2015 Share Posted November 22, 2015 Witam, czy jest możliwość ustawienia domyślnego tekstu dla dostępnych produktów? Czy trzeba ręcznie przy każym z produktów dopisywać "dostępny" w polu "Tekst gdy ilość<0. Dostępność "? z góry dzięki za wskazówki Link to comment Share on other sites More sharing options...
design4VIP Posted November 22, 2015 Share Posted November 22, 2015 (edited) jezeli to ma byc ten sam teskt mozesz sobie w product.tpl ustawic staly tekst z warunkiem {if $ilosc_produktu >0} Edited November 22, 2015 by design4VIP (see edit history) 1 Link to comment Share on other sites More sharing options...
ForrestJump Posted November 22, 2015 Author Share Posted November 22, 2015 dzięki, działa. Konretknie należało dodać linjkę: {if $product->quantity > 0}Dostępny {/if} Link to comment Share on other sites More sharing options...
design4VIP Posted November 23, 2015 Share Posted November 23, 2015 no... dostales wedke i zlowiles rozwiazanie inni! patrzcie u uczciesie jak to sie robi no i tez milo, ze podales dla innych "leniuchow" rozwiazanie Link to comment Share on other sites More sharing options...
addd Posted January 7, 2016 Share Posted January 7, 2016 Chciałabym się podpiąć do tematu. Generalnie nie ustawiam stanów magazynowych i ustawiam komunikat wysyłka w ciągu np. 4 dni. Chciałabym tak jak kolega wyżej nie ustawiać tego przy każdym produkcie, a móc ustawić tekst dla konkretnych producentów. Ma ktoś pomysł jak tego dokonać? Link to comment Share on other sites More sharing options...
endriu107 Posted January 7, 2016 Share Posted January 7, 2016 Zasada taka sama jak wyżej tylko zamiast quantity musimy skorzystać z id_manufacturer lub manufacturer_name. 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