Make the Add to Cart default button option on all product images and minimize navigation on your online store. Directly let customers add products to their carts right from the homepage or the product catalog page. 


First please activate Quick add to cart from Dashboard --> Settings --> Checkout options --> Quick add to cart



Please add the code in Settings --> Advanced Feature --> Third party Javascript



 

<style>
//For Desktop
.quickaddbox{
        display: block;
    }
}

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
//For Smartphones
.quickaddbox{
        display: block;
    }
}

@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
//For Tabs
.quickaddbox{
        display: block;
    }
}

</style>