• Hi, I like this and it works well!
    But is it possible to only enable it with certain products and not all?
    Example:
    Product A on special but can only be for 1 hour
    Product B is not on special so just a regular purchase without the timer

    Thanks,
    Sam

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author James Golovich

    (@jamesgol)

    Hello Sam,

    There is functionality builtin to allow certain items to have different expiration times but off hand I cannot think of a simple way to do this. I’ve never heard from someone who wanted this, if they have unlimited stock on an item they would just leave that item marked as not managed stock.

    You could set the global expiration at an extended time like 8 hours and then for each item that is on special set a custom post meta tag (the default name is ‘csr_expire_time’) to specify the ‘1 hour’ expiration.

    I’ll think about the best way to modify the plugin to handle only managing certain products. I’m not sure if using a taxonomy, custom meta, or WordPress filter would be the sanest choice. Adding a custom filter would be a quick step that would allow the individual site owner to customize their own setup easier.

    Thread Starter samnait

    (@samnait)

    Thanks for replying 🙂
    It would be awesome to have to trigger only the ones with a certain category setup for a product.
    The reason for this is because if you only wanted to have “specials” category to be timed then it gets released from your cart if not purchased within a certain time.
    If you could help in what to change in the code that would be great. If it could be placed in a child theme as a function would be awesome.

    Thread Starter samnait

    (@samnait)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Product Category’ is closed to new replies.