shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

How to Remove Quantity Field From the Enquiry Cart Page

To do this, follow the two steps mentioned below:

1. Add the following CSS in the PEP (Product Enquiry Pro) setting ‘Add Custom CSS’ [‘Product Enquiry Pro’ menu > ‘Settings’ submenu > ‘Display’ tab > ‘Add Custom CSS’ setting]:

.generated_for_desktop.wdm_shop_tbl th.product-quantity.cart-quantity, .generated_for_desktop.wdm_shop_tbl td.product-quantity, .generated_for_mobile.wdm_shop_tbl th.product-quantity.cart-quantity, .generated_for_mobile.wdm_shop_tbl  td.product-quantity  {
    display: none;
}

2. Add the following code in your theme or child theme’s functions.php file:

// PEP Custom Code
add_filter('quoteup_return_colspan_update_button_enq_cart', 'quoteup_modify_colspan_value');

function quoteup_modify_colspan_value($colSpan)
{
    $colSpan--;
    return $colSpan;
}

// End of PEP Custom Code
Updated on November 8, 2021
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Was this article helpful?

shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php
shvsh > /home/1168859.cloudwaysapps.com/rcyqmhwrmv/public_html/docs/wp-content/plugins/ht-knowledge-base/ht-knowledge-base.php

Related Articles