jmoises
Active Member
Thanks for any help, i all ready search forum and no luck, here is my issue
i using the content plugin to get some elements on the article all good, i am trying alter a value that i am getting sourcer plugin:
in html view i can view the value $10,000.00 of $precio, and is ok, but i try to change it to numeric value and seem that value of $precio is {fabrik view=element list=1 rowid=[param1] element=list1___price}
result is: 0
i try to add the _raw at the element name and same, any sugestion or help!
Thank you so much
i using the content plugin to get some elements on the article all good, i am trying alter a value that i am getting sourcer plugin:
in html view i can view the value $10,000.00 of $precio, and is ok, but i try to change it to numeric value and seem that value of $precio is {fabrik view=element list=1 rowid=[param1] element=list1___price}
Code:
$precio = '{fabrik view=element list=1 rowid=[param1] element=list1___price}';
$precio = str_replace('$', '', $precio);
$precio = str_replace(',', '', $precio);
$precio = floatval($precio);
echo $precio;
result is: 0
i try to add the _raw at the element name and same, any sugestion or help!
Thank you so much