feat(vtex): add additionalSearchParams to PLP loader#1515
feat(vtex): add additionalSearchParams to PLP loader#1515
Conversation
Add support for passing additional query parameters to the VTEX
Intelligent Search API. This enables features like VTEX Ads
(showSponsored, placement) without requiring a fork of the apps repo.
Example usage:
```json
{
"additionalSearchParams": [
{ "key": "showSponsored", "value": "true" },
{ "key": "placement", "value": "top-search" }
]
}
```
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Tagging OptionsShould a new tag be published when this PR is merged?
|
📝 WalkthroughWalkthroughThe change introduces an optional Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add support for passing additional query parameters to the VTEX Intelligent Search API. This enables features like VTEX Ads (showSponsored, placement) without requiring a fork of the apps repo.
Example usage:
{ "additionalSearchParams": [ { "key": "showSponsored", "value": "true" }, { "key": "placement", "value": "top-search" } ] }What is this Contribution About?
Please provide a brief description of the changes or enhancements you are proposing in this pull request.
Issue Link
Please link to the relevant issue that this pull request addresses:
Loom Video
Demonstration Link
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.