Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

Overtake calculation sum from one form to another 16.05.2014 15:19

Dear Support!

I would like to know if there is a solution to overtake the calculated price from one form to another form - the final calculated price can be the initial price for the second form.

This would be a very good option for me.

Thank you for your help.

Regards
Zsolt

Re: Overtake calculation sum from one form to another 16.05.2014 16:23

Hello,

You could set first calculator results on second one using PHP/Joomla session.

First calculator:

$session = JFactory::getSession();
$session->set( 'myresult', $VAR_WITH_MY_RESULT );

Second calculator:

$session = JFactory::getSession();
$VAR_WITH_MY_RESULT=$session->get( 'myresult');

Obviously, first calculator should be executed before second calculator.

Hope this helps. Regards,
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros