User Tools

Site Tools


style_updater

[v3] Style Updater

I live … on sg01 (installed via pip and an my main executable script is in ~/.local/bin/style_updaterd, started with nohup)

Logging you find … in the home folder

I'm used for all customers … but only have effect for customers with styles

Project in Wiki … will be created for the v5 version? The existence of this project should be heavily questioned though

FIX_STYLES

It scans through all styles and fixes the style according to the settings.

Settings in “User Settings”:

  • style_updater # if this is missing, nothing will be done
  • replace_products: <bool> # toplevel option to enable product replacement in styles
  • replace_missing: <bool> # flags products that are no longer in the feed
  • replace_not_available: <bool> # flags not available products
  • in_stock_value: <str> # needed for available check
  • replacement_method: “ags” # currently only “ags” is supported
  • visualytics
  • image_id_delimiter: <str> # needed for ags-replacement method
  • n_image_id_chunks: <int> # needed for ags-replacement method
style_updater.txt · Last modified: 2024/04/11 14:23 by 127.0.0.1