About the replacement of the order of the buttons

I would like to replace the order of the blue buttons. Is that possible? The question button is on top, and the purchase button is on the bottom.

We would like to have a purchase process after asking questions on the plan.

Please try this PHP snippet but please note that it can require further customization

add_filter( 
	'hivepress/v1/templates/listing_view_page/blocks',
	function ($blocks, $template){
		return hivepress()->helper->merge_trees(
					[ 'blocks' => $blocks ],
					[
						'blocks' => [
							'listing_buy_form' => [
								'_order' => 20,
							]
						],
				]
				)['blocks'];
	}, 
	1000, 
	2 
);

Thank you for your always prompt response.
I appreciate it very much.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.