Jump to content

barvy pro dostupnost zbozi


stix_
 Share

Recommended Posts

rad bych si v sablone upravil barvy pro stav zbozi a to skladem a do 48 hodin zelene, ostatni casovy udaje oranzove a nedostupne cervene. pokud sem se dobre dival tak se tento text v sablone vypisuje pomoci:

{l s='item in stock'}


vedel by nekdo jak toto dostat v sablone do podminky abych si mohl porovnat co je tam za text a nastavil podle toho barvu textu? napadlo me ze si to v product.php nactu zvlast do nejake promenne z db ale tomu bych se rad vyhnul protoze dotazu na db sem si uz par pridaval a nechci to prehanet

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More