Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi - can we enable trigger coupon via URL in Magento 2? #527

Closed
seansan opened this issue Mar 9, 2014 · 16 comments
Closed

Hi - can we enable trigger coupon via URL in Magento 2? #527

seansan opened this issue Mar 9, 2014 · 16 comments
Assignees
Labels
improvement Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@seansan
Copy link

seansan commented Mar 9, 2014

Hi - can we enable trigger coupon via URL in Magento 2?

http://www.drewgillson.com/blog/how-to-apply-magento-coupon-codes-automatically/

see #120 which was closed too fast without reading the replies

@verklov verklov self-assigned this Apr 1, 2014
@verklov
Copy link
Contributor

verklov commented Apr 1, 2014

@seansan, we created a ticket in the product backlog and the team will investigate on this. We will get back to you once we finish investigating it.

@verklov verklov assigned tkacheva and unassigned verklov Apr 10, 2014
@verklov
Copy link
Contributor

verklov commented Apr 10, 2014

Assigning to @tkacheva.

@tkacheva
Copy link

tkacheva commented Jun 2, 2014

@seansan, thank you for bringing up the topic. Could you provide examples when merchants will benefit from this feature?

@seansan
Copy link
Author

seansan commented Jun 2, 2014

Have a look @ the call mention + the link provided

Sometimes one offers a discount to a channel. or "Click here to apply discount"

very wanted

@maksek maksek added the PROD label Jan 8, 2015
@vpelipenko
Copy link
Contributor

Internal ticket: MAGETWO-23160

@tkacheva
Copy link

Thanks for the example. It's a valuable point! We will consider this feature in the promotion backlog

@vpelipenko vpelipenko added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Mar 18, 2015
@mbrinton01
Copy link

Change in internal ticket to MAGETWO-38709

@mbrinton01 mbrinton01 assigned mbrinton01 and unassigned tkacheva Jul 27, 2015
@mbrinton01
Copy link

@seansan we have made this change. You can test it:

If you add a product to the cart that meets the conditions of the rule after entering from the URL, the rule will be applied and the user notified.

The rule conditions must be met in a single add to cart step. For example, consider a rule that has a condition that quantity must be > 1. If you enter through the URL with code and then add 1 to cart and add 1 to cart in two steps, the coupon will not be applied. We are looking at enhancing this feature to account for these cases.

@seansan
Copy link
Author

seansan commented Jul 27, 2015

I understand

So the "stored" cart coupon is not checked for indefinitely? but only the
first cart visit

BTW: great work!

On Mon, Jul 27, 2015 at 7:09 PM, Mark Brinton notifications@github.com
wrote:

@seansan https://github.com/seansan we have made this change. You can
test it:

If you add a product to the cart that meets the conditions of the rule
after entering from the URL, the rule will be applied and the user notified.

The rule conditions must be met in a single add to cart step. For example,
consider a rule that has a condition that quantity must be > 1. If you
enter through the URL with code and then add 1 to cart and add 1 to cart in
two steps, the coupon will not be applied. We are looking at enhancing this
feature to account for these cases.


Reply to this email directly or view it on GitHub
#527 (comment).

@mbrinton01
Copy link

You are correct. We are considering adding a feature called "persistent" coupons that would extend the current functionality.

@seansan
Copy link
Author

seansan commented Jul 27, 2015

Ok!

Sent from my iPhone.

On 27 Jul 2015, at 19:28, Mark Brinton notifications@github.com wrote:

You are correct. We are considering adding a feature called "persistent" coupons that would extend the current functionality.


Reply to this email directly or view it on GitHub.

magento-team pushed a commit that referenced this issue Aug 17, 2015
magento-team pushed a commit that referenced this issue Mar 24, 2016
magento-team pushed a commit that referenced this issue Mar 24, 2016
magento-team pushed a commit that referenced this issue Mar 24, 2016
 - restore fixes to branch and fix test
magento-team pushed a commit that referenced this issue Mar 24, 2016
magento-team pushed a commit that referenced this issue Apr 11, 2016
 [FearlessKiwis] Sprint 64: Bug fixes
mmansoor-magento pushed a commit that referenced this issue Oct 21, 2016
@seansan
Copy link
Author

seansan commented Apr 20, 2019

@verklov

I was browsing thru M2.3.1. but cant find this functionality.

  • Is there a reference in the documentation?
  • Can we turn it on/off via settings?

Did you implement the persistent function? This is quite important! It should handle the use cases for real customers ... often via email where they click a link, start with an empty cart ...might visit the empty cart ... then add a product .. but they may also first check a product add it to cart .. then go to cart .... ot they may add a product to cart, then remove it to cart, then add another product and go to cart
In all cases : the coupon code via the link should work and be applied

@seansan
Copy link
Author

seansan commented Apr 20, 2019

Reference to similar functionality https://marketplace.magento.com/wsnyc-module-couponlink.html

@seansan
Copy link
Author

seansan commented Jun 13, 2019

@mbrinton01

** Mark con you confirm this functionality is in 2.3.1?

** Also what is the result from below? This would be very good to have

You are correct. We are considering adding a feature called "persistent" coupons that would extend the current functionality.

** Another function we have seen before is to add a "redirect" variable. This way the link "http://example.com/index.php/checkout/cart/CouponPost/coupon_code/couponcode" would like "http://example.com/index.php/checkout/cart/CouponPost/coupon_code/couponcode?redirect=http://example.com" => in this case the coupn would be applied, the customer would be redirected to the page http://example.com and a message would be shown "Coupon code was activated"

@mbrinton01
Copy link

Adding @tkacheva as this relates to promotions

@crankycyclops
Copy link
Contributor

I've implemented this functionality in a free and open source module. If anyone wants to use it in the meantime until this is fully implemented by the Magento team, you can find it here: https://github.com/crankycyclops/DiscountCodeUrl

Hope it's useful to someone :)

My module is still pretty new and needs more testing (if you want to help me out, I would greatly appreciate it!)

magento-devops-reposync-svc pushed a commit that referenced this issue May 16, 2023
ACPT-1194: Fixing bugs found by web api functional tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

7 participants