Join our new community forum for support & discussion

Join Now

Home Support Extensions Paid Listings Paid Listings not working

Paid Listings not working

  • Author
    Posts
  • artshareco

    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.

    ihor developer

    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

    Hi Ihor,

    I’m sorry but I don’t understand how the process works: what do you mean by ‘completing the listing form’?

    fsimoni

    Hi, artshareco.

    Enter your Listing and then when you click next button it lets you choose the plan you want.

    inkoopverkoop.acz

    Hi 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.

    ihor developer

    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.

    inkoopverkoop.acz

    Hello yes i would really like that code snippet.

    Thank you

    yevhen developer

    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

    Thanks where do i put the snippet?

    yevhen developer

    You could try this plugin to add PHP snippet – https://wordpress.org/plugins/code-snippets/

    inkoopverkoop.acz

    Thanks 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.

    ihor developer

    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

    Thanks but does not work shows white screen.

    yevhen developer

    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

    Thanks. That one works!

Viewing 15 posts - 1 through 15 (of 15 total)

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.