Page 1 of 1

[UPDATED] Block Products & Pages

Posted: Fri May 11, 2018 5:09 am
by Johnathan

Current Version: v302.2 (release notes)

OpenCart Versions: 2.0.1.x - 3.0.2.x

To Purchase: Visit OpenCartX or

Image Image Image

This extension allows you to easily block any product or page in your OpenCart store, based on a variety of criteria. You can create as many blocks as you want, choosing by product, category, manufacturer, information page, or URL. You can also set a custom message displayed to the customer when they are blocked.

  • Upload and go — utilizes ocMod so no core file modifications are necessary.
  • Enjoy peace of mind: all settings are automatically saved to the database when changed, and are backed up to a backup file every time the admin panel is loaded. Settings can also be manually backed up, and then downloaded to restore from later, or to edit in a spreadsheet application.
  • Display a custom message when the block is activated, including HTML support.
  • Create blocks quickly and easily using the clean admin interface and intuitive rules system. Available rule types include:
    - Cart/Item Criteria: length, width, height, quantity, stock, total, volume, weight
    - Date/Time Criteria: day of the week, date, time
    - Location Criteria: city, country, distance, geo zone, location comparison, postcode, zone
    - Order Criteria: currency, customer group, language, store
    - Product Criteria: category, manufacturer, product, or build your own group
  • Build rule sets to apply multiple rules to a block at once. Re-use the same rule set to quickly create the blocks you need.
  • Group products, categories, and manufacturers together however you want to create Product Groups. These groups can then be used to determine when blocks apply.
  • Use the included Testing Mode to determine why blocks are not working as expected on the front-end, helping to debug complex rule interactions.

Note: this extension may not work with other extensions that generate their own page of products. It does work with all Clear Thinking extensions, including Extra Product Pages, Filter by Attribute Module, Filter by Price Module, Smart Search, Smart Search Pro, and Ultimate Filters Module.

Image Image Image Image Image Image Image Image Image Image Image

Re: [UPDATED] Block Products & Pages

Posted: Wed Oct 24, 2018 11:45 pm
by Johnathan
Updated to v302.2

Release Notes:

- Added: customer name, customer_id, IP address, and billing/shipping addresses are now recorded to the Testing Mode log for each test
- Added: ability to set a Google Maps API Key for distance rules (make sure to save the new setting if you're using distance calculations)

- Fixed: "Cannot pass parameter 1 by reference" error
- Fixed: "Undefined index: rule" error when block had no name or rules
- Fixed: products not assigned to categories or manufacturers were mistakenly getting blocked

- Updated: calls to Google Maps API now use curl
- Updated: distance calculations now occur after all other rules have been evaluated, to avoid unnecessary API calls to Google Maps