• Resolved Nadine

    (@nadinerimmer)


    Hi there, awesome plugin, I love it. Just wondering if there’s a way I can show customer discount codes generated by the plugin on the front end somehow, so the user can see their discount code in their account next time they come to my site? A shortcode would be fab if there is one.

    Cheers
    Nadine

    https://wordpress.org/plugins/edd-purchase-rewards/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Andrew Munro

    (@sumobi)

    Hi Nadine,

    I just released v1.0.2 which includes a shortcode for showing the customer their available discount codes. After updating the plugin, place [edd_purchase_rewards_discounts] on any page. Let me know how you get on.

    Thread Starter Nadine

    (@nadinerimmer)

    Hi, that was fast! Thank you! It works perfectly, the only small issue I had was the bullets on each discount code are out of alignment with the rest of my content – screenshot link below. Not sure if anything can be done there, but thank you again for doing that so quickly.

    http://www.tiikoni.com/tis/view/?id=52c6e32

    Plugin Author Andrew Munro

    (@sumobi)

    The discount codes are outputted into a standard unordered list and is something your theme controls via your style.css file. You can style it by doing something like this:

    .edd-pr-discounts { margin-left: 30px; }

    Thread Starter Nadine

    (@nadinerimmer)

    One more tiny thing I would also add is with the heading size – the other shortcodes available which display Purchase History, Points History, Edit Profile etc all use the H4 heading size so the heading size does look a little large on the Purchase Rewards shortcode if/when you see them all used together.

    I’ll stop nitpicking now 🙂

    Thread Starter Nadine

    (@nadinerimmer)

    OK cool, I will give that a try. Thanks!

    Plugin Author Andrew Munro

    (@sumobi)

    Great, let me know how you go!

    Plugin Author Andrew Munro

    (@sumobi)

    Oops missed your previous bit about the heading. I’ll change it soon and release an update so it uses the same heading size as the others.

    Plugin Author Andrew Munro

    (@sumobi)

    Just pushed out an update that changes the heading to h4.

    Thread Starter Nadine

    (@nadinerimmer)

    Works perfectly, thank you!

    Plugin Author Andrew Munro

    (@sumobi)

    No problem!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Customer discount codes’ is closed to new replies.