Telegram New Products Notifier for ocStore

Telegram New Products Notifier for ocStore
Model: Telegram-Products
Brand: Handmade

Payment
To a bank account
To a bank account
By card
By card
Delivery
Delivery ROZETKA
To the department
49 ₴
Delivery by Nova Poshta
To the branch, parcel terminal, address delivery
from 100 ₴
Delivery by Ukrposhta
To the department
from 70 ₴
Meest Delivery
To the department
from 80 ₴
In stock 10
480 грн.

Description Telegram New Products Notifier for ocStore

This PHP script automatically sends notifications about new products from the ocStore 3.0.3.7 database to the Telegram channel.


Main functions:

  • Search for new products – the script checks the database for products that have not been sent yet.
  • Category filtering – sends only products from allowed categories ($allowed_categories).
  • Message limit – you can configure how many products to send in one run ($message_limit).
  • Repeat protection – saves the ID of sent products to a file (last_sent_product_id.txt).
  • Message formatting – includes the name, description, price, and link to the product.
  • Security – uses file locking (flock) to prevent conflicts when running in parallel.


Settings and where to get them:

1. Database settings (ocStore 3.0.3.7)

$db_host – DB host (usually localhost).

$db_name – store database name.

$db_user – DB user.

$db_pass – user password.

Where to get it?

Config.php file in the root of ocStore or in the /system/storage/ folder.


2. Telegram settings

$bot_token – bot token (get from @BotFather).

$chat_id – chat/channel ID (can be found via @getmyid_bot).


3. Basic script settings

$last_sent_file – path to the file where the IDs of sent products are stored.

$message_limit – how many products to send per run (default 1).

$max_ids_in_file – ID storage limit in the file (so that it does not grow).

$base_site_url – main site URL (for example, https://your-site.com/).

$allowed_categories – array of allowed category IDs (can be obtained from the oc_category table).


How to use?

Create a Telegram bot via @BotFather and add it to the channel.

Configure access to the database (check login/password in config.php ocStore).

Run the script on a schedule (via Cron)

 

General
Country of origin of the product Ukraine

Reviews about Telegram New Products Notifier for ocStore

0
0
Login
0
0%
0
0%
0
0%
0
0%
0
0%
There are no reviews for this product.

Questions and Answers (FAQ) Telegram New Products Notifier for ocStore

There are no questions about this product..
Bestsellers
TOP SALES
Water dispenser plastic. 10 liters
In stock
Model: 3220D
In the absence of a central water supply for summer cottages, the issue of hygiene requires specific..
195 грн.
TOP SALES
Dry food for adult dogs Baskerville SENSITIVE. (20 kg)
In stock
Model: 1000033S
Dogs with sensitive digestion require a special diet. Taking into account their characteristics, Bas..
2930 грн.
TOP SALES
Wet food for dogs Вaskerville. Holistic with salmon and beef with parsnips, spinach and herbs, 800 g (pack of 6)
In stock
Model: 51735019
Canned holistic dog foodBaskerville Holistic Canned Food is a complete wet food for dogs with normal..
1220 грн.
TOP SALES
Wet dog food Вaskerville with venison, blueberries and spirulina, 800 g (pack of 6)
In stock
Model: 51735016
Super premium food for dogs with sensitive digestion and older dogs.Baskerville canned food is a com..
1220 грн.
TOP SALES
Dry food for adult dogs Baskerville. HF Adult. (20 kg)
In stock
Model: 1000033
Baskerville premium dry dog ​​food contains all the necessary nutrients, vitamins and microelements ..
2720 грн.
Product reviews
More..
Рекомендую Игровой набор 4SF Manga Dolls серии Hello Kitty – Стильная Конфетка-единорог, если сомневаетесь.
Ирина Зайцева 2 August 2026
Користуюсь Масажний килимок MS 2886 із пластиковими камінцями вже кілька днів — все добре.
Оксана Морозова 26 July 2026
Отличный Картина по номерам "Яркий ара" 11721-AC 40х80 см, пользуюсь с удовольствием.
Николай Ткаченко 19 July 2026
Ask AI about a product
ChatGPT
icon_viber icon_teleg icon_whatsapp icon_email icon_callback