{"_id":"584ed8491cf4bd25005895db","user":"5668fa9755e4b32100935d41","version":{"_id":"5668fab608f90021008e8832","__v":19,"project":"5668fab608f90021008e882f","createdAt":"2015-12-10T04:08:22.769Z","releaseDate":"2015-12-10T04:08:22.769Z","categories":["5668fab708f90021008e8833","569740f124490c3700170a64","569742b58560a60d00e2c25d","569742bd0b09a41900b2446c","569742cd69393517000c82b3","569742f459a6692d003fad8f","569743020b09a41900b2446d","5697430b69393517000c82b5","56a17776470ae00d00c30642","56a2c48a831e2a0d0069b1ad","56b535757bccae0d00e9a1cd","56e1ff6aa49fdc0e005746b5","57e1c88115bf6522002a5e4e","57fa65275ba65a17008b988f","57fbeea34002550e004c032e","58474584889b6c2d00fb86e9","58475dcc64157f0f002f1907","587e7b5158666c2700965d4e","58a349fc30852819007ba083"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.18.0","version":"1.18"},"__v":0,"parentDoc":null,"project":"5668fab608f90021008e882f","category":{"_id":"57fa65275ba65a17008b988f","__v":0,"version":"5668fab608f90021008e8832","project":"5668fab608f90021008e882f","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-10-09T15:41:27.321Z","from_sync":false,"order":7,"slug":"model-query-javascript","title":"Model query (Javascript)"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-12T17:03:05.027Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"To boost any individual item, you need to include the following in its inventory metadata (see [Defining your Inventory](doc:defining-your-inventory) for more information on how to add to inventory metadata):\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"\\\"value\\\" : \\\"high\\\"\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\nIn particular, you can put this information in the LiftIgniter JSON object if sending inventory through JavaScript, or as one of the fields in the inventory items sent via API if you are using the [inventory API](doc:inventory).\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Tweaking overall and per-item boosts\"\n}\n[/block]\nIf the standard strength of boost provided by including this metadata is not adequate for your use case, please get in touch with [Support](doc:support) to discuss more advanced boosting rules and logic. We can both change the default boost strength and set up rules that allow you to specify different boost strengths on different items. Setting up the rules correctly requires some site-specific analysis, and hence requires getting in touch with Support.","excerpt":"","slug":"boost-individual-items","type":"basic","title":"Boost individual items"}

Boost individual items


To boost any individual item, you need to include the following in its inventory metadata (see [Defining your Inventory](doc:defining-your-inventory) for more information on how to add to inventory metadata): [block:code] { "codes": [ { "code": "\"value\" : \"high\"", "language": "json" } ] } [/block] In particular, you can put this information in the LiftIgniter JSON object if sending inventory through JavaScript, or as one of the fields in the inventory items sent via API if you are using the [inventory API](doc:inventory). [block:api-header] { "type": "basic", "title": "Tweaking overall and per-item boosts" } [/block] If the standard strength of boost provided by including this metadata is not adequate for your use case, please get in touch with [Support](doc:support) to discuss more advanced boosting rules and logic. We can both change the default boost strength and set up rules that allow you to specify different boost strengths on different items. Setting up the rules correctly requires some site-specific analysis, and hence requires getting in touch with Support.