mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add variations get subscription products
This commit is contained in:
parent
cb19889728
commit
be8015b8dd
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class SingleProductActionHandler {
|
|||
getSubscriptionProducts()
|
||||
{
|
||||
const id = document.querySelector('[name="add-to-cart"]').value;
|
||||
return [new Product(id, 1, [])];
|
||||
return [new Product(id, 1, this.variations())];
|
||||
}
|
||||
|
||||
configuration()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue