update multicurrencies functionality on global level

This commit is contained in:
dwindown
2025-08-25 19:55:38 +07:00
parent 38b6b5cddb
commit ccb2b1aea1
21 changed files with 1240 additions and 476 deletions

View File

@@ -14,11 +14,12 @@
// This is a string path like: data['variation']['fields']['my_field']
$field_ref = "data['{$section_name}']['fields']['{$field_name}']";
?>
<wpcfto_codemirror
:fields='<?php echo esc_attr($field_ref); ?>'
:field_label='<?php echo esc_attr($field_label); ?>'
:field_name="'<?php echo esc_js($field_name); ?>'"
:field_id="'<?php echo esc_js($field_id); ?>'"
:field_value="'<?php echo esc_js($field_value); ?>'"
@wpcfto-get-value="$set(<?php echo $field_ref; ?>, 'value', $event)"
></wpcfto_codemirror>