We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c54fe33 + 7cf0939 commit 098a792Copy full SHA for 098a792
modules/ppcp-button/src/Assets/SmartButton.php
@@ -1929,7 +1929,7 @@ protected function product_supports_payment( WC_Product $product ): bool {
1929
1930
$in_stock = $product->is_in_stock();
1931
1932
- if ( ! $in_stock && $product->is_type( 'variable' ) ) {
+ if ( $product->is_type( 'variable' ) ) {
1933
/**
1934
* The method is defined in WC_Product_Variable class.
1935
*
0 commit comments