Originally Posted by
JimmyV
Can you clarify the following
1) If I restrict a category it stops showing to those not with access in general and on menus
- Correct
2) If I restrict category then those with access should see it (but dont) in their side category menu and in general
- Correct only those with access with see it.
3) If I restrict everything the new and special etc products still show up like normal regardless of access level.
- The new release for 1.53 will have the patch for this bug
Because... If I restrict everything I still see products in new etc...
- This bug existed because there were no restriction filters in the new and all products code. The original stock Zen Cart had these categories turned off very early in the project.
If I restrict a category it is not shown in the menu even though client should be able to see it since they are a non-restricted code.
- This is where people get confused. You develop the restriction levels. Therefore, if you were to restrict access to one category, then only the customer with the same restriction number will be able to see it. All of the other categories will be available to everyone assuming they have the default restriction code. If you add the same restriction code to two or more customers each of those customers will see it.
Very confused on why this is not working.
Also the instructions are very very difficult to understand.
I do not understand why sql patches are written in there v being provided as an sql file to install. And I do not understand why dozens of pages of code are in here (I assume to explain what is in your actual files) when they are likely handled by me and others using a winmerge.
And patch c is all written at end v in the files so not sure if that is already in this package or we have to manually do all the changes in area c of instructions.
Sorry concept great but I don't want to learn what you have accomplished here unless I test it and like it.
- The code is written in a top-to-bottom install set. The additional patches at the bottom were added to the original text to ensure those with the first release could patch their Zen Cart all the way to the most recent patch - at the bottom of the document.
- The new release for 1.53 will resolve these issues.
- Also, adding the fileset is not ideal, as many clients are adding this to existing Zen Carts. Step by step instructions with example code to follow along allows the programmer to install these restrictions within the correct cycle or loop within the code. Failure to include the restrictions in the correct location will result in a security breach of course. And, just imagine trying to uninstall this package if you couldn't reverse the steps one by one... Yes we all make backups, but that doesn't mean they always work ;)
Bookmarks