Home › Forums › Plugins › Product Importer Deluxe › [Resolved] variable to test if PID is adding product › Reply To: [Resolved] variable to test if PID is adding product
June 21, 2017 at 4:33 pm
#46901
Support Team
Participant
Hi Dima, sure, that makes alot of sense, adding a function to the Plugin might be handy. 🙂
In the interim you can check to see if a import is currently running via a few different ways:
– Check for the $import Global that we use for both manual imports via the WordPress Administration and CRON imports
– Check for the Transient or Option ‘woo_pd_import’ (defaults to Transient unless the woo_pd_override_temp_storage_method Filter has been override)