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:
- Strategies โ define the discount logic using formulas
- Campaigns โ apply strategies to specific products and time periods
๐ง Step 1: Create a Marketing Strategy
๐ Basic Strategy Setup
- Go to the Marketing tab in Botoscope admin panel
- Click STRATEGIES button
- Click “NEW MARKETING STRATEGY”
- 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:
- Condition โ when the discount applies (cart quantity rules)
- Discount โ how much to discount (percentage or fixed amount)
- 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 |
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)
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
- Click the CAMPAIGNS button
- Click “NEW MARKETING CAMPAIGN”
- 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

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:
- Add your Telegram Admin Chat ID to
wp-config.php:define('BOTOSCOPE_ADMIN_CHAT_ID', 1234567890); - Toggle “Test mode” ON in campaign settings
- Campaign becomes visible only to you in Telegram
- Test checkout and discount calculations
- 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
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