News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[solved] Order status: images instead of texts

Started by gba, March 06, 2015, 11:37:38 AM

Previous topic - Next topic

gba

Hello all!

In FE order view I want to display the current order status of order items not as texts, but as images.
Did anyone make this in the past?
Or does anyone have an idea how to achieve that?

Thank you in advance for any useful hint!

Kind regards,
Gerald

GJC Web Design

name your images as the status text .. e.g Pending.png

then render the html

e.g. <img src="images/<?php echo JText::($this->order_status); ?>.png">

no idea what the actual vars are but you see the idea
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gba

Hi!

Thank you for your hint.
Sometimes you don't see the obvious ...  :-\ :-[ :)

Best regards,
Gerald

Milbo

oh it is not so obvious, but a nice quickndirty idea.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/