Over 200 add-ons available under a single subscription for $40 per month!

Integration with LitRes service

Flexible integration with the book marketplace. Create your own bookstore..
Please enter a valid addres(es) of the shop where you are going to use the add-on.
By subscription 23 500 ₽
Latest module version Updated:
Have questions about the module? Write to us: HelpDesk

Integration with the LitRes service

This add-on is part of our Subscription plan.

Subscribe once — enjoy all add-ons without limits.

The add-on helps connect CS-Cart with LitRes: import books, map genres and features, deliver digital files to buyers, and notify the service about sales automatically.

What it is for

  • to build a book catalog based on LitRes;
  • to import books and their updates into CS-Cart;
  • to link LitRes genres with store categories;
  • to give the buyer access to the files after purchase;
  • to notify LitRes about a sale automatically through the order status.

Key features

  • importing fresh books by work type and by update period;
  • creating and updating genre categories from LitRes;
  • mapping the author, series, series number, and ISBN to CS-Cart features;
  • assigning the vendor who will own the imported products;
  • delivering files through the standard CS-Cart digital product flow;
  • a test mode for checking the integration without live requests.

How it works

The add-on receives data from LitRes using the connection keys and taking the test mode into account, then creates or updates books, genres, and service data in CS-Cart. After payment, the order can send a sale notification to LitRes, and the buyer gets access to the book files through the built-in digital product delivery.

The import is started from the add-on settings: there are separate pages for updating the genre list and for loading fresh books by type and period. In addition, sending the sale request is enabled in the order status card.

Have questions about the add-on?

Write to us.


Product:
  • Store Builder
  • Store Builder Ultimate
  • Multi-Vendor
  • Multi-Vendor Plus
  • Multi-Vendor Ultimate
Recipient:
  • Owners
Development
:
  • Backend
  • Frontend
Localization:
  • English
  • Русский
Compatible versions:
  • 4.20
  • 4.19.X
  • 4.18.X
  • 4.17.X
  • 4.16.X
  • 4.15.X
  • 4.14.X
  • 4.13.X
  • 4.12.X

Instructions for the “Integration with the LitRes service” add-on

What the add-on does

The add-on works with the LitRes book catalog and lets you:

  • import genres and books into CS-Cart;
  • create and update digital products from LitRes data;
  • map genres, author, series, series number, and ISBN to store features;
  • deliver files to the buyer after payment;
  • send a sale notification to LitRes through the order status;
  • run updates for fresh books by type and by period.

Where to find the add-on

The settings are available in the Integration with the LitRes service add-on card under Add-ons → Manage add-ons. The settings are split into the Connection, General, and Launch information tabs.

The separate sale notification option is enabled in the order status card under Administration → Orders → Order statuses. Digital product sales must be enabled in the store for the add-on to work.

Connection

On the Connection tab, enter:

  • Partner ID;
  • Secret key;
  • Notification secret key;
  • Download domain;
  • Order status for a failed sale rejection from LitRes;
  • Test mode.

In test mode, the add-on uses LitRes test requests and helps you check the flow without live notifications.

General settings

On the General tab, set up the links to the LitRes catalog:

  • Category for the LitRes genre tree — genres are imported there;
  • Author — a feature of type “Checkbox group”;
  • Series — a feature of type “Text or number”;
  • Series number — a feature of type “Text or number” with the correct role on the feature card;
  • ISBN — a feature of type “Text or number” with the correct role on the feature card;
  • Vendor — the vendor who will own the imported products.

Launch information

This tab contains the pages for running the LitRes data import.

Updating the genre list is done on the page:

admin.php?dispatch=ms_litres_integration.get_genres_list

This page loads the genre tree, creates or updates categories in the selected parent category, and uses the vendor from the settings.

Updating products is done on the page:

admin.php?dispatch=ms_litres_integration.get_fresh_book

Supported parameters:

  • product_type — work type;
  • from — date in YYYY-MM-DD format;
  • days — interval in days;
  • minutes — interval in minutes.

If product_type is not passed, the add-on updates types 0, 1, and 11. If from is provided, the period is split into intervals and updates are requested in parts.

Working with products

After import, a book becomes a standard CS-Cart digital product:

  • LitRes data is filled in on the product;
  • book files are created or updated;
  • on the storefront, the file link is replaced with a LitRes download address;
  • the download count is limited by the file setting.

Sale notification

  1. Open the required order status.
  2. Enable Send request to LitRes about a sale.
  3. Move the order to this status after payment.

If LitRes returns an error, the add-on moves the order to the status from the “Order status for a failed sale rejection from LitRes” setting.

How to check the result

  1. Enable digital product sales.
  2. Fill in the LitRes connection settings.
  3. Choose the genre category, features, and vendor.
  4. Run the genre update.
  5. Run the product update.
  6. Check the imported book card and the download file.
  7. Move a test order to a status with the LitRes sale request enabled.
  8. Make sure the buyer sees the file and the order follows the expected notification flow.

Typical problems

  • The import loads nothing. Check the Partner ID, the secret key, and the test mode in the connection settings.
  • Genres are not created. Check the selected genre tree category and the permissions of the vendor who owns the products.
  • The sale notification is not sent. Check that the LitRes sale request option is enabled for the required order status.

Changelog

v1.0.5

[*] The add-on has been updated to the current module template.

v1.0.4 14.10.2026

[*] Replaced short v1.0.3 from 2022-12-26.

[+] Module standardization.

v1.0.2 from 2022-10-09

[+] Module standardization.

v1.0.1 from 2022-07-18

[*] Module code standardization.

v1.0.0 from 2021-11-10

[+] First release.

Legend:

[+] Added

[-] Removed

[*] Changed

[!] Bug fixed

Reviews

Here you can share your opinion and evaluate our work.

Your feedback helps us become better and offer you even better service.

Similar add-ons