How to i remove/hide the price attribute from listing

how can i hide or remove the price attribute. my website aims to be a service hire site. a daily price attribute isn’t needed. If i leave it blank it shows up as 0/per day and is also filterable. i want to remove this altogether


Please try this PHP snippet (How to add custom code snippets - HivePress Help Center):

			$attributes['price']['editable'] = false;
			$attributes['price']['display_areas'] = [];
		return $attributes;

Please note that it can require further customization.
If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work

the snippet didnt work as its still visible

still asks me to fill a price


The code snippet we sent you hides the price for listing only.

If you don’t need the Marketplace extension, you can disable it, and the price field will not be displayed in the backend and frontend.

P.S. If you purchased a theme or extension, please enter the license key in the forum profile settings, this will enable the Premium Support badge and ensure a 24-hour turnaround time.

1 Like

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