[Skip to main content](#vessel-content)

#   Product access level restriction &gt; blank page

##

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile") Topic Author
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

8 years 11 months ago [\#282792](#282792) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#282792 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")* was created by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")*

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.1.9
-- Browser(s) name and version -- : Chrome 62

Hi guys,
I set a group restriction for my product.
--- If I set a "HikaShop Category menu" and I'm not part of the joomla group, clicking on the menu link the content template is not shown;
--- If I set a "hikaShop Product menu" and I'm not part of the joomla group, clicking on the menu link I have back **a totally blank page**!

**1** - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ?
**2** - How to have back the standard joomla red error message: "You are not authorized to view this content" ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.

Many Thanks for help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

8 years 11 months ago [\#282800](#282800) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#282800 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi,

A totally blank page indicates a fatal error during the execution of the PHP. Please activate the "error reporting" and "debug mode settings of the Joomla configuration and that should display an error message on that blank page which will indicate where the problem is coming from.
Without that, we can't say anything. It could come from anything on your website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile") Topic Author
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

8 years 11 months ago [\#283047](#283047) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283047 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi Nicolas,
Debug System: Yes
Error Reporting: Development
I had to switch to Protostar template (instead of mine that continue to giveme back only the blank page) to have back this report:

[ ![Errore&#95;404.jpg](/forum/attachment/41452) ](/forum/attachment/41452 "Errore&#95;404.jpg")

- [ ![Errore&#95;404.jpg](/forum/attachment/41452) ](/forum/attachment/41452 "Errore&#95;404.jpg") [ ](/forum/attachment/41452?download=1 "Errore&#95;404.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

8 years 11 months ago [\#283051](#283051) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283051 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi,

Your problem has several layers to it:
1. There is a problem with the URL of the page which leads HikaShop to not finding the product to display for the link you're clicking on.
2. HikaShop then tries to display the 404 error page of your website through Joomla's API.
3. There is apparently an issue with your 404 error page which creates the fatal error.

First, try to replace the code: Code:

JError::raiseError(404, JText::_('PRODUCT_NOT_FOUND')); echo '&lt;/div&gt;'; return;

to: Code:

header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404);

in the file components/com_hikashop/views/product/tmpl/show.php
That should display the 404 error without going through Joomla.

Now that won't fix the real issue which is that there is a problem with your URL, but we would need to know more about that: screenshot of the product settings and the URL you're using to access that error page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile") Topic Author
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

8 years 11 months ago [\#283105](#283105) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283105 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi Nicolas,
thank you very much for reply. If it is more simple for you, I can put online a copy of the site with a Super Admin and FTP access to permit you a good investigation on it.

Waiting your confirmation before to process...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

8 years 11 months ago [\#283118](#283118) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283118 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi,

Well, why not but on top of that we would reallly need that you first try the change I proposed and provide the information I asked for in my previous message.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile") Topic Author
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

8 years 11 months ago -  8 years 11 months ago [\#283188](#283188) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283188 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi Nicolas,
so, I made the modification and:

1 - I have back the message: "Product not found"
2 - I attach the screenshot of the product settings. PS In Menus, the "Event" public menu is setted with alias as "convegno-aimfi-centro-nord-2017"
3 - "URL you're using to access that error page" - Here the product [ Menu Link](https://develop.egulp.net/convegno-aimfi-centro-nord-2017) on the copy test site
Thanks for support !

[ ![Event-product-setting.png](/forum/attachment/41472) ](/forum/attachment/41472 "...ct-setting.png")

- [ ![Event-product-setting.png](/forum/attachment/41472) ](/forum/attachment/41472 "...ct-setting.png") [ ](/forum/attachment/41472?download=1 "...ct-setting.png")

Last edit: 8 years 11 months ago by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

8 years 11 months ago [\#283192](#283192) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283192 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi,

What I see on the like you gave and hat you reported so far is different.
On that link, I have that:
[ monosnap.com/file/AcTbS0L3G0fIpABmRJyhcvJa3zatev](https://monosnap.com/file/AcTbS0L3G0fIpABmRJyhcvJa3zatev)
And looking in the details of the error, there are no files of HikaShop involved with that error.
It seems to be a Joomla content menu item trying to display a Joomla article it can't find.
So I'm confused.
How do you get to that "Product not found" error page ?
Do you also have that "article not found" error when you try to access the link you gave ?
How did you configure the menu item of that link ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile") Topic Author
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

8 years 11 months ago -  8 years 11 months ago [\#283242](#283242) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283242 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi Nicolas,
thanks for helping:

**1** - "Do you also have that "article not found" error when you try to access the link you gave ?" I'm too sorry, I made a mistake, [ I corrected it](https://develop.egulp.net/convegno-aimfi-centro-nord-2017).

**2** - "How do you get to that "Product not found" error page ?" = After trying I came back to the original file components/com_hikashop/views/product/tmpl/show.php. So now I have back the blank page. Please, let me know if I have to swith again to your modified file.
**PS** Menu Access: Public - Event Product - RESTRICTIONS AND DIMENSIONS - Access level: "XXX" - If the user is not assigned to that usergroup = blank page
Menu Access: Public - Event Product - RESTRICTIONS AND DIMENSIONS - Access level: "XXX" - If the user is assigned to the "XXX" usergroup = the Product page is shown rightly

**3** - "How did you configure the menu item of that link ?" Here attached the setting image:
[ ![Menu-settings.png](/forum/attachment/41480) ](/forum/attachment/41480 "Menu-settings.png")

- [ ![Menu-settings.png](/forum/attachment/41480) ](/forum/attachment/41480 "Menu-settings.png") [ ](/forum/attachment/41480?download=1 "Menu-settings.png")

Last edit: 8 years 11 months ago by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

8 years 11 months ago [\#283244](#283244) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283244 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi,

Can you make sure that you selected a product under the "Select a product" tab of your menu item ? And make sure that this product is published.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile") Topic Author
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

8 years 11 months ago [\#283264](#283264) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283264 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi Nicolas,
A - "Can you make sure that you selected a product under the "Select a product" tab of your menu item ?" = sure, selected
B - "And make sure that this product is published." = sure, published

Infact, When a user assigned to the "XXX" usergroup (same group selected into Product &gt; RESTRICTIONS AND DIMENSIONS &gt; Access level ) click on the Product Menu, the Product page is shown rightly

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

8 years 11 months ago [\#283272](#283272) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283272 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi,

Well, that's normal then.
If you set an access level to the product, then the users using the menu item link that don't have access to the product will be redirected to a 404 error page with the text "product not found", and then your template has a problem with the display of error pages.
So on HikaShop's end, it's actually working properly.
Now, I'm wondering why you're doing that ?
Why not instead restrict the menu item itself to the access level that you want ? That way, the menu item link won't be displayed when the user isn't in the correct user group.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")**
- [![joomleb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2322-joomleb "View joomleb's Profile") Topic Author
- [ Offline](/forum/user/2322-joomleb)

Less More

- Posts: 461
- Thank you received: 36
-
-

8 years 11 months ago [\#283362](#283362) by [joomleb](/forum/user/2322-joomleb "View joomleb's Profile")  Replied by *[joomleb](/forum/user/2322-joomleb "View joomleb's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283362 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi Nicolas,
**A** - "*Now, I'm wondering why you're doing that ? Why not instead restrict the menu item itself to the access level that you want ? That way, the menu item link won't be displayed when the user isn't in the correct user group.*" = Because I want attract new users, so all users should see products, but for some of them, if you are not a subscriber added to a specific usergroup, you cannot buy them.

**B** - "*So on HikaShop's end, it's actually working properly*" = S, this is why in my first post here I described:

--- If I set a "HikaShop Category menu" and I'm not part of the joomla group, clicking on the menu link the content template is not shown;
--- If I set a "hikaShop Product menu" and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!

And "I suggested":
**1** - I think the correct behaviour is the category menu one... a totally blank page is really awful (is bettere the category behaviour)
**2** - How to have back the standard joomla red error message: "You are not authorized to view this content" ? I suppose this should be the right behaviour. Having back a blank content or a 404 Error page leave the users with doubt that something is not running.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 11 months ago [\#283364](#283364) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#283364 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hello,

ACL on product means that users can or cannot see/access the product.
If you don't want to let user buy the product ; use ACL on the prices !

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")**
- [![marremp2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35420-marremp2 "View marremp2's Profile")
- [ Offline](/forum/user/35420-marremp2)

Less More

- Posts: 71
- Thank you received: 3
-
-

7 years 11 months ago [\#300465](#300465) by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")  Replied by *[marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#300465 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hello,

I have the same issue.

I have two free products, one is allowed to be ordered by everyone, the other one is allowed only for users from a certain usergroup.

When "standard" users try to see the unauthorized users, they arrive on the 404 page.

I tried to use ACL on prices but it seems that it is not possible for free products ?

Thank for your help

Marina

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

7 years 11 months ago [\#300468](#300468) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product access level restriction &gt; blank page](/forum/32-content-creation/892829-product-access-level-restriction-blank-page#300468 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1.9 -- Browser(s) name and version -- : Chrome 62  Hi guys, I set a group restriction for my product. --- If I set a &quot;HikaShop Category menu&quot; and I'm not part of the joomla group, clicking on the menu link the content template is not shown; --- If I set a &quot;hikaShop Product menu&quot; and I'm not part of the joomla group, clicking on the menu link I have back a totally blank page!  1 - I think the correct behaviour is the category menu one... a totally blank page is really awful. Please, Am I forgetting anything ? Or Can you confirm the behaviour ? 2 - How to have back the standard joomla red error message: &quot;You are not authorized to view this content&quot; ? I suppose this should be the right behaviour. Having back a blank content leave the users with doubt that something is not running.  Many Thanks for help")*

Hi,

What you can do is set a price of 0.00001
That way, the system will count it as a real price and you'll be able to use ACLs on it. However, the amount charged will still be 0.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODkyODI5LXByb2R1Y3QtYWNjZXNzLWxldmVsLXJlc3RyaWN0aW9uLWJsYW5rLXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.124 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
