Proposal Summary
This proposal covers the development of implementing the updates in special item under all categories
Requirement
- To display special items in categories other than special categories. For special items, the price displayed should be special price and the online price should have strike-through in PLP and PDP.
- The Special Items on PLP pages need to display a badge with the text “on sale”
- The categories or sub-categories require the “on sale” badge to be displayed if any item under those categories is special.
Our Solution
We will use the checkbox field “Special” in the item record to distinguish special items from other items in entire website.
The changes will only be made for the items in which this field is checked.

For the items that has special field checked the price will be special price with online price strike-through in PLP, PDP Cart and Checkout pages
PLP Page

PDP page

With different price levels

Cart page

Checkout page

We will add a badge with the text “on sale” to distinguish a special item from other items in PLP Pages. Like the image shown below

Note: The image size on the PDP page is too large to attach a badge on it. It will be better not to display special badge on PDP page. We have now considered only displaying it in PLP.

To display the badge in categories or subcategories
> We’ll create a new custom checkbox field “Special” on the category record, just like the item record.
> We will display the “on sale” badge for categories where the “Special” field is checked.

In this solution, the Special field for the category needs to be checked along with the item being checked to display the badge.
Note: There is another solution to display “on sale” badge on categories or subcategories. For this solution we need to create a suitelet script. In that suitelet script we will consider items in a category and check if any item is special. If an item in a category is special, we will display the “on sale” badge on such categories. In this solution we have no need to manually check the “Special” checkbox field in the category record.