```Is there a way in which I can remove the first ...
# suitecommerce
g
Copy code
Is there a way in which I can remove the first row in a Quantity Pricing table? Basically I dont want to display the first column of our pricing schedule on our website. It was achieved on Elbrus by using the following in Item.KeyMapping _priceDetails: function (item) {
                const details = item.get('onlinecustomerprice_detail');

                if (details && details.priceschedule && details.priceschedule.length > 1) {
                    details.priceschedule.shift();
                    details.priceschedule[0].minimumquantity = 0;
                }
                return details;
            }
The same code does not work the same in 2020.2. Any ideas on how I can achieve this?
s
If you just want to remove the first row, I would probably just write some CSS or jQuery to hide it
The way you want to do it is not something we would support via an extension
g
ok thanks Steve. I will try the jQuery route