If somebody needs, here is how I get as hidden value field of a ZOO product item (I use Chronoforms plugin in the product pages).
The code is based on those posts:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=56269#p56269
and
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=55164#p55164
<input name="productname" type="hidden" value="<?php
$idprod = JRequest::getString('item_id', '', 'get');
$database->setQuery( "SELECT name FROM #__zoo_item WHERE id='".$idprod."'" );
$productname = $database->loadResult();
echo $productname;
?>">
The code is based on those posts:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=56269#p56269
and
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=55164#p55164
Thanks for sharing!🙂
Regards,
Max
Regards,
Max
This topic is locked and no more replies can be posted.