• Resolved gecatabg

    (@gecatabg)


    Hello, I need help removing “Select Option” from Shop loop, and back only “Add to cart” functionality, i tried this

    add_action('wp_loaded', 'remove_custom_woocommerce_filters', 20);
    
    function remove_custom_woocommerce_filters() {
    
        if (class_exists('NM_PersonalizedProduct')) {
    
            remove_filter('woocommerce_product_add_to_cart_url', array('NM_PersonalizedProduct', 'loop_add_to_cart_url'), 10, 2);
            remove_filter('woocommerce_product_add_to_cart_text', array('NM_PersonalizedProduct', 'loop_add_to_cart_text'), 10, 2);
        }
    }
    

    but it doesn’t work

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support AndreeaR

    (@andreearadacina21)

    Hey @gecatabg,

    Thank you for using PPOM!

    Unfortunately, changing the label of the add to cart button is a premium feature, which can be achieved by using the pro settings tab.

    Best regards,

    Andreea

    Thread Starter gecatabg

    (@gecatabg)

    Hi, I don’t want to change them, I just want to stop the above filters from running on the shop and categories archive page page

    Plugin Support AndreeaR

    (@andreearadacina21)

    Hi @gecatabg,

    Unfortunately, our Support Policy does not cover these changes. You can find more information here: https://docs.themeisle.com/article/1146-support-policy.

    We are happy to assist you with any questions or issues related to our plugin’s functionality, configurations, and features.

    Best regards,

    Andreea

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove “Select Option” from shop loop’ is closed to new replies.