[Solved] Shipment plugin can't recieve checkout form data

Started by MikUrrey, January 05, 2013, 13:47:34 PM

Previous topic - Next topic

MikUrrey

Hallo!
My shipment plugin generates some dynamic feilds in the checkout form. This fields must be used to calculate shipment price.
But I can not use its inside method getCosts because $_POST is empty, $_REQUEST don't contains this elements and JRequest::getVar don't returns right values.
What do I do?

PRO

do the fields have to be dynamic?

could they be fixes user fields?

MikUrrey

The fields must be dynamic but I can create user fields with similar names and replace its dinamically.
Will this make ones available inside the plugin method?

PRO

Quote from: MikUrrey on January 05, 2013, 16:58:31 PM
The fields must be dynamic but I can create user fields with similar names and replace its dinamically.
Will this make ones available inside the plugin method?

yes

$cart->

look at the weight countries plugin

You will see how it checks the (zip) etc.


MikUrrey

Thank you, now the fields available in $cart->BT.