Hello,
please, give me an advice. How can I add different icons before the name of product categories? See you photo.
Thank you.
Hello,
please, give me an advice. How can I add different icons before the name of product categories? See you photo.
Thank you.
You would need to do custom programming:
1. Add a database field for the icon to be stored with each category.
2. Add an Admin input prompt to accept the icon and store it to the database.
3. Customize your category sidebox module to read the icon and add it to the category data array.
4. Customize your category sidebox template to output the icon with the rest of the content, including any custom additional markup you require.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks