Allow multiple promotions for a single keyword

Created on 29 July 2024, 4 months ago
Updated 13 August 2024, 3 months ago

Problem/Motivation

Currently, only one promotion is allowed for any given search keyword. The form for adding a promotion will validate false if a promotion already exists for any of the trigger words.

This is an oversight. Google Programmable Search allows multiple promotions for any given search keyword. This module should follow suit.

Steps to reproduce

- Add a promotion with the keyword/trigger word of 'test'.
- Add it again.
- Two should be allowed, but currently only one is permitted.

Proposed resolution

Two things need to happen:
- Remove the validation that is preventing mulitple promos for the same keyword.
- Add looping on the SERP to ensure multiple promos are displayed if they exist.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tzura

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024