Customising ‘order details’ content
-
Hi,
First of all, sorry I can’t link the appropriate page, it’s behind a log-in ‘wall, but hopefully, I’ll explain it well enough…
First, a caveat;
This IS related to a plugin (and woo commerce) and I have explored the options through the Author’s support, but the solution more than likely, lies in a core WP/woo/database hack.
The back story
I’m selling digital codes through Woo (think X-Box live for 2 weeks etc etc). The plug-in I’m using is splendid apart from one thing… So, the native inventory management system gives me the ability to upload images, as well as me manually inputting a code (it’s pretty common in my industry to sell a photo of a digital access code because the publisher occasionally distributes them as a physical product – like a gift card for example).
So, everything is working pretty well, but on the client-side order details page, the system shows a non clickable URL, rather than a (preferable) thumbnail or clickable URL (which I could live with).
In a nutshell…
The plugin allows me to upload an image via a simple form action (totally standard CMS event), but at the front end, the ‘image’ is only being pulled out of the database as a non-clickable URL.
What I’m hoping to achieve…
I can live with not having a clickable thumbnail, but at the very least I’d like the URL to be clickable (to save my clients having to copy and paste it).
So I was wondering if I could somehow change the formatting attributes of the pertinent MySQL column, so it’s identified as a URL (just guessing here), or do something with the front end TD tag?
NOTE** I’ve tried using the Auto-Hyperlink plugin (which I thought was the answer to my prayers), but alas, it didn’t work.
In short…
How do I define output-content as a URL? (no complex filters or arguments necessary).
Thanks for sticking with me, and if you could help, that would be awesome.
- The topic ‘Customising ‘order details’ content’ is closed to new replies.