Trey
Forum Replies Created
-
Hey @mcdeth,
Would the best approach be using the pmxi_saved_post action hook with php function? Or is there a better way to handle this?
Yes, pmxi_saved_post would work best for this: https://www.wpallimport.com/documentation/action-reference/#pmxi_saved_post. The idea would be to check the brand value via $xml_node and then conditionally add the custom field with add_post_meta() or update_post_meta().
I don’t want to run this on every time I update the product stock
You can add custom logic to the code tied to pmxi_saved_post to only update the field when you want to.
Hey @webby2050,
I’m marking this as resolved since it’s been inactive for a while. Feel free to reply in this thread if you still have questions about this.
If anyone else has questions, please open a new topic.
Hi @ricsca2,
Unfortunately, you wouldn’t be able to recover the file with our plugins in that case.
Hi @somii,
Importing Variable Products is a Pro feature, so you’ll need to contact us about this here: https://www.wpallimport.com/support/. These forums are strictly for our free plugins/features.
Hi @ricsca2,
Is there a way to create the xlms file again from the uploaded articles?
Unfortunately, there’s no way to recreate the XML file as an exact replica unless you remember exactly how it was formatted and WP All Export offers the options to match that format.
I would suggest checking the /uploads/wpallimport/files/ folder to see if the file is there. If it is, you can download it and then upload it to the import via the Import Settings.
- This reply was modified 1 week, 6 days ago by Trey.
Hey @gabster1501,
Is the only way to get them out of the import by permanently deleting them by the import?
No, you can use this API hook to remove the relationship between the post and the import: https://www.wpallimport.com/documentation/action-reference/#wp_all_import_is_unlink_missing_posts.
I could also set a custom field like _expiration-date to have my jobs expire. But would the import drop those posts for the future then?
The import would not drop the association unless the posts is deleted (or you use the hook I mentioned above).
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Split a single fieldHi @gman87,
How can I achieve this without modifying the source file?
Unfortunately, this wouldn’t be possible with the free version of our plugin since it doesn’t support inline functions. You’d have to make the modification to the file before uploading it to the import.
Hey @elsevi,
I’m marking this as resolved since it’s been inactive for a while. If you still have questions about this, feel free to respond in this thread.
Anyone else, please open a new topic.
Forum: Plugins
In reply to: [Export any WordPress data to XML/CSV] Empty priceHi @filsch,
Google Merchant Center exports are a Pro feature, so you’ll need to contact us here: https://www.wpallimport.com/support/. These forums are strictly for our free plugins.
Hi @webby2050,
Based on your description of the current output, you’re using the Pro versions of our plugins, is that correct? If so, please contact us here: https://www.wpallimport.com/support/. This forum is only for our free plugins.
Let me know if I misunderstood.
Forum: Plugins
In reply to: [Import any XML, CSV or Excel File to WordPress] Child category not matchingHi @gabster1501,
Is there like a Priority when importing into categories that the URL would be prioritized over the name?
WP All Import is supposed to check for taxonomy terms via slug first.
What would the import do, if there are 2 Categories with the same name (but different URL), one as a main and one as a child category?
It depends on the slug. Let’s say that you have a main category named “A Cat” with the slug “a-cat”, that one will be chosen if you import “A Cat”. However, if you have a main category named “A Cat” with the slug “a-cool-cat”, and then a sub-category named “A Cat” with the slug “a-cat”, then the sub-category will be chosen.
Or should I use something like “Cat A > Cat B” to save into the child?
That would help if you are using non-standard slugs and the slugs are not in the import file.
If this advice doesn’t fix the issue, can you please send me screenshots showing your category settings in the import template and which versions of our plugins you’re using?
Hi @jrohner,
Please try following this guide: https://www.wpallimport.com/documentation/history-file-not-found-error/.
If it doesn’t help, please send me screenshots showing the view you see in the “Import Settings” for the import, and let me know which versions of our plugins you’re using.
Hi @fadedfamous,
I don’t see anything wrong with your import settings, but I see that you’re using the Pro version of WP All Import, so you’ll need to contact our support team for assistance here: https://www.wpallimport.com/support/. These forums are strictly for the free plugins.
Hey @sspools,
These forums are strictly for the free versions of our plugins. It is against the forum guidelines to post about Pro (commercial) plugins. Please contact our support team at the link I provided above and they’ll be able to answer your questions.
Hi @boybawang,
I just want to have the data stored in my database so I can retrieve it from a custom script. Is this possible? I don’t necessarily want to create any new posts from the data. I just want it stored in the database.
Unfortunately, there’s currently no built-in option to do that. You’d have to select to import posts, then write custom code that uses this hook – https://www.wpallimport.com/documentation/action-reference/#wp_all_import_is_post_to_create – to store the data in your custom database table and then stop the creation of the post.