disabling an input type as read-only

Get a reference to your input box however you like (eg document.getElementById(‘mytextbox’)) and set its readonly property to true: Alternatively you can simply add this property inline (no JavaScript needed):

Add to Cart redirection

when we try to add one item to the cart it will be updated, but we can set which way to set the updates using configuration record when we add item pop up will be shown open mini cart redirect to cart