WP e-Commerce Catalog Visibility


WP e-Commerce Catalog Visibility and Email Inquiry Lite Version allows you to fine tune the e-commerce accessibility on your WP e-Commerce store by setting ‘Rules’ that apply to all site visitors. Fine tune access to the e-commerce function for logged in users by assigning the Rules to WordPress user roles.

Add a space saving and impressive pop-up email inquiry form to your product offering. Pop-up Email Inquiry form is 100% mobile responsive and displays the form beautifully in any mobile in portrait or landscape.

Catalog Visibility Rules

  • Product Page Rule: Hide ‘Add to Cart’

    • Turn ON | OFF for not logged in users
    • Apply Rule by user role to logged in users.
  • Product Page Rule: Show Email Inquiry Button

    • Turn ON | OFF for not logged in users
    • Apply Rule by user role to logged in users

Apply Rules to Roles

Fine tune your entire Catalog visibility by * ‘Apply Rules to Roles’ – Configure which user roles each Rule is to Apply too. Fine grained control over what your account holders can see and access once they are logged into your site.

Product Page Rule – Hide ‘Add to Cart’

  • Turn the Rule ON and Hide the add to cart feature from all not logged in users.
  • Use Roles to give selected users grouped by Roles access to full store functionality.

Product Page Rule – Show Email Inquiry Button

WP e-Commerce Catalog Visibility and Email Inquiry Lite Version uses the WordPress email config and requires no external email plugin. Features

  • Instantly add a Product Email Inquiry button to every product page.
  • Option to use hyperlinked text instead of a Button.
  • Email Inquiry form is a pop up form. It is a beautifully elegant Email Product Inquiry solution that takes up no room on your product page.
  • Mobile responsive Pop-up auto resizes to any phone screen size – portrait or landscape.
  • Email Contact form breaks down to show beautifully in any mobile device.
  • Use ‘Rules and Roles’ setting to customize who can see the Email Inquiry button once they are logged in.
  • Set the receiver email address.
  • Set a receiver cc email address
  • Fully customizable Sent success message shows as a pop-up on screen after inquiry is submitted.
  • Use the WordPress text editor (WYSIWYG and HTML) to style the success message (see image under the Screenshots tab on this page).

Featuring Sass (Simply Awesome Stylesheets)

  • All the front end style display is created via Sass for faster loader and render.
  • Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.
  • This plugins backend admin panels are created in Sass.

WP e-Commerce Version Compatibility

Please note that WP e-Commerce Catalog Visibility and Email Inquiry requires that you have WP e-Commerce version 3.8.9 and after to work. Older versions of WP e-Commerce do not support the functions to hook the email inquiry button to the add to cart button.

WP e-Commerce Theme Compatibility

Whilst you might have version 3.8.9 your theme may still use an earlier version of code. For the Product Page Rules Hide Add to Cart and Show Email Inquiry button to work on the single product pages and product cards the theme must have these 2 core WP e-Commerce functions:

  • code do_action(‘wpsc_product_form_fields_begin’)
  • do_action(‘wpsc_product_form_fields_end’)

in these files:

  • wpsc-grid_view.php
  • wpsc-list_view.php
  • wpsc-products_page.php
  • wpsc-single_product.php

Mobile Responsive App style admin interface

  • 100% compatible with WordPress v3.8.0 admin interface.
  • Sass app style admin inteface.
  • Admin interface is optimized for mobiles and tablets.

a3rev Plugins Lite & Pro Version Admin Interface

  • All a3rev Lite Version plugins have exactly the same admin interface as the Pro Version.
  • Pro Version features and settings are inside of a Yellow border.
  • The Pro Version settings are all active on the admin panels But do not save and are not applied to the front end.
  • Upgrading to the Pro version activates all the Pro version Features and Settings and removes the Yellow side bar and borders.

Lite Version Support

  • As a Lite Version user please post all support requests to the plugins WordPress Support forum.
  • We do not watch that forum and posting there you will be relying on another user for support, not an a3rev team member.
  • Upgrading to a Pro Version gives ‘write’ access to the a3rev support forum.

= Premium Support =

