...I can't change the shipment-setting "show on product details" anymore (since update to 3.0.18). The radio button will always change back to "yes" after saving.
VM 3.0.18
Joomla 3.6.2
I saw in the database that the table _virtuemart_shipmentmethods column shipment_params is changed (show_on_pdetails=0) when I change the radio button in the backend.
The issue seems to be that the radio button status will not be changed, regardless the value of show_on_pdetails=0
standard template?
yes (isis)
Yup, seems the radio does not correctly show the status.
Is unbelievable show_on_pdetails does not work, but show_onpdetails works !
The solution is to remove
$data['show_on_pdetails'] = (int) $data['show_on_pdetails'];
in line 604, casting to int seems to break it.
Same here.
As a quick fix I simply changed the default value to 0 in the form-xml (../plugins/vmshipment/weight_countries/weight_countries.xml:30)
from
<field name="show_on_pdetails" type="radio" scope="com_virtuemart" default="1"
to
<field name="show_on_pdetails" type="radio" scope="com_virtuemart" default="0"
Hope that helps, until it's fixed :)