Botoscope includes a powerful marketing system that lets you create flexible discount strategies and run promotional campaigns directly in your Telegram store. This feature is perfect for seasonal sales, clearance events, or targeted product promotions.

๐Ÿ“‹ How It Works: Two-Step Process

The marketing system consists of two parts:

  1. Strategies โ€” define the discount logic using formulas
  2. Campaigns โ€” apply strategies to specific products and time periods

๐Ÿ”ง Step 1: Create a Marketing Strategy

๐Ÿ“ Basic Strategy Setup

  1. Go to the Marketing tab in Botoscope admin panel
  2. Click STRATEGIES button
  3. Click “NEW MARKETING STRATEGY”
  4. Fill in the following fields:
    • Title โ€” internal name for your reference (e.g., “Black Friday”, “Buy 2 Get 1”)
    • Description โ€” internal note explaining the strategy logic

๐Ÿงฎ Understanding Discount Formulas

After creating a strategy, you must define at least one formula. Click “MANAGE” next to your strategy to add formulas.

Formula Structure:

Every formula follows this pattern:

condition ; discount ; modifiers

Three parts that define your discount:

  1. Condition โ€” when the discount applies (cart quantity rules)
  2. Discount โ€” how much to discount (percentage or fixed amount)
  3. Modifiers โ€” additional rules (which items, intervals, limits)

๐Ÿ“ Complete Example with Breakdown:

c >= 6 & c < 12; 25%; 3n, me, cap=3
Part Code Meaning
Condition c >= 6 & c < 12 Cart count must be 6 or more AND less than 12 items
Discount 25% Apply 25% discount
Modifiers 3n, me, cap=3 Every 3rd item, most expensive only, max 3 items affected

โœ… In plain:

“When customer buys 6-11 items, give 25% off every 3rd most expensive item, up to 3 items maximum”

๐Ÿ”ง Condition Operators:

Operator Example Meaning
c >= 3 Greater or equal 3 or more items in cart
c < 10 Less than Fewer than 10 items
c = 5 Equals Exactly 5 items
c >= 3 & c < 6 Range condition Between 3 and 5 items

๐Ÿ’ฐ Discount Values:

  • 50% โ€” percentage discount (50% off)
  • 100% โ€” free item (100% off)
  • 10 โ€” fixed amount (e.g., $10 off)

๐ŸŽ›๏ธ Available Modifiers:

Modifier Meaning Use Case
mc Most cheap (cheapest item) Discount lowest-priced item
me Most expensive Discount highest-priced item
2n Every 2nd item (positional) Items at positions 2, 4, 6…
3n Every 3rd item (positional) Items at positions 3, 6, 9…
cap=3 Maximum items affected Limit discount to 3 items max
โš ๏ธ Important:
2n and 3n refer to positional intervals in the sorted cart, not grouping. For example, 2n means “apply to every 2nd position” โ€” not “buy 2 get discount.”

๐Ÿ“š Common Formula Examples:

Buy 2, Get Cheapest 50% Off:
c>=2; 50%; mc

Buy 3, Get Cheapest Free:
c>=3; 100%; mc

Buy 2, Get 50% Off Second One:
c>=2; 50%; 2n, mc

Buy 3+, Every 2nd Item Free:
c>=3; 100%; mc, cap=2

โšก Multiple Formulas: Last One Wins

You can add multiple formulas to create tiered discounts. However, remember:

  • โœ… One product = one active formula
  • โœ… Last matching formula takes priority
  • โœ… Order matters โ€” arrange formulas from least to most generous
Example Strategy with Multiple Formulas:

Formula 1: c>=2; 50%; mc
Formula 2: c>=3; 100%; mc, cap=2

Result:
- Cart with 2 items โ†’ 50% off cheapest (Formula 1)
- Cart with 3+ items โ†’ 2 cheapest items free (Formula 2 wins)
๐Ÿ’ก Best Practice:
Keep formulas simple and avoid overly complex combinations. Customers should easily understand the discount logic.

๐Ÿ“ข Step 2: Create a Marketing Campaign

Once you have a strategy with formulas defined, create campaigns to activate them for your customers.

๐ŸŽช Campaign Setup

  1. Click the CAMPAIGNS button
  2. Click “NEW MARKETING CAMPAIGN”
  3. Configure the campaign:
    • Description โ€” customer-facing title (e.g., “Black Friday – 50% OFF”)
    • Strategy โ€” select which strategy to apply
    • Date Range โ€” set start and end date/time
    • Active Toggle โ€” enable or disable the campaign

๐Ÿ’ก Important:
Only one campaign can be active at a time. Activating a new campaign automatically disables the previous one.

๐ŸŽฏ Apply to Specific Products

By default, campaigns apply to all products. To target specific items, click “MANAGE PRODUCTS”.

๐Ÿ” Product Search Options:

  • By name โ€” type 3+ characters (e.g., “shirt”)
  • By product ID โ€” type exact ID (e.g., 123)
  • Show all variations โ€” use v[ID] format

โœ… Pro Tip: Finding Variations

To display all variations of a variable product (e.g., different sizes/colors), search using v27 where 27 is the parent product ID. The system will list all available variations.

Example:
Search: v27 Shows: Red/Large, Blue/Medium, Green/Small, etc.


๐Ÿงช Test Mode Feature

Test campaigns privately before launching to all customers.

Setup Test Mode:

  1. Add your Telegram Admin Chat ID to wp-config.php:
    define('BOTOSCOPE_ADMIN_CHAT_ID', 1234567890);
  2. Toggle “Test mode” ON in campaign settings
  3. Campaign becomes visible only to you in Telegram
  4. Test checkout and discount calculations
  5. Disable Test Mode when ready to launch publicly

๐Ÿ” How to find your Telegram Chat ID:

Open @userinfobot in Telegram and start the bot. It will display your Chat ID number.


๐Ÿšซ Important Limitations

  • ๐ŸŽซ Coupons disable marketing campaigns โ€” if a customer applies a coupon code, all marketing strategies are automatically disabled for that order to prevent discount stacking
  • ๐Ÿ”ข One formula per product โ€” strategies can have multiple formulas, but only one applies to each product
  • โฑ๏ธ One active campaign at a time โ€” activating a new campaign disables others automatically
โ›” Critical:
Marketing campaigns and discount coupons cannot be used together. When a coupon is applied, marketing discounts are disabled.

โœ… Campaign Best Practices

  • ๐Ÿ“… Schedule in advance โ€” set future start dates for automated launches
  • ๐ŸŽฏ Target slow movers โ€” use product selection for clearance items
  • ๐Ÿงช Always test first โ€” verify calculations with Test Mode
  • ๐Ÿ“Š Keep formulas simple โ€” complex logic confuses customers
  • โฐ Set end dates โ€” avoid running expired promotions accidentally

๐ŸŽ‰ Real-World Use Cases:

  • Black Friday โ€” Site-wide 50% off for 24 hours
  • Buy 2 Get 1 Free โ€” Encourage bulk purchases
  • Clearance โ€” Target specific SKUs (winter clothing, old stock)
  • VIP Deals โ€” Exclusive discounts on premium products
0
Awesome! 
Error!