Provide a commerce condition to allow a promotion to be applied with a promo link only

Created on 28 February 2023, over 1 year ago

As an admin, I wish to be able to apply a commerce condition that allows a promotion to only be applied using a link, as this provides some minor projection to sharing of promotion codes.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland ayalon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ayalon
  • πŸ‡¨πŸ‡­Switzerland tcrawford
  • πŸ‡¨πŸ‡­Switzerland tcrawford

    The issue reported primarily manifests when the module is used together with a custom commerce condition that allows a promotion to be applied using a promotion link only (not applied by customer manually in the checkout). The temp store was used to check if the promotion was a applied by a link and as the temp store was lost on login the promotion was invalidated and removed. Therefore, I have changed this ticket from a bug report to a feature request.

    There remains an issue that if the promo link is used and the user logs in before adding an item to their cart, the promotion will not be applied due to loss of the temp store on login (#3308135). However, this issue should be resolved with the aforementioned issue.

  • πŸ‡¨πŸ‡­Switzerland tcrawford
  • πŸ‡¨πŸ‡­Switzerland tcrawford
  • @tcrawford opened merge request.
  • Status changed to Fixed over 1 year ago
  • πŸ‡¨πŸ‡­Switzerland tcrawford

    I have resolved this issue and created a new release (2.1.0).

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024