Forums / Setup & design / custom workflow question / Comment24159
kracker
Thursday 01 March 2007 7:04:12 am
As much as I think it would be a neat way to do that ... I don't think it's the right way for you to approach this offhand.
Why not simply use the wrap_operator to execute your remote call to your external price information via php and return the price value for that product to the template itself (as the wrap_operator is a flexible template operator).
Though a more complete solution may surround a custom copy of the shop module solely for your custom external price products (display) but ... again I think this too is a dead end.
I think the real solution is for you to learn how to sync your Exponential product prices and external prices within Exponential content objects in your content tree.
I would write a simple cronjob (which can be run like a shell script) which would perform this sync.
It is both predictable, repeatable and automated ;)
hth,<i>//kracker
Michael W. Smith - My Place in This World</i>
Member since: 2001.07.13 || http://ezpedia.se7enx.com/