Black Friday Sale is now Live

Force Post Type A before Submitting Post Type B

  • Posted 1 month ago

Hi guys,

I have 2 Post Types, Seller and Offer.
I want to force users to create a seller listing before they’re able to create offers. With the old membership setup I’ve simply hidden the Offers Post Type submission widget conditionally on the submit page when the count of the Seller Post Type was 0. Only when the user had 1 Seller listing submitted I would display the Offer Post Type submission widget.

This has always worked great. However, with the new update I switched from Membership to Listing Plans and for some reason the Seller widget does no longer show up on the Offer post submission page despite setting the visibility correctly.

Is this a bug in the new version or do you know any workaround?

Cheers,

  • Images