Thanks a lot for your excellent plugin!
I’d like to ask you if the plugin is compatible with WP All Import.
To be more specific, I have created an import using the WP All Import plugin, and I’m trying to import ~4500 posts (for each Post, I import only one image, which is also set as the Featured image of the Post).
After the import is complete, I see that, from the ~4500 images that have been imported, only ~3800 of them are converted to WebP.
Then, if I go to Dashboard > Media > Converter for Media and I click “Start Bulk Optimization”, then the rest of the images (~700 images) are converted to WebP without an issue.
The issue is that I don’t want to go and do it manually every time, because this import process is supposed to run automatically using a cron-job.
Could you please let me know if there are any options that I may not be aware of? Anything that I may be missing?
Thanks a lot!
]]>/**
* Before WPAI import function
*/
function before_xml_import( $import_id ) {
// here I want to Enable popup popmake-86629
}
add_action( 'pmxi_before_xml_import', 'before_xml_import', 1, 1 );
/**
* On Complete WPAI import function
*/
function after_xml_import_function( $import_id ) {
// here I want to Disable popup popmake-86629
}
add_action( 'pmxi_after_xml_import', 'after_xml_import_function', 1, 1 );
]]>In the function editor I have this custom function:
function revision($rev_laptops) {
$rev_laptops = array("rev.1", "rev.2", "rev.3", "");
$rand_keys = array_rand($rev_laptops, 2);
$newrev = $rev_laptops[$rand_keys[0]] . ""; // random rev.1, rev.2 or rev.3
echo $newrev;
}
I want to get this $newrev and pass it to the Text editor but in IF/Contains statemet. Is this possible?
Somethig like this:
[IF({newrev[contains(.,'rev.1')]})] Show Text 1 with some field from the csv file {name[1]} [ENDIF]
[IF({newrev[contains(.,'rev.2')]})] Show Text 2 with some field from the csv file {name[1]} [ENDIF]
[IF({newrev[contains(.,'rev.3')]})] Show Text 3 with some field from the csv file {name[1]} [ENDIF]
Thank you!
]]>Any possible idea why and how to make it works well with wpai without disabling the cache?
Thanks
]]>Product Category in Xml i am importing:
top clothing >> dresses >> tunics
(hierarchical style, all of it in just one category path)
i want to import this in
Woman >> Clothing >> Dresses >> Tunics
i have tried adding mapping rule like this
in your file: Clothing >> dresses >> tunics Translated to: woman >> clothing >> dresses >> tunics
But there was no difference :/
i have tried function editor with this code
[str_replace(“Clothing >> dresses >> tunics”, “woman >> clothing >> dresses >> tunics”, {categories[1]})]
and i got syntax error unexpected “{” and expected “)” error or something while i’m saving function file. I don’t know how to code php functions, i tried everything what i can do.
if this problem will be solved, im going to take videos, writing articles, and screaming at every window i see to how to be solved this…
]]>I found that when I trying to indexing the product YMM taxonomy via Wp all import. The plugin seems to regenerate the cache every time when a record is imported. It causes the database overload and broken while the import. But if I disable the plugin before I import the product. The import process will be OK.
I got this code below from the wp all import support. They said placing this code into the wp all import function editor in order to stop the woocommerce terms counting while the import. And It may help reducing pressure for the database.
<?php
add_filter(‘wp_all_import_recount_terms_after_import’, ‘wpai_wp_all_import_recount_terms_after_import’, 10, 2);
function wpai_wp_all_import_recount_terms_after_import($is_recount_terms, $import_id){
return false;
}
?>
I wonder if you would help me write a function to stop the cache generate while the import process? So I dont have to disable the plugin before the import.
Thank a lot!
]]>in the wpai insert there the field from vendor .
vendor 1 = 50€
vendor 2 = 52€
vendor 3 = 48€
how can i insert the smaller price to woocommerce field “regular price” = 48€
]]>I saw one of the old post (1-2years ago) reply from yours, you said you are planing to release an import tool. May I know how is it going.
Hope I can have some solution on this matter
thanks
]]>I am trying to run an if statement based on ACF user profile fields during order important for example user delivery choice (this is captured using gravity forms and saved in the user profile). I cannot get to these fields
]]>They helped me to integrate WPAI with Restrict Content Pro in a way that I never thought it will be possible. My client is happy (he saved a lot of money on custom developing) and I′m convinced that WPAI is a plugin on steroids!
]]>