Ability to pass promotion and coupon ID into the query string

Created on 9 July 2021, over 3 years ago
Updated 3 September 2024, 2 months ago

Thanks for the great module. It would be great if the module allowed for the passing of a promotion ID and coupon ID into the url

For example: mysite.com/direct-checkout-by-url?products=1234&promotion=4&coupons=4

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇺🇸United States Chris Matthews

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • Status changed to Needs work 2 months ago
  • 🇸🇮Slovenia agile-mark-l

    I have implemented the functionality to add coupons as a new URL parameter. The logic checks each coupon string individually to determine whether it is a coupon code or a coupon ID, then applies it to the cart accordingly.

    I have not yet written tests for this new functionality. Your contributions would be appreciated if anyone is available to take on that task.

Production build 0.71.5 2024