The a3rev team does not provide support for the WPEC Catalog Visibility and Email plugin on the WordPress.org forums. One on one developer support is available via the plugins a3rev support forum to people who have purchased a WPEC Catalog Visibility and Email Pro plugin Lifetime License.

The Pro Version has lots of extra features that coupled with developer support might be well worth your investment!

Pro Version

The PRO version advanced features include:

Hide Product Prices

  • Includes the additional Product Page Rule: Hide Product Prices.
  • Per Product Page Customization. Customize Product Page Rules for every individual product from the Product page Email and Cart meta.
  • Gives you tremendous flexibility in setting up a mixed ‘add to cart’ and product brochure store.

Sass #dynamic {stylesheets}

  • All the front end style display is created via Sass #dynamic {stylesheets} for faster loader and render.
  • Completely Customize the look and feel of the plugins front end display without touching the code.
  • Sass #dynamic {stylesheets} Email Inquiry button creator – create unique button style.
  • Sass #dynamic {stylesheets} pop-up form creator – style your email pop-up form without touching the code.
  • Option to show the Email Inquiry Button or Hyperlink text on product card (Grid View)

Additional Email Inquiry options

  • Option to allow the sender to send a copy of the Email Inquiry form they are submitting to themselves.
  • Set Email Sender Options – Set the email ‘From Name’ and ‘From Email Address’

And for ultimate control:

Custom Single Product Page behaviour

  • Customize Catalog visibility settings and email inquiry settings on any single product page.
  • Over-ride any of the global Catalog Visibility options from the product page.
  • Change the Email Inquiry form primary recipient and cc recipient
  • Change Button for linked text and visa versa – Change button title or link text.
  • Only show this products settings on the single product page or on all catalog listing thumbnails.


  • English (default) – always included.
    *.po file (wpec_pcf.po) in languages folder for translations.
  • If you do a translation for your site please send it to us for inclusion in the plugin language folder. We’ll acknowledge your work here. Go here to send your translation files to us.

Plugin Resources

PRO Version |


  1. Install and activate the plugin

  2. Go to wp-admin dashboard > WPEC Catalog & Email Inquiry Lite menu

  3. Rules & Roles menu to set product page rule > Hide Add to Cart.

  4. Email Inquiry menu to set product page rule > Show Email Inquiry Button and configure the email.

  5. Have fun.


  • Transform WP e-Commerce into a brochure site
  • WP e-Commerce pop-up email form
  • After email sent success message that shows in the pop-up window.
  • The email you receive with attractive styling built in.


Minimum Requirements

  • WordPress 3.7.0
  • WP e-Commerce
  • PHP version 5.2.4 or greater
  • MySQL version 5.0 or greater

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install of WP e-Commerce Catalog Visibility and Email Inquiry Lite, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type “WP e-Commerce Catalog Visibility and Email Inquiry” and click Search Plugins. Once you have found our plugin you can install it by simply clicking Install Now. After clicking that link you will be asked if you are sure you want to install the plugin. Click yes and WordPress will automatically complete the installation.

Manual installation

The manual installation method involves downloading our plugin and uploading it to your web server via your favourite FTP application.

  1. Download the plugin file to your computer and unzip it
  2. Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installations wp-content/plugins/ directory.
  3. Activate the plugin from the Plugins menu within the WordPress admin.


When can I use this plugin?

You can use this plugin only when you have installed the WP e-Commerce plugin.

Contributors & Developers

“WP e-Commerce Catalog Visibility” is open source software. The following people have contributed to this plugin.



1.2.5 – 2016/04/22

  • Tweak – Tested for full compatibility with WP-eCommerce Version 3.11.2
  • Tweak – Tested for full compatibility with WordPress major version 4.5.0
  • Fix – call session_start() before html is printed on screen to fix PHP warning

1.2.4 – 2015/08/24

  • Tweak – include new CSSMin lib from https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port into plugin framework instead of old CSSMin lib from http://code.google.com/p/cssmin/ , to avoid conflict with plugins or themes that have CSSMin lib
  • Tweak – make __construct() function for ‘Compile_Less_Sass’ class instead of using a method with the same name as the class for compatibility on WP 4.3 and is deprecated on PHP4
  • Tweak – change class name from ‘lessc’ to ‘a3_lessc’ so that it does not conflict with plugins or themes that have another Lessc lib
  • Tweak – Added new options into Settings -> Permalinks page on Dashboard
  • Tweak – Tested for full compatibility with WordPress major version 4.3.0
  • Tweak – Tested for full compatibility with WP-eCommerce major version 3.9.5
  • Fix – Check ‘request_filesystem_credentials’ function, if it does not exists then require the core php lib file from WP where it is defined

