- πΊπΈ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.
Although some sites might need to allow a user to purchase multiple copies of the same license (e.g. to increase time limit), others will not need this. It would be great if this module had a setting to prevent multiple copies being bought. This should be a setting per product type where this module enabled.
Currently the user experience is confusing. If the license is added to cart a second time, the two items will not combine in the cart, so in a large order it would be easy to pay twice by mistake.
This issue arose out of discussions in β¨ Commerce license does not combine line items and quantity can't be changed Closed: outdated .
Code is likely needed in hook_commerce_cart_add_to_cart_form_alter and similar to this post.
commerce_license_exists
?), disable submit button and change text to t('Licensed').In each case, the text to display is configurable by a variable setting, and if text is blank, the button is hidden.
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.