Join our new community forum for support & discussion

Join Now

Home Support Extensions Paid Listings Paid listings

Paid listings

  • Author
    Posts
  • alexcarbo13

    Hello all,

    I have included packages with woocommerce just like in the example https://www.youtube.com/watch?time_continue=1&v=BHRXY62FKJY&feature=emb_title, but when I hit the add listing button it doesn’t work, the package options do not appear.

    I’m not sure why it could be, I think it’s because I can’t find the page to modify the add listing…

    Thanks for the help!

    alexcarbo13

    Ok, I have read that you have explained that it appears when you have selected the category and it works!

    I have one more question. How can I find the category page to modify it? Since when I click to add listing, I get a page that I have not created directly.

    By the way, I love your pluggin, if everything works fine, I will donate! Thank you very much for what you do, I find it very good!

    ihor developer

    Thanks, I’m glad it’s useful!

    Yes, the package selection step is the latest one because the listing price may depend on the listing category. HivePress creates a lot of static pages without creating them in the database, so it’s easy to set up, but at the moment customizing these pages is possible only via code snippets. I plan to add integration with Gutenberg so any page will be visually editable.

    alexcarbo13

    That modification would be great, because for example, I would like to put an explanatory title or text. And also, I only have 4 categories and I would like to put all four on the same line, not 3 and only one below.

    Thanks for all!

    ihor developer

    This code snippet should do it, you can use it until the visual editing is implemented:

    add_filter(
    	'hivepress/v1/templates/listing_submit_category_page',
    	function( $template ) {
    		return HivePress\Helpers\merge_trees(
    			$template,
    			[
    				'blocks' => [
    					'page_content'       => [
    						'blocks' => [
    							'custom_block_name' => [
    								'type'    => 'content',
    								'content' => 'custom text here',
    								'_order'  => 7,
    							],
    						],
    					],
    
    					'listing_categories' => [
    						'columns' => 4,
    					],
    				],
    			]
    		);
    	}
    );
Viewing 5 posts - 1 through 5 (of 5 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.