• Home
  • Get help
  • Ask a question
Last post 3 hours 3 min ago
Posts last week 259
Average response time last week 1 hour 54 min
All time posts 63612
All time tickets 9852
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#8832 – Missing Field "price range"

Posted in ‘4SEO’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 12 June 2022 15:05 UTC


How can I add the price range? 

Monday, 13 June 2022 08:09 UTC


Unfortunately you can't do that from the user interface at the moment, but the field will be added soon (like in a few days).

If you want a solution right now, most data in 4SEO can be customized manually by adding a filter, a piece of code to alter 4SEO output.

In your case, you'll need to do the following:

- open or create the file /libraries/weeblr/forseo_functions.php

- make sure the top of the file looks like this:

        $priceRange = '$$$';
		$localBusiness = Wb\arrayGet(
		if (!empty($localBusiness))

			$data['page']['@graph'][0]['priceRange'] = $priceRange;

		return $data;

- In the line $priceRange = '$$$';, replace $$$ with what you want to use as a priceRange.

- save the file and check the result is as expected (be sure to clear you Joomla cache if enabled)

In case of trouble of any kind, rename the file forseo_functions.php to anything else (for instance disabled-forseo_functions.php), and it will be disabled instantly.

Once priceRange has been added to the 4SEO user interface, you can just delete that file altogether.

Hope this helps, let me know how it goes.

Best regards

Yannick Gaultier

weeblr.com / @weeblr











Monday, 13 June 2022 18:06 UTC


As it happened, I have just added the PriceRange field to the latest development version of 4SEO (together with other improvements).

You can get it from the development versions download area , just install over and you'll see the field under the "Default organization" tab of the Structured data settings:

Note that I have also added a "CUSTOM STRUCTURED DATA" field, where you can enter raw custom data to add to the existing record. For instance, you could also create the priceRange field that way:

You can use this field for any additional custom field you want to add to the organization record.

Best regards

Yannick Gaultier

weeblr.com / @weeblr


Tuesday, 14 June 2022 14:24 UTC

I appreciate your support for improving the 4seo. It fixed the bug. Tq my friend

Tuesday, 14 June 2022 14:47 UTC


Well, it was not a bug, just not something 4SEO did not provide support with but happy it's solved!

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

Best regards

Yannick Gaultier

weeblr.com / @weeblr


This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.