Автор дополнения
Павел
Пакетов
33
Закачек
45 606
Обычно отвечает в течение нескольких дней
Автор дополнения
Пакетов
33
Закачек
45 606
Обычно отвечает в течение нескольких дней
Версия 1.3.2-beta
Дата выпуска 01.05.2026
Загрузки 396
Просмотры 10 664
Внимание, этот компонент несовместим с MODX 3.
Внимание! Компонент работает только с miniShop2 версии 2.4.14 и выше! На нижних версиях будут проблемы из-за отсутствия событий msOnBeforeSaveOrder и msOnSaveOrder.


— Совместимость с msPromoCode и msPromoCode2,
— Уровни пользователей с процентом начисления и суммой покупок, при достижении которой пользователь перейдёт на данный уровень,
— Возможность применить или отменить бонусы к уже созданному заказу,
— Возможность ручного начисления/списания бонусов на пользовательском аккаунте,
— Возможность назначить время, спустя которое пользователь может начать использовать начисленные баллы,
— Возможность указать время жизни баллов, спустя которое они будут сожжены с баланса пользователя,
— Возможность указать максимальный процент корзины, который можно оплатить бонусами,
— Возможность указать разделы для начисления и списания баллов отдельно друг от друга,
— Начисление бонусов за регистрацию и в день рождения.

Внимание! Вторая версия не имеет ничего общего с первой версией компонента. Даже в части функционала они отличаются, ибо реализованы совершенно иначе.

1.3.2-beta

  • Fixed an error in msb2Manager::setOrderWriteoff and msb2Manager::unsetOrderWriteoff when deleting an order without a user (empty $msb2User)

1.3.1-beta

  • Fixed working with the new version of JS of miniShop2

1.3.0-pl

  • Fixed numbers on the logs snippet for msMultiCurrency
  • Fixed lexicon processing was used for msb2_form_action_types

1.3.0-beta

  • Added bonus-codes
  • Added a check for a running copy of the routine actions cron-script
  • Added notifications to the user about the upcoming burning of bonuses
  • Added the ability to accrual and writeoff bonuses en masse
  • Added the ability to use msMultiCurrency (only in the msmulticurrency.cart_user_currency = false mode)

1.2.8-beta

  • Added setting msb2_manager_userlist_sudo
  • Added setting msb2_manager_userlist_groups

1.2.7-beta

  • Added plugin event msb2OnActionBonus with properties: numeric $order_id, numeric $user_id, string $action, string $type, numeric $amount, numeric $createdby, bool $to_log

1.2.6-beta

  • Fixed display of users on the component page

1.2.5-beta

  • Fixed creation of msb2User objects when creating user

1.2.4-beta

  • Fixed creation of msb2User objects when installing the component

1.2.3-beta

  • Added guest parameter to msBonus2ProductBonus snippet to display product bonuses for unauthorized users

1.2.2-beta

  • Added ability to specify routine actions to be performed via cron in the msb2_routine_running_method system setting
  • Added used field to table msb2Log
  • Fixed an issue with incorrect writing off of bonuses after applying them
  • Fixed an issue with writing off obsolete bonuses for cancelled orders

1.2.1-beta

  • Added snippet msBonus2ProductBonus

1.2.0-beta

  • Added possibility to specify the number of awarded bonuses for products and catalog categories
  • Change processor msb2UserFormDoItProcessor
  • Change method msb2Manager::getOrderAccrual
  • Remove method msb2Manager::getOrderAccrualAmount

1.1.9-beta

  • Fixed work in other contexts

1.1.8-beta2

  • Fixed logs files

1.1.8-beta

  • Added plugin event msb2OnBeforeSetBonus with properties: null|msOrder $order, numeric $points, numeric $amount
  • Added plugin event msb2OnSetBonus with properties: null|msOrder $order, numeric $points, numeric $amount, numeric $writeoff
  • Added plugin event msb2OnUnsetBonus with properties: null|msOrder $order, numeric $writeoff

1.1.7-beta

  • Added setting "Days for bonuses in honor of the birthday"
  • Fixed loading logs lexicon in msBonus2::getActionType

1.1.6-beta2

  • Fixed Russian language

1.1.6-beta

  • Fixed checking statuses in plugin event msOnChangeOrderStatus

1.1.5-beta

  • Fixed query to logs of user
  • Fixed msb2Manager::setAction

1.1.4-beta

  • Added showing bonus discount in cart page
  • Fixed injecting fieldset on opening order window

1.1.3-beta

  • Fixed write-off expired points if user balance is less than zero

1.1.2-beta

  • Added ability to specify zero bonus for a level
  • Added ability remove second system level
  • Fixed the addition of amount paid_money

1.1.1-beta

  • Added setting "Writing off points from products with not empty old price"

1.1.0-pl

  • Fixed method msb2Manager::unsetOrderAccrual

1.1.0-beta

  • Added reserve balance
  • Added activation time for bonus
  • Added lifetime points
  • Fixed method msb2Manager::getJoinedUser, if $id equal 0
  • Fixed errors on install package

1.0.3-pl2

  • Fixed date of birthday in users grid

1.0.3-pl

  • Fixed creating msb2User object on adding user from backend

1.0.3-beta

  • Fixed creating msb2User object

1.0.2-beta

  • Added prepare of order cost to JS
  • Fixed refresh of order cost after reload page from browser cache
  • Fixed negative cost on manual accrual and write-off
  • Fixed work in other contexts

1.0.1-beta

  • Added refresh order cost on submit points to cart
  • Added jQuery triggers msb2_set and msb2_unset
  • Added method msb2Manager::refreshOrderWriteoff
  • Added ability to specify empty cost of order for manual accrual and write-off
  • Fixed createdby user id on accrual points for signup
  • Fixed getting the user who committed action in the logs in backend

1.0.0-beta

  • Start

Последние обсуждения в сообществе MODX.pro