Support » Plugin: WC Custom Add to Cart labels » Woocommerce Subscriptions Conflict

  • Resolved vycadmin


    This plugin is a catch all for Add to Cart and works fine except when you add the Woocommerce Subscription plugin and converts the Sign Up Now to Read More.

    You will need to add to the array of your plugin these filters to correct this problem.

    add_filter( ‘woocommerce_order_button_text’, __CLASS__ . ‘::order_button_text’ );
    add_action( ‘woocommerce_subscription_add_to_cart’, __CLASS__ . ‘::subscription_add_to_cart’, 30 );
    add_action( ‘woocommerce_variable-subscription_add_to_cart’, __CLASS__ . ‘::variable_subscription_add_to_cart’, 30 );
    add_action( ‘wcopc_subscription_add_to_cart’, __CLASS__ . ‘::wcopc_subscription_add_to_cart’ ); // One Page Checkout compatibility

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rynald0s


    Automattic Happiness Engineer

    Hi vycadmin!

    Thanks so much for sharing! 🙂

    We’ll look into this and have it updated in a future release.



    sorry but I believe I have this very same problem but I and quite new so I cannot figure out where should I add the mentioned workaround. could you please point me to the file?

    Thanks a lot,


    I has been checking inside the plugin .php and I can see this code is already included but I still have the very same problem 🙁

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce Subscriptions Conflict’ is closed to new replies.