Join our new community forum for support & discussion
Join NowHome › Support › Extensions › Paid Listings › Paid Listings not working
Paid Listings not working
-
AuthorPosts
-
artshareco 1 year, 1 month ago
Hi,
The Paid Listings extension isn’t working. I created two packages following the screencast but the page which asks you to select a plan doesn’t pop up, it goes straight to ‘select a category’ page. I’m using a staging website in order to test the extension first.
Please try completing the listing form, this step is not the first one in the listing submission process (it’s first in the screencast because we added a listing previously, so the listing detail steps are skipped).
artshareco 1 year, 1 month agoHi Ihor,
I’m sorry but I don’t understand how the process works: what do you mean by ‘completing the listing form’?
fsimoni 1 year, 1 month agoHi, artshareco.
Enter your Listing and then when you click next button it lets you choose the plan you want.
inkoopverkoop.acz 1 year, 1 month agoHi ihor,
is there a way to make it like the screencast for all new listings ? So to first see the payment plans before making the ad.
Yes, it may be possible to move it with a simple code snippet, but there may be an error since packages may depend on categories. If you don’t have category-specific packages this may actually work, please let me know.
You could try this PHP snippet:
add_filter( 'hivepress/v1/menus/listing_submit', function( $menu ) { if($menu['items']['listing_submit_package']){ $menu['items']['listing_submit_package'] = [ '_order' => 1, ]; } return $menu; } );
inkoopverkoop.acz 1 year, 1 month agoThanks where do i put the snippet?
You could try this plugin to add PHP snippet – https://wordpress.org/plugins/code-snippets/
inkoopverkoop.acz 1 year, 1 month agoThanks for the effort but does not work i still get the same result. User still has to first make listing before seeing the plans for a paid listing.
Please try this one instead:
add_filter( 'hivepress/v1/menus/listing_submit', function( $menu ) { if(isset($menu['items']['listing_submit_package'])){ $menu['items']['listing_submit_package'] = [ '_order' => 2, ]; } return $menu; }, 1000 );
inkoopverkoop.acz 1 year, 1 month agoThanks but does not work shows white screen.
Please try this one instead:
add_filter( 'hivepress/v1/menus/listing_submit', function( $menu ) { if(isset($menu['items']['listing_submit_package'])){ $menu['items']['listing_submit_package']['_order']=2; } return $menu; }, 1000 );
inkoopverkoop.acz 1 year, 1 month agoThanks. That one works!
-
AuthorPosts
New Reply
This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.