Skip to content
  1. Extras
  2. msBulkEditor
  3. Interface
  4. Product and prices

Product & prices

Bulk operations on MiniShop3 product fields: price, stock, categories, vendor, variants.

Price operation dialog


Prices

Run operation → type Price.

Change modes

ModeParameterExample
Set valuemode: setPrice = 1990
Relative +/-mode: relative, sign, valueWas 1000, +100 → 1100
Percentmode: percent, sign, value−10% of current price

Rounding

ValueEffect
noneNo rounding
integerTo integer (standard rounding)
floorDown to integer
ceilUp to integer
tensTo tens
hundredsTo hundreds

Transfer between price fields

Price: transfer between fields

Mode “Transfer between fields” (mode: transfer):

ParameterDescription
sourceFieldCopy from (price, old_price)
targetFieldWrite value to
clearSourceZero source after transfer (default false)

Preview shows only the target field change; source stays unchanged until clearSource is enabled. Supports variantScope.

Copy current price to old_price on change

Flag “Copy current price to old_price” (transferToOldPrice) before changing price — discount scenario: old price on storefront, new in price. Works in set / relative / percent modes.

Variant scope (ms3Variants)

variantScopeBehavior
product_onlyMain product only
all_variantsProduct + all variants
skip_if_variantsSkip products with variants

Stock

Stock operation dialog

Type Stock (fieldType: stock, DB field count):

  • same set / relative / percent modes;
  • default rounding integer;
  • supports variantScope.

Categories

Type Categories:

ModeAction
Add categoriesassign_additional — comma-separated IDs in categoryIds
Remove all additional categoriesremove_all
Change parentchange_parent — new parentId

Additional categories are stored in ms3_product_categories.

Additional categories operation

Remove all additional categories


Vendor and template

Vendor operation

Template operation

  • Vendorvendor, parameter vendorId.
  • Templatetemplate, parameter templateId (also Quick actions → “Change template”).

Also available via Quick actions.

File source

Content type

User

Also via Run operation / Quick actions: source, content_type, user.


Variants (ms3Variants)

Variant operation

With ms3Variants installed, type Variant:

  • fields: price, count, sku, weight;
  • bulk change variant values for selected products.

Article and weight

Text field

Operation Text field (text_set):

FieldBehavior
articleString SKU value
weightNumber ≥ 0 (kg); numeric input in form

“Leave field empty” clears article or sets weight to 0.


Product flags (MS3)

In MiniShop3, flags new, popular, favorite live in ms3_products (msProductData model) as tinyint(1).

FieldPurpose
newNew arrival
popularPopular
favoriteFeatured

Bulk operation: type Boolean toggle → field new / popular / favorite → Yes / No / Invert.

Grid filter: “Product flag” + Yes/No → key filterSpec.new (or popular, favorite).


Operation Regenerate gallery thumbnails (fieldType: gallery_regenerate):

  • for each product calls MS3 processor Gallery\GenerateAll;
  • products without rows in ms3_product_files are skipped;
  • rollback via history does not restore files on disk (side-effect operation);
  • apply runs in chunks via BatchOperationRunner; progress in products/progress;
  • for large selections, lower system setting msbulkeditor_chunk_size.

Available in Quick actions → “Regenerate gallery thumbnails”.


Resource utility operations

Type Resource utility operations (fieldType: resource_utility, parameter action):

actionAction
clear_cachecacheManager.refreshResource for each product
regenerate_urirebuild alias and URI via modResource
  • requires msbulkeditor_edit and confirm dialog before apply;
  • products with uri_override are skipped for regenerate_uri;
  • rollback of regenerate_uri restores alias and URI from history;
  • rollback of clear_cache does not restore cache files (side-effect);
  • apply runs in chunks via BatchOperationRunner.

Quick actions: “Clear resource cache”, “Regenerate URI”.

Confirm: clear cache

Confirm: regenerate URI


Soft delete

Operation Soft delete (fieldType: soft_delete):

  • sets deleted=1 for each selected product;
  • already deleted resources are skipped;
  • confirm dialog before apply;
  • rollback from history sets deleted=0;
  • permanent purge in MODX is not available here (separate human gate).

Confirm: soft delete

Quick actions: “Soft delete”.


Not in scope

  • Bulk country (if the field appears in MS3).

FAQ


Rolling back price changes

All apply operations save snapshots in history. Rollback: history.


See also