5.1.353 - SIM Set Attribute Qty Increment Decrement

5.1.353 - SIM Set Attribute Qty Increment Decrement

Version: 5.1
Patch: 353
Title: SIM Set Attribute Qty Increment Decrement
Application Category: Other, Order Entry
Patch Type: Feature



Description:

Modified Set Attributes action in SIM to make relative adjustments to the quantity of an item. Items can be added/subtracted by appending a + or - character before the number in the action settings. 

[Technical]
Changes to "Set Offer Attributes" action when we have Qty value with +/- sign in quantity field
  1. If contains a number by itself, set it to the number
  2. If contains + , increment. If the item is not currently selected, select it.
  3. If contains - and subtracting the numerical amount results in a value > 0.... decrement the qty
  4. If contains - and subtracting the numerical amount results in a value <= 0, set the qty to zero and deselect the item.
  5. If there is parsing error... the value in the SIM action field does not contain a plain number, or a number that has a + or - indicator... do nothing. We don't have validation in the editor, but we don't want incorrect values to cause JS errors on the page.


Articles:


    • Related Articles

    • SIM - Adding Columns

      Editing the Header/Footer By default the header and footer will have a height of zero pixels which will make them invisible when rendered. To edit the height of the header or footer you can double click the header/footer node on the form tree or ...
    • 5.1.373 - Add Print Support to SIM Preview Mode

      Version: 5.1 Patch:  Title:  Application Category:  Patch Type:  Description: Added a feature that allows printing of a set of SIM forms. To use this feature, view the SIM form in preview mode by hitting the Preview button on the SIM form management ...
    • 5.1.376- Order Entry and SIM Init From Finder File Support

      Version: 5.1 Patch: 376 Title: Order Entry and SIM Init From Finder File Support Application Category: Other, Order Entry Patch Type: Feature Description: Note: This feature is not available in all installed instances of OLX yet, it requires ...
    • SIM - Global Custom Fields

      Module : SIM Elements Path: Company Data > Advertising > SIM Custom Fields Topic : Global Custom Fields Version(s) : Version 5.1 and up  Editions : All Editions If you want to create custom fields to be used across many different forms, you can ...
    • SIM - Global Elements

      Module : SIM Elements Path: Campaigns > Advertising > SIM Elements Topic : Global Elements Version(s) : Version 5.1 and up Editions : All Editions If you want to create elements to be used across many different forms you can create global elements. ...