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.
23 500 
Latest module version 1.0.3 Updated: 26.12.2022
Have questions about the module? Write to us: HelpDesk
30 days for return
If you are not satisfied with the operation of the module, we will return your money with bonus points in your Personal Account
Bonus for review
We will give 1000 bonus points in your Personal Account for a review after purchasing the module
Multi-display
One price regardless of the number of display cases, no need to pay extra
Support
Free consultation and support on the module, assistance with installation
Discount for revision
We will give a discount of up to 50% on improvements to any functionality when purchasing a module from us

Integrate with the LitRes service add-on

The add-on allows you to set up integration with the LitRes bookstore. Information is requested from the service about genres, authors, and books. And the add-on sends information about payments to the library, and after receiving an answer to which, it can change the status of the order.

The process of obtaining information can be automated by adding queries to the cgop schedule.

Integration is carried out by the second scheme from the provided by LitRes when the online store receives only information about the books and the files themselves are stored and given for downloading from the platform of the library itself.

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

Setting

After the add-on is installed, in the add-on settings on the Settings → Connection tab you should specify the data for work received from the Litres service or check the Test mode to check the work of the add-on

Image

Next, you need to create a category for books and characteristics for products in this category. They have certain requirements (described in more detail in the settings)

Image

After that, for the initial synchronization you need to run the script once at [domain_site]/admin.php?dispatch=ms_litres_integration.get_genres_list to get the list of genres

After executing it, let's run the script

[domain_site]/admin.php?dispatch=ms_litres_integration.get_fresh_book&from=2013-01-01&days=1  to get books

For automatic synchronization in the future, we add to cron running the script [domain_site]/admin.php?dispatch=ms_litres_integration.get_genres_list once every 14 days. And the [domain_site]/admin.php?dispatch=ms_litres_integration.get_fresh_book&minutes=15 script every 15 minutes.

After that, we will choose the order status, at the occurrence of which we will notify about the completion of the purchase to the Litres side. Go to Administration → Statuses → Order Statuses and select the desired status

Image

And in his settings check the box Send request to LitRes for sale

Image

And in the settings of the add-on itself, let's select the status to which the order will go if it is rejected by Litres

Image

attachmentПрикрепить файлы

v1.0.1 from 18.07.2022

[*] Standardization of add-on code

v1.0.0 from 10.11.2021

[+] First edition

Отзывы

Here you can share your opinion and evaluate our work.

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

Похожие модули