Not using resources. This is a custom Object to be manipulated with a migxdb form.
I'm using the tv only as helper to render input options in the update form. It works as expected in the manager.
Orders are created programatically when a user checksout in the frontend.
a WAITING status is assigned to that order at creation time until the order is confirmed using PayPal IPN Message to change it to PAYMENT_RECEIVED
So i end up with a custom_order table with a
order_status field where this is stored.
In the frontend i want to display the user's order history with cart items and status.
If i do something like
the result will be "WAITING" instead of "Waiting for Payment"
I just feel the need of a reusable way of using TV as templates for outputting this data. (which is not linked to Resources)
An output filter maybe will suffice if i can extract input options from a given Template Variable called by its name.
Something like:
[[+order_status:renderWith=`helperTVname`]]
I can't find how to do it in the docs.
Quote from: sottwell at Mar 25, 2014, 09:58 AMWhere is the TV value coming from? Is it a default value when you create the TV, or is the value coming from a resource - for example, if a product is a resource.