Handling Expired Coupons

WordPress Business Themes Forums Version 7 Themes CouponPress Handling Expired Coupons

Handling Expired Coupons

July 28, 2013
 Garrie

  • Garrie
    Newbie 7 points

    I just started my site but I can already see expired coupons are going to be an issue if you keep them.

    I set the coupons to move to an expired category and under display settings > home page I added a custom query to not show my expired category.

    This works but now the expired coupons no longer show when you view categories under expired.

    There has to be a way around this. I can’t imagine a script being at version 7 and still having issues like this.

    I’d be interested in knowing how other people are handling the expired coupons.

    July 28, 2013 at 11:06 pm
  • Aaron
    Aaron
    Super Guru 922 points

    301 Redirect Expired coupons to Store page is the best solution period. I did some code that does this though it falls flat if you have another tax term with the same name eg, a tag with the same name as the store. Still trying to find a fix for this issue.

    July 29, 2013 at 12:43 am
  • Anggalarang
    Anggalarang
    Newbie 1 points

    Hi do you mind to share the code you use to 301 redirect expired coupons to its store

    August 2, 2013 at 9:47 am
  • Aaron
    Aaron
    Super Guru 922 points

    I don’t really want to release it due to the issues.

    If you have a taxonomy or post type term which is same as the store, this breaks it completely. The permalink doesn’t even need to be the same – its just the way WordPress queries taxonomy terms.

    If anyone else has a more elegant solution, I am all ears.

    August 5, 2013 at 1:43 am
Viewing 4 posts - 1 through 4 (of 4 total)

Didn't find what you were after?

Chat with us now

or contact our support team