Woocommerce Subscriptions Conflict
-
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 compatibilityThe page I need help with: [log in to see the link]
- The topic ‘Woocommerce Subscriptions Conflict’ is closed to new replies.