Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Mar 2024 08:13 AM by  Kamil Maciaszek
Coupon in query string on Page Action
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:47
New Member


--
12 Mar 2024 09:29 AM

    I've searched the forum for a possiblity to pass a coupon code in Page Action so that I have a product in a Cart with an applied coupon.

    I've found these topics from almost 7 years ago:

    https://www.revindex.com/Support/Forum/aft/5419
    https://www.revindex.com/Support/Forum/aft/4831

    Is there any progress on these topics?  

    Alternatively, is there a workaround using for example product CustomFields?
    I'm thinking of passing hidden custom field values in the query string then somehow extracting and applying the coupon from hidden custom field to the coupon field in the Cart/Checkout DisplayTemplate?

    0


    Veteran Member


    Posts:2955
    Veteran Member


    --
    12 Mar 2024 06:56 PM

    Hi,

    I'm afraid, it's not a very popular request so we still haven't worked on that feature yet. sad If you like to see it implemented sooner, you may sponsor to get it in there.

    It's likely possible to get it in there via a custom field + display template hack and a lot of javascript to detect and insert, but I wonder if it may be more worthwhile of your time if you sponsored the work.

    Thank you

    0


    New Member


    Posts:47
    New Member


    --
    19 Mar 2024 08:13 AM
    Thank you,
    I’ve made slight modifications to the given business rules, and it will be easier for me to use an individual promotion rule for each user instead of generating coupons.
    0
    You are not authorized to post a reply.