[data-theme-cart-button-text="theme-cart-button-text"] {
    display: none !important;
}
.theme-cart-button.zpbutton.zpbutton-type-primary.zpbutton-size-lg.zpbutton-full-width {
    display: none !important;
}
.theme-button  {
    pointer-events: none;
    opacity: 50; /* Optional: make it look disabled */
    cursor: not-allowed;
}
.theme-minicart-icon.theme-carticon-style-08 {
    display: none !important;
}
document.querySelector('.theme-cart-button.zpbutton.zpbutton-type-primary.zpbutton-size-lg.zpbutton-full-width')
    .textContent = 'Add to Enquire';  // Change button to Add to Enquiry
.theme-product-varients-row{
    display: none !important;
}
.theme-product-price {
    display: none !important;
}
.theme-product-social-share {
    display: none !important;
}
.theme-product-variant-label[data-zs-quantity-label] {
    display: none !important;
}
.theme-quantity-decrease{
    display: none !important;
}
.theme-product-quantity-spinner{
    display: none !important;
}
.theme-custom-field-main-container{
    display: none !important;
}

<style>
    [hide_button], .hidden {
        display: none !important;
    }
</style>



<script type="application/javascript">

    /* Hide price and add to cart for guest users */

    var first_occurence = true;
    var current_user = "null";
    var user_data_fetched = false, api_call_initiated = false;
    var custom_text = "";  //can be changed
    var quantity_text = "Login to add quantity"; //can be changed
    var navigate_url = "/signin"; //can be changed
    var productListQuantityClass = "theme-product-list-quantity-addcart"; //productList Quantity Classname
    
    function getCurrentUser() {
        if (window.is_portal_site && !user_data_fetched) {
            if (!api_call_initiated) {
                api_call_initiated = true;
                hideAllPrices("data-zs-selling-price",true);
                hideAllPrices("data-zs-label-price",true);
                hideAllPrices("data-zs-cart-icon", true);
                hideAllQuantity(productListQuantityClass, true);

                $X.get({
                    url: '/portaluser/getCurrentPortalUser',//NO I18N
                    handler: getCurrentUserRes
                });
            }
        } else if (current_user.indexOf("null") != -1) {
            hidePriceAndAddtoCartForGuestUsers();
        }
    }

    function hideAllPrices(attribute_name , enabled) {
        var _elem = document.querySelectorAll("["+attribute_name+"]");
        for (var i = 0; i < _elem.length; i++) {
            if(enabled){
                _elem[i].setAttribute("hide_button","");
            }else{
                _elem[i].removeAttribute("hide_button");
                _elem[i].style.display = "block";
            }
        }
    }

    //Hide all quantity in productList
    function hideAllQuantity(class_name, enabled) {
        var _elem = document.querySelectorAll("." + class_name);
        for (var i = 0; i < _elem.length; i++) {
            if (enabled) {
                _elem[i].classList.add("hidden");
            } else {
                _elem[i].classList.remove("hidden");
            }
        }
    }

    function getCurrentUserRes() {
        var resp_obj = JSON.parse(this.responseText).current_user;
        current_user = resp_obj.user;
        user_data_fetched = true;
        if (current_user.indexOf("null") != -1) {
            hidePriceAndAddtoCartForGuestUsers();
        }else{
            hideAllPrices("data-zs-selling-price",false);
            hideAllPrices("data-zs-label-price",false);
            hideAllPrices("data-zs-cart-icon", false);
            hideAllQuantity(productListQuantityClass, false);

        }
    }
