- πΊπΈUnited States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.
I need a way to bulk VBO create licenses for imported users. However..
If I use a rules component to add a license product to the cart, it does not get added to the cart.
I tested it with a normal product and a license product. The normal product gets added, the license product not. Using admin, all permissions granted in the rule.
export:
{ "rules_add_license_product_to_the_cart" : {
"LABEL" : "Add License product to the cart",
"PLUGIN" : "rule",
"OWNER" : "rules",
"REQUIRES" : [ "commerce_cart" ],
"USES VARIABLES" : { "user" : { "label" : "user", "type" : "user" } },
"DO" : [
{ "commerce_cart_product_add_by_sku" : {
"USING" : {
"user" : [ "user" ],
"sku" : "1803078120",
"quantity" : "1",
"combine" : "1"
},
"PROVIDE" : { "product_add_line_item" : { "product_add_line_item" : "Added product line item" } }
}
},
{ "commerce_cart_product_add_by_sku" : {
"USING" : {
"user" : [ "user" ],
"sku" : "1233560491",
"quantity" : "1",
"combine" : "1"
},
"PROVIDE" : { "product_add_line_item" : { "product_add_line_item1" : "Added product line item1" } }
}
}
]
}
}
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.