Category Specific Access Restriction (CSAR)

Average Rating: 5
Description
The standard Zen Cart installation can be configured in Admin _ Configuration _ Customer Details asf:

Customer Shop Status - View Shop and Prices
Customer must be approved to shop
0= Not required
1= Must login to browse
2= May browse but no prices unless logged in
3= Showroom Only

Selecting any of these options assigns conditions 0-3 globally, meaning that every single category / product detail page is treated the same way.

This mod allows you to specify individual categories which can only be accessed by authorized customers (conditions 1 or 2). The prices of these categories are hidden and the 'Buy Now' button is replaced with '..more info..'

These categories can be configured via admin and the configuration is stored in the database.

The whole store continues to work as normal, customers can browse, see prices, add products to the cart and check out - with the exception of the specified categories.
+ Download Latest

Submit An Updated Version
Zen Cart® Versions v1.5.5
Original Author frank18
Last Updated by chibipaw - 5 Jul 2018
Downloads 1,517

Version History

Category Specific Access Restriction (CSAR)   -   Version: 2.2.1
Updated for Zen Cart 1.5.5f and PHP 7.x comparability.
Not tested on versions prior to ZC 1.5.5f and PHP 7.x
Fixed security circumvention bug. *All prior versions are vulnerable!*
  + Download
Zen Cart® Versions v1.5.5
Date Added 5 Jul 2018
Author chibipaw
File Size 158.4 KB
PHP 5.3 Safe? No
Downloads 140
 
Category Specific Access Restriction (CSAR)   -   Version: 2.1.2
Fixed bug in the installer which prevented the script to complete the installation process resulting in error accessing admin.   + Download
Zen Cart® Versions v1.5.4
Date Added 3 Nov 2015
Author frank18
File Size 147.4 KB
PHP 5.3 Safe? Yes
Downloads 193
 
Category Specific Access Restriction (CSAR)   -   Version: 2.1.1
Version 2.1.1 (2015-09-15)

Changes to installation procedure:

- added auto-installer to comply with latest Zen Cart plugin procedures
- eliminated the need of manually running sql install patch
- updated sql uninstall patch

changes to includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php:

- eliminated having to enter the master categories ID AND the corresponding full cPath (eg 4_12_100) in admin

- added snapshot to 'Login for price' so customer is automatically directed back to the selected product page after logging in

added appropriate code to 'Document Product' to incorporate this product type into CSAR

changes to includes/functions/functions_prices.php:

- made 'Login for price' in the listings 'clickable' (= directing to the login page)

Minor bug fixes

Updated readme.html file
  + Download
Zen Cart® Versions v1.5.4
Date Added 20 Sep 2015
Author frank18
File Size 147.6 KB
PHP 5.3 Safe? Yes
Downloads 65
 
Category Specific Access Restriction (CSAR)   -   Version: 2.0 (CSAR)
Version 2.0 of this plugin now allows you to ....

> hide prices of selected categories if the customer is not logged in. The prices of these categories are hidden and the 'Buy Now' button is replaced with 'Login for price'

> specify selected categories which can only be accessed by privileged customers, for example paid-up members. The customer must be logged in AND the customer must be individually authorized by the store owner to access the selected category / categories. Just being logged in does not automatically grant access to these 'privileged' categories. The authorization is done via the Admin > Customers file.

> specify manufacturers whose products are hidden and are only accessible by customers with special 'privileges'. This can be useful if the manufacturer imposes such a restriction upon online stores or if the range of their products is of sensitive nature.

These categories and manufacturers can be configured via admin and the configuration is stored in the database.

Please note that you cannot upgrade from version 1.0

Version 2.0 is *NOT* compatible with the original version 1.0 and has *NOT* been tested on the Zen Cart 1.3x series.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 20 May 2013
Author frank18
File Size 136.0 KB
PHP 5.3 Safe? Yes
Downloads 396
 
Category Specific Access Restriction (CSAR)   -   Version: 1.0
The standard Zen Cart installation can be configured in Admin _ Configuration _ Customer Details asf:

Customer Shop Status - View Shop and Prices
Customer must be approved to shop
0= Not required
1= Must login to browse
2= May browse but no prices unless logged in
3= Showroom Only

Selecting any of these options assigns conditions 0-3 globally, meaning that every single category / product detail page is treated the same way.

This mod allows you to specify individual categories which can only be accessed by authorized customers (conditions 1 or 2). The prices of these categories are hidden and the 'Buy Now' button is replaced with '..more info..'

These categories can be configured via admin and the configuration is stored in the database.

The whole store continues to work as normal, customers can browse, see prices, add products to the cart and check out - with the exception of the specified categories.

This mod has been tested to work with Zen Cart v1.3.9 but may work with prior versions - use at your own peril, better though: upgrade to v1.3.9
  + Download
Zen Cart® Versions v1.3.9
Date Added 1 Feb 2011
Author frank18
File Size 15.0 KB
PHP 5.3 Safe? Yes
Downloads 723
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR