This proposal covers the development of adding event pages under wine and whisky categories and also to change the “buy now” button text based on the events and Ballots in the Nickolls and Perks UK website.
Requirement
- Add the events page as the subcategory in ‘wine’ and ‘whisky’ categories but the subcategory links of the page should not feature the URL of said subcategory’s parent in the URL.
- Need to add predefined filters in the events page
- If the item is an event item then Change the “Buy now” button next to “Book now” and also redirect the people to the third party website. Each item needs to have separate redirect URL and needs to manage it from the item record itself.
- If the item is a ballot item then Change the “Buy now” button text to “Enter ballot” and they will redirect to Dotdigital page that we used to manage ballot entries. This link needs to be a common link as there is no control over the CTA buttons.
- Remove the existing “Events” page and wine/wine-tastings page.
Our solution
Adding Events page as subcategory in ‘wine’ and ‘whisky’ categories:
- To add the events as subcategory, create the events page in the NetSuite as subcategory under the required category.

- If we include the event page as a subcategory, the URL of its corresponding parent will automatically be included due to the default settings of NetSuite. Attempting to access the subcategory page without using its parent URL will result in a “page not found” error message. Therefore, it is necessary to use the parent URL when accessing the subcategory page.
- We are aware that including the parent URL in the subcategory URL will make it different from the existing events page URL. Therefore, we plan to address this issue by implementing a redirect method. This means that when a user clicks on the event page, they will be redirected to the newly created subcategory field.
Add predefined filters in the events page
- We can’t find any standard way to add the predefined filters to the page except to add them to the URL. So in a simple way it is possible to add filters as facet options in the PLP page.
- Since we are adding event as subcategory, the filters of its category will be automatically got for the subcategories also.
- So, customers can select the event from the available filter option.
- If we still need to select specific filter when navigating to this page, then we can customize the page to add the filters by having a field in the configuration record to select the filters for each event. For this, we need to have more details what filters needs to used for the pages.
Change the “buy now” button text based on the events and Ballots
- To modify the text on the “buy now” button, we need to determine whether the item is classified as an event, ballot, or a standard item. So, for that we will create 2 checkboxes in the item record to know whether the item is belongs to event or Ballot.
Event Items: - For all the event items, in the buy now button we are using unique link to the external page. Thus, the links need to be added in the item record. So will create a text field in the item record to store the external link of “buy now” button for the corresponding event items.
Item record:

- If the checkbox for event is checked, then the buy now button text will rename to “Book now” and on click it will redirect to the external link which is given in the item record. This will be added in both PLP and PDP page.
Sample image is adding below:

- Ballot Items:
- For all the Ballot items, we are using a common link. We can give that common link in the configuration record. So, for all the items that belong to the Ballot will be redirecting to the common link that given in the configuration record.
- We will create a new field in the configuration record to store the common url which is used for “Ballot items”. So, in future, we can replace the link with any other link by changing the url in the configuration record.
configuration record:

- If the checkbox for event is checked, then the buy now button text will rename to “Enter Ballot” and will redirect to the link that is given in the “Ballot URL “of the configuration record. This will be updated in both PLP and PDP page.
- If the checkbox for event and Ballot is unchecked then the item will be considered as normal item and the text will be showing as “Buy now” itself.
Assumptions
- If any user clicks in the “events” then they will automatically redirect to the newly created “events” subcategory. So, N&P needs to confirm that into which event subcategory the redirect should be done. The redirection can be set to either to the events of wine’ category or to the events of ‘whisky’. Please confirm.
- We assume that the value for external link for the ballot and event will be update by N&P. The external link for ballot needs to be update in the configuration record and the external link for “Event” need to be updated in the item record by N&P.
- If the user clicks on an external link, the information associated with that external site will not be available in NetSuite. The details of a Sales order, for example, will not be available in NetSuite.
- We assume that the checkbox for “event” and “Ballot” will be checked and unchecked by N&P
- Considering only PLP and PDP pages.
- After the creation of event as subcategory, the existing event page will discard.
- The development will be doing first in the sandbox account, After the confirmation we will move the changes to production account.
- We will develop a UI section based on the current theme.
- The effort for predefined filter is not considered in this estimate.