1.2.3 – 2015/06/03

  • Tweak – Tested for full compatibility with WordPress Version 4.2.2
  • Tweak – Security Hardening. Removed all php file_put_contents functions in the plugin framework and replace with the WP_Filesystem API
  • Tweak – Security Hardening. Removed all php file_get_contents functions in the plugin framework and replace with the WP_Filesystem API
  • Fix – Update dynamic stylesheet url in uploads folder to the format //domain.com/ so it’s always is correct when loaded as http or https

1.2.2 – 2015/05/05

  • Tweak – Tested for full compatibility with WordPress Version 4.2.1
  • Fix – Removed check_ajax_referer() call on frontend for compatibility with PHP caching plugins. Was returning -1 to js success call-back.

1.2.1 – 2015/04/24

  • Tweak – Tested and Tweaked for full compatibility with WordPress Version 4.2.0
  • Tweak – Tested and Tweaked for full compatibility with WP e-Commerce Version 3.9.3
  • Tweak – Changed WP_CONTENT_DIR to WP_PLUGIN_DIR. When admin sets a custom WordPress file structure then it can get the correct path of plugin
  • Tweak – Update style of plugin framework. Removed the [data-icon] selector to prevent conflict with other plugins that have font awesome icons
  • Fix – Sass compile path not saving on windows xampp.

1.2.0 – 2014/09/16

  • Feature – Converted all front end CSS #dynamic {stylesheets} to Sass #dynamic {stylesheets} for faster loading.
  • Feature – Convert all back end CSS to Sass. – 2014/09/09

  • Tweak – Updated google font face in plugin framework.
  • Tweak – Tested 100% compatible with WP e-Commerce
  • Tweak – Tested 100% compatible with WordPress Version 4.0 – 2014/06/23

  • Tweak – Updated chosen js script to latest version 1.0.1 on the a3rev Plugin Framework
  • Tweak – Added support for placeholder feature for input, email , password , text area types
  • Tweak – Updated plugins description text and admin panel yellow sidebar text.
  • Fix – Add @ prefix for called session_start() function to fix the header warning – 2014/05/24

  • Tweak – Chnaged add_filter( ‘gettext’, array( $this, ‘change_button_text’ ), null, 2 ); to add_filter( ‘gettext’, array( $this, ‘change_button_text’ ), null, 3 );
  • Tweak – Update change_button_text() function from ( $original == ‘Insert into Post’ ) to ( is_admin() && $original === ‘Insert into Post’ )
  • Tweak – Checked and updated for full compatibility with WP e-Commerce Version and WordPress version 3.9.1
  • Fix – Code tweaks to fix a3 Plugins Framework conflict with WP e-Commerce tax rates.

1.1.1 – 2014/04/29

  • Tweak – a3rev Plugin Framework upgrade – all switch text show UPPERCASE
  • Tweak – Updated plugins wp-admin menu item vector image.
  • Tweak – Updated Framework help text font for consistency.
  • Tweak – Added description text to the top of each Pro Version yellow border section
  • Tweak – Added remove_all_filters(‘mce_external_plugins’); before call to wp_editor to remove extension scripts from other plugins.
  • Tweak – Added Custom encode to prevent email clients automatically adding tag to URL’s in form message.
  • Tweak – Checked and updated for full compatibility with WP e-Commerce Version 3.8.13 and WordPress version 3.9
  • Fix – Email Inquiry sending duplicate emails on themes that have script that duplicate the click event

