Skip to content

Global Settings

The Global Settings tab contains the main operational controls for the entire plugin, affecting how discounts are calculated and displayed across your store.

Global Options

Enable Discount Add-on

Enable Discount Add-on

This is the master "on/off" switch for CampaignBay.

  • ON (Green): The plugin is active and will apply discounts to your store.
  • OFF (Grey): The entire pricing engine is disabled. No discounts will be calculated or applied. This is a quick way to temporarily pause all campaigns.

Bulk Table Position

Bulk Table Position

Controls where the "Quantity Discount" pricing table appears on product pages.

OptionPlacement
Below CartDirectly below the "Add to Cart" button
Above CartDirectly above the "Add to Cart" button
Below MetaBelow product metadata (SKU, Category)
Above MetaAbove product metadata

Discount Bar Position

Discount Bar Position

Controls where promotional bars (for Scheduled or BOGO discounts) appear on product pages.

OptionPlacement
Below CartBelow the "Add to Cart" section
Above CartAbove the "Add to Cart" section
Below MetaBelow the product metadata
Above MetaAbove the product metadata

Calculate Discount From

Calculate Discount From

Determines which price is used as the base for discount calculations.

  • Regular Price: Always calculates from the product's original price, ignoring any existing WooCommerce sales.
  • Sale Price: If a product is already on sale in WooCommerce, the discount is calculated from that reduced price (prevents deep stacking).

Debugging & Logging

Enable Debug Mode

Enable Debug Mode

When checked, the plugin logs detailed process information for troubleshooting.

Debug Mode Enabled

Once enabled, two action buttons appear:

  • View Logs: Opens the Debug Log Viewer modal.
  • Clear Log Files: Purges all current log history.

Debug Log Viewer

Debug Log Viewer

The log viewer provides:

  • Select Log Date: Choose which day's logs to view.
  • Refresh: Reload the current log file.
  • Download: Save the log file locally for sharing with support.
  • Clear Log Files: Permanently delete all log entries.

TIP

Enable Debug Mode when diagnosing issues. Remember to disable it in production to avoid performance overhead.


Next Steps

Continue exploring the settings for products and messaging.

Released under the GPL-2.0 License.