Skip to content
  1. Extras
  2. msProductRemains
  3. Component settings

Component settings

General settings

NameDefaultDescription
mspr_optionscolor,sizeProduct attributes used to build remains
mspr_order_status1Order status ID at which stock is decreased
mspr_orderback_status4Order status ID at which previously deducted stock is restored
mspr_product_grid_fieldsid,color,size,remainsRemains table columns on the product edit page
mspr_remains_default0Default remains when creating a product or adding new attributes
mspr_remains_grid_fieldsid,product_id,pagetitle,color,size,price,published,remainsColumns on the shared remains edit page

Site

NameDefaultDescription
mspr_front_js[[+assetsUrl]]js/web/msproductremains.jsPath to JavaScript file for the frontend
mspr_hide_countNoHide actual product count on the frontend
mspr_moreless_count10Quantity below which to show "running low". Only when mspr_hide_count is enabled

Sync

NameDefaultDescription
mspr_msync_fieldQuantityField name for remains in 1C when syncing products with mSync

Feature toggles

NameDefaultDescription
mspr_activeYesEnable the component
mspr_active_babelYesEnable Babel support; use web context remains for other contexts
mspr_active_before_addYesCheck remains before adding to cart or changing quantity
mspr_active_before_orderYesCheck remains before saving the order
mspr_active_bcstatusYesCheck remains before changing order status
mspr_check_optionsYesRequire selected attributes when adding to cart