1.1.0 – 2013/12/17

  • Feature – a3rev Plugin Framework admin interface upgraded to 100% Compatibility with WordPress v3.8.0 with backward compatibility.
  • Feature – a3rev framework 100% mobile and tablet responsive, portrait and landscape viewing.
  • Tweak – Upgraded dashboard switch and slider to Vector based display that shows when WordPress version 3.8.0 is activated.
  • Tweak – Upgraded all plugin .jpg icons and images to Vector based display for full compatibility with new WordPress version.
  • Tweak – Yellow sidebar on Quotes & Orders, Read More and Email Inquiry Ulimate Menus doe not show in Mobile screens to optimize screen space.
  • Tweak – Tested 100% compatible with WP 3.8.0

1.0.9 – 2013/12/03

  • Feature – Added Roles based Rules – Apply Rules after users log in on a per role basis for Hide the Cart, Hide the Price (new Pro Version Feature) Rules and show Email Inquiry button Rules.
  • Tweak – Added Rules & Roles Trouble Shooting text under Show | Hide switch on Rules and Roles menu and Email Inquiry settings menu.
  • Tweak – Changed Main menu item name to from WPEC Cat & Email to WPEC Catalog & Email Lite.
  • Tweak – Updated the WordPress plugins.php listing description text to reflect the new upgraded functionality of the plugin.
  • Fix – Replaced ‘Hide Add to Cart’ function .remove(); with .hide(); so that any other plugin that requires the add to cart function to hook to can still work e.g. WP e-Commerce Compare Products.
  • Fix – Upgraded array_textareas type for Padding, Margin settings on the a3rev plugin framework

1.0.8 – 2013/12/02

  • Feature – Major plugin upgrade. Full code rework.
  • Feature – Upgraded the plugin to the newly developed a3rev admin Framework with app style interface.
  • Feature – Moved admin from wp dashboard > Settings > Store > Tab to own dashboard menu item called WPEC Catalog & Email.
  • Feature – WPEC Catalog & Email sub menus, Rules & Roles | Email Inquiry
  • Feature – Rules & Roles menu – Product Page Rule ‘Hide add to Cart’ – Added setting to ON or OFF for logged in users independent of not logged in users.
  • Feature – Email Inquiry menu broken up into tabs – Settings | Default Form | Button Style
  • Feature – Email Inquiry > Settings menu. Product Page Rule – Show Email Inquiry Button – Added setting to ON or OFF for logged in users independent of not logged in users.
  • Feature – Email Inquiry > Settings menu. Product Cards feature – Option to turn email inquiry ON | Off on product cards independent of the product page.
  • Feature – Added House Keeping function to settings. Clean up on Deletion. Option – If ever deleted (not deactivated) this plugin it will completely remove all tables and data it has created.
  • Feature – Email Inquiry > Default Form > Setting menu – Inquiry Email goes to feature. Option to set an alternative email address to the WPEC admin email address.
  • Feature – Email Inquiry > Default Form > Setting menu – cc email address feature. Option to add a cc email address for inquiries submitted.
  • Feature – Email Inquiry > Default Form > Default Form Style menu – Default Form Header Title – allows to set the pop-up form title to something other than the button title which is the default setting.
  • Feature – Email Inquiry > Default Form > Default Form Style menu – Form Send submit button – allows to set the pop-up form send button text.
  • Feature – Email Inquiry > Default Form > Default Form Style menu – Activated Success Message – allows to create a custom email successfully sent pop-up message.
  • Feature – Email Inquiry > Button Style – Added option to select between Button | Hyperlinked Text for the inquiry display.
  • Feature – Email Inquiry > Button Style – Added option to position the Email Inquiry Button | Hyperlinked text above or below the relative position of the add to cart button.
  • Feature – Email Inquiry > Button Style. Added option to set padding in px above, below, left & right for the Email Inquiry button / Hyperlink.
  • Feature – New admin UI features check boxes replaced by switches, some dropdowns replaced by sliders.
  • Feature – Added intuitive triggers for admin panel settings. When selected corresponding feature settings appear.
  • Tweak – Stricter sanitization of Default Form Message input field. Only allow input of plain text with auto paragraph on line break.
  • Tweak – Added function .replace(/^\s+|\s+$/g, ”) to check form for empty spaces for required fields Name, Email and Phone.
  • Tweak – Default Form Success Message Pop-up auto resizes to whatever the tall of the success message content is.
  • Tweak – Pop-up tools wide under 520px shows 100% wide of the screen for mobiles in portrait or landscape.
  • Tweak – Default Form – added static 20px content padding that auto reduces to 5px in tablets and mobiles.
  • Tweak – 100% Compatibility with WordPress Version 3.7.1
  • Tweak – 100% Compatibility with WP e-Commerce version .
  • Tweak – Rules and Roles – incorporate help message under each Product Page Rule – Show Email Inquiry Button. Show when the Rule is turned on.
  • Tweak – Updated translation submission URL
  • Tweak – Updated Lite Version support text on plugins description.
  • Fix – Default form success message showing HTML tags with text.
  • Fix – Did a full WP_DEBUG. All uncaught exceptions, notices, warnings and errors fixed.
  • Fix – Fixed up all existing typos on admin panel.
  • Fix – Plugins admin script and style not loading in Firefox with SSL on admin. Stripped http// and https// protocols so browser will use the protocol that the page was loaded with.
  • Fix – Script validate email for default contact form. Old script conflicted with WordPress 3.6.0 jQuery 1.10.2. Conflict caused the popup tools to break.
  • Fix – Added box-sizing:content-box class attribute for compatibility with new WordPress Twenty Thirteen default theme.
  • Fix – stripslashes the value are entered in Inquiry email content.

1.0.7 – 2013/06/28

  • Tweak – Updated plugins support forum link to the wordpress support forum.
  • Fix – Replaced hardcode iso-8859-1 charset to dynamic get_option(‘blog_charset’)
  • Fix – Updated all JavaScript functions so that the plugin is compatible with jQuery Version1.9 and backwards to version 1.6. WordPress still uses jQuery version 1.8.3. In themes that use Google js Library instead of the WordPress jQuery then there was trouble because Google uses the latest jQuery version 1.9. There are a number of functions in jQuery Version 1.9 that have been depreciated and hence this was causing errors with the jQuery function in the plugin.
  • Fix – Removed Email form po-up pre-set 500px width. Replaced by auto wide from fancybox script.
  • Fix – Added when install and activate plugin link redirects to the plugins dashboard instead of the wp-plugins dashboard.

1.0.6 – 2013/04/22

  • Tweak – Updated all plugin code to be 100% compatible with the new WP e-Commerce version 3.8.10. The plugin is backward compatible with older version to 3.8.5

1.0.5 – 2013/01/25

  • Tweak – Added an on screen Attention message if the plugin does not find a WP e-Commerce store admin email address. Notifies the user that the WordPress admin email address is being used by the plugin as the ‘send to’ address and asks the user to add a WP e-commerce Store email address.
  • Fix – Email Delivery address – when the plugin is installed it now checks for WP e-Commerce Store Admin Email address and uses that if one has been entered. If it does not find a Store Admin Email Address, then it checks for and uses the WordPress admin email address. The WP e-Commerce Store Admin Email address always takes priority the WordPress Admin email address. This means that if the Store admin address is entered after the WP e-Commerce Catalog Visibility an Email Inquiry is installed it auto becomes the plugins delivery address.

1.0.4 – 2013/01/19

  • Tweak – Added auto support for custom button type for ‘add to cart’ button so that our plugin can find the add to cart button on themes that use custom button code.

1.0.3 – 2013/01/09

  • Tweak – Updated Support and Pro Version link URL’s on wordpress.org description, plugins and plugins dashboard. Links were returning 404 errors since the launch of the all new a3rev.com mobile responsive site as the base e-commerce permalinks is changed.

1.0.2 – 2012/08/27

  • Tweak: Updated WordPress description text and readme to show the WP e-Commerce do_action functions that must be included in themes for the Email Button to show. Some older themes don’t have updated function and even though users have the WP e-commerce version the button can’t show.
  • Fix – Combined button and pop-up window style scripts in one script to overcome javascript conflict with some IE javascript styling scripts.
  • Documentation – Plugin documentation completed.

1.0.1 – 2012/08/25

  • Tweak – Removed left and right 10px float and set so button left / right float is the same as the add to cart button.
  • Fix – Moved style from header to footer to resolve plugin breaking themes css in IE 7, 8 and 9

1.0.0 – 2012/08/23

  • First Release.