Title: Double x for remove
Last modified: November 1, 2019

---

# Double x for remove

 *  Resolved [gediweb](https://wordpress.org/support/users/gediweb/)
 * (@gediweb)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/double-x-for-remove/)
 * Hi, weird. I see 2 X’S for remove. Here is a screenshot: [https://snipboard.io/uJ3KpF.jpg](https://snipboard.io/uJ3KpF.jpg)
 * How can I fix this?
 * Also a question, is it possible to remove the quantity? I have it set as a single
   product only but in the cart, it lets me change the quantity.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdouble-x-for-remove%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Rupinder Kaur](https://wordpress.org/support/users/coolcoders/)
 * (@coolcoders)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/double-x-for-remove/#post-12089637)
 * Hi,
 * I visited your link, The remove “x” is showing twice just for design settings.
   you can add the below code to hide it.
    td.removepro a.remove:after { display:
   none; }
 * And for your second query where you want to make the qty unchangeable. This issue
   seems to be occurring most of the users who want to sell only one product in 
   qty 1.
    This plugin does not provide that feature as it’s basic idea is to let
   the user change the qty when they are checking out.
 * But I am providing you a code which you can add in function.php file. Below is
   the code.
    function cclw_non_changeable_qty(){ ?>
 * <script>
    jQuery(document).ready(function(){ jQuery(‘td.qty div.quantity’).html();
   jQuery(‘td.qty div.quantity’).text(1);
 * });
    </script>
 * <?php }
 * add_action(‘wp_footer’, ‘cclw_non_changeable_qty’);
 * The idea behind this is to hide the qty section actually.you can try using CSS
   if it doesn’t work for you.
    Thanks
 *  Plugin Author [Rupinder Kaur](https://wordpress.org/support/users/coolcoders/)
 * (@coolcoders)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/double-x-for-remove/#post-12089638)
 * .
 *  Thread Starter [gediweb](https://wordpress.org/support/users/gediweb/)
 * (@gediweb)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/double-x-for-remove/#post-12092624)
 * Thank you! the CSS to hide the second X worked perfectly.
    The functions script
   did not hide the QTY, but as suggested I hid it with CSS. Thank you again.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Double x for remove’ is closed to new replies.

 * ![](https://ps.w.org/custom-checkout-layouts-for-woocommerce/assets/icon-256x256.
   jpg?rev=2079391)
 * [One page checkout and layouts for woocommerce](https://wordpress.org/plugins/custom-checkout-layouts-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-checkout-layouts-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [gediweb](https://wordpress.org/support/users/gediweb/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/double-x-for-remove/#post-12092624)
 * Status: resolved