scaballe
Forum Replies Created
-
Forum: Plugins
In reply to: [Woo Image SEO] PHP 8.1.2 PHP Warning:Solved, thank you very much
excellent service !!
Salvador.Forum: Plugins
In reply to: [WooCommerce] custom low_stock subject emailThanks for your answers,
I tested first the code with Code Snippets plugin
but seems there is a problem.Code now works ok in functions.php file.
Nicola the code in your article is better ??
Salvador
Forum: Plugins
In reply to: [WooCommerce] custom low_stock subject emailhi,
I want to append the product name in the subject of the low stock email.
regards
SalvadorForum: Plugins
In reply to: [SKU Shortlink For WooCommerce] Hide DEBUG dataThanks
SalvadorForum: Plugins
In reply to: [SKU Shortlink For WooCommerce] Hide DEBUG dataIt is not a problem, but in reality these data are only necessary in the administration area, But it is useless to load it on all the pages.
Regards
SalvadorForum: Plugins
In reply to: [SKU Shortlink For WooCommerce] Hide DEBUG datathis script data is at the end of html source code, in all pages
just before:</body>
</html>Forum: Plugins
In reply to: [SKU Shortlink For WooCommerce] Hide DEBUG dataThis is the data:
<script type='text/javascript' id='wponion_field_js_vars'> /* <![CDATA[ */ var wponion_core = {"modal":{"html":"<div tabindex=\"0\" class=\"media-modal wp-core-ui\">\n\n\t<button type=\"button\" class=\"media-modal-close\">\n\t<span class=\"media-modal-icon\">\n\t\t<span class=\"screen-reader-text\">Close media panel<\/span>\n\t<\/span>\n\t<\/button>\n\n\t<div class=\"media-modal-content\">\n\t\t<div class=\"media-frame\">\n\t\t\t<div class=\"media-frame-menu\">\n\t\t\t\t<div class=\"media-menu\"><\/div>\n\t\t\t<\/div>\n\t\t\t<div class=\"wponion-modal-content-container\"><\/div>\n\n\t\t\t<div class=\"media-frame-toolbar\">\n\t\t\t\t<div class=\"media-toolbar\">\n\t\t\t\t\t<div class=\"media-toolbar-secondary\"><\/div>\n\t\t\t\t\t<div class=\"media-toolbar-primary search-form\">\n\t\t\t\t\t\t<button type=\"button\"\n\t\t\t\t\t\t\t\tclass=\"button media-button button-primary button-large media-button-select\">Select\n\t\t\t\t\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t<\/div>\n<\/div>\n\n<div class=\"media-modal-backdrop\"><\/div>","frame-menu-item":"<a href=\"{{ data.url }}\" class=\"media-menu-item\">{{ data.name }}<\/a>","router-menu-item":"<a href=\"{{ data.url }}\" class=\"media-menu-item\">{{ data.name }}<\/a>","page_content":"<div id=\"{{data.id}}\" class=\"hidden wponion-modal-{{data.id}} wponion-modal-content\"><div class=\"media-frame-title\"><h1>{{data.title}}<\/h1><\/div><div class=\"media-frame-router\"> <div class=\"media-router\"><\/div> <\/div> <div class=\"media-frame-content\">{{data.html}}<div class=\"media-sidebar\"><\/div><\/div><\/div>","section_content":"<div id=\"{{data.id}}\" class=\"hidden wponion-modal-{{data.id}} wponion-modal-content wponion-section-modal-content\">{{data.html}}<div class=\"media-sidebar\"><\/div><\/div>"},"ajaxurl":"https:\/\/www.mydomain.com\/s\/wp-admin\/admin-ajax.php","ajax_action":"wponion-ajax","ajax_action_key":"wponion-ajax","ajax_url":"https:\/\/www.mydomain.com\/s\/wp-admin\/admin-ajax.php?action=wponion-ajax","debug":"1","debug_notice":" <br\/> this debug data is only visible when <code>WP_DEBUG<\/code> or <code>WPONION_FIELD_DEBUG<\/code> is defined <strong>true<\/strong> <br\/> <strong>PHP Args:<\/strong> is the array which is passed to the framework in php <br\/> <strong>JS Args:<\/strong> is the array which is used by the JS plugins in this framework. for each plugin it shows the plugin name and its array passed to it"};var wponion_il8n = {"get_json_output":"As JSON","global_json_output":"Global WPOnion JSON Output","unmodified_debug":"PHP Args","modified_debug":"JS Args","unknown_ajax_error":"Unknown Error Occured. Please Try Again.","click_to_view_debug_info":"Click To View Field Debug Info","validation_summary":"Please correct the errors highlighted below and try again.","delete":"Delete","processing":"Processing ...","restore":"Restore","settings_saved":"Settings Updated"};/* ]]> */ </script>
Forum: Plugins
In reply to: [WooCommerce EU VAT Assistant] VAT required based on countryHi,
I found the solution in the forum archives:
add_filter(‘wc_aelia_euva_order_is_eu_vat_number_required’, function($is_vat_number_required, $country)
{ if($country==’ES’) {
$is_vat_number_required = true;
}
return $is_vat_number_required; }, 10, 2);regards
SalvadorNow is working ok!!
Excellent support
Thanks
SalvadorI remain at your disposal if you need any additional information.
Salvador
Thanks for your fast answer, yes you are right, I see action in the plugin code, but here not work, I disabled all plugins, to rule out any incompatibility and I checked also the wp_usermeta table and the new user is created, but not the woocomerce shipping and billing data fields.
Wordpress version 4.7.4
Woocomerce Version 3.0.5regards
Salvador