1. disabled the Reseller Store plugin.
2. created the CPT Reseller Products with the same slug as that of the Reseller Store, in this case “reseller_product”.
3. created the Taxonomies with the same slug as that of Reseller Store, in this case “reseller_product_category” & “reseller_product_tag”.
4. reactivated the Reseller Store plugin.
5. cleared the object & page cache.
6. went to Reseller Products CPT, wp-admin/edit.php?post_type=reseller_product, but no posts are being displayed.
To debug the problem:
7. went to Reseller Store CPT, wp-admin/edit.php?post_type=reseller_product, but it took me to the setup page. It seems that as soon as I deactivated the plugin, the plugin cleared all the data.
8. followed the steps to links the WP installation with the demo account.
9. went to Reseller Products CPT, wp-admin/edit.php?post_type=reseller_product, but still no posts are being displayed.
10. went to Reseller Store CPT, wp-admin/edit.php?post_type=reseller_product, and it is showing all the products.
I am unable to debug the issue as to why the CPT created with Types is not showing any data, yet the CPT created by the Reseller Store plugin is showing the data.
If you wish, I can provide a login to check the setup.
Hello. Thank you for contacting the Toolset support.
I do not have much exposer with the plugin you shared.
But when I downloaded the plugin and checked the files I can see with the readme.txt file of the plugin the following line:
* Fix: No longer delete custom posts on uninstall of plugin
There must be some setting or you must contact the plugin support to know how you can not delete your desired content when you deactivate the plugin. As I can see some related code that delete the posts on uninstallation of the plugin.
Can you please check first with Reseller Store plugin support about how you can keep that content to your local database and do not delete when you deactivate the plugin.
1. As regards to the posts getting deleted or vanishing when the reseller plugin is deactivated, I will check with the relevant support team, but this might take a few days.
2. The main issue here is that the posts from the Reseller Store CPT are not showing in Reseller Product CPT, despite both of them having the same CPT slug.
Irrespective, my main purpose is to create a custom archive template for Reseller Store CPT, but the problem is that Reseller Store CPT, its taxonomies, and its custom fields are not displaying anywhere in:
— Types
— Stackable
— Blocksy
Even if one of them shows up, it freezes the archive template and I can no longer perform any actions on the archive template.
So, I thought to manage the Reseller Store CPT using Types so that it becomes easy to create archive template.
Reseller Store slug was reseller_product, whereas Reseller Product slug was reseller-product.
Similarly, Reseller Store Category slug was reseller_product_category, whereas Reseller Product Category was reseller-product-category, and Reseller Store Tag slug was reseller_product_tag, whereas Reseller Product Tag was reseller-product-tag.
The only difference being the underscore & hyphen.
I now am able to manage the Reseller Store CPT using the Reseller Product CPT in Toolset.
Keeping the thread open just in case I encounter any further issues related to the subject.
Ok great and glad to know that you spot the correct slug and shared the information here that might help other users in the future having the same issue. You're welcome to mark resolve the ticket when you can.