mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +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()
|
getSubscriptionProducts()
|
||||||
{
|
{
|
||||||
const id = document.querySelector('[name="add-to-cart"]').value;
|
const id = document.querySelector('[name="add-to-cart"]').value;
|
||||||
return [new Product(id, 1, [])];
|
return [new Product(id, 1, this.variations())];
|
||||||
}
|
}
|
||||||
|
|
||||||
configuration()
|
configuration()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue