Dexter0015
Forum Replies Created
-
Hi,
In my addon, I attached a function on the “pmxi_saved_post” action hook
see the documentation here: https://www.wpallimport.com/documentation/advanced/action-reference/#pmxi_saved_postadd_action( 'pmxi_saved_post', [$this, 'update_saved_post_acf_fields'], 10, 3);
And here is the content of the function:
public function update_saved_post_acf_fields( $post_id, $xml_node, $is_update ) { // Only for specified post type (if needed) if( get_post_type( $post_id ) != 'specific_post_type' ) { return; } // Ignore if acf is not installed/activated if( ! function_exists( 'get_field' ) || ! function_exists( 'update_field' ) ) { return; } // Force update of field_name's value $field_value = get_field( 'field_name', $post_id ); if( $field_value ) { // 1 - Reset value $new_field_value = []; update_field( 'field_name', $new_field_value, $post_id ); // 2 - Re update value (to ensure value is indeed updated) update_field( 'field_name', $field_value, $post_id ); } }
Hi,
Thanks for your quick answer.
I manage to achieve what I wanted to do by forcing the field to be updated each time a product is imported, and it seems to do the trick.
Hi,
I confirm, it works as intended now.
Same here.
A workaround would be to duplicate the section and play with visibility properties relative to devices.But I would prefer a fix.
I am terribly sorry, I just realized my issue isn’t related to you plugin AT ALL.
Since your plugin doesn’t send any email….
I use another plugin which allow clients to request a quote, and the issue is with the emails sent by this one.
Again, my apologies.
Hi,
I only override the woocommerce email templates for header and footer, which I duplicate in my theme first, like so:
<my-theme>/woocommerce/emails/email-footer.php <my-theme>/woocommerce/emails/email-header.php
Thanks for the tip!
I can confirm it works like a charm.Hi,
I can confirm it works as expected now.
Thanks for the fix.Forum: Plugins
In reply to: [Widget Wrangler] Error copying widget with a multi select fieldA little update:
I tried to bypass the issue by using a multiple checkbox, but unfortunately, same issue…
It is like if the cloned widgets form update only support non-multiple item.
I tried to search in the WW plugin code but doesn’t found any clue so far…
Forum: Plugins
In reply to: [410 for WordPress] Impossible to customize the templateSorry, my bad.
I figured out that I had a conflict between some .htaccess rules and the plugin.
Forum: Plugins
In reply to: [Responsive menu & Navigation] Improvements suggestionsHI,
Glad you like my ideas.For the third point, generally other plugins require a CSS selector (class or Id) to do it I believe.
Forum: Plugins
In reply to: [Admin Language Per User] I have a question relative to localizationsThank you for your quick response.
I’ve just test it and it works as expected.
Thanks again, 5 stars for me!
Forum: Plugins
In reply to: [Widget Wrangler] UI improvement suggestionEverything works fine, thanks!
Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Server Internal error 500 on dynamic css fileHi,
A 403 error mains you should have a rule in your .htaccess dsiable access to the folder or one of it’s parents.
Or maybe it’s in your server config. but it would be strange.
Forum: Plugins
In reply to: [Widget Wrangler] UI improvement suggestionNoted!
Thanks for answering my two topics ??