Questions tagged [coupon]

For questions related to performing discounts on eCommerce transactions. (Please do not use this tag for questions regarding financial calculations regarding bond coupons and interest rates.)

This tag refers to performing discounts on eCommerce transactions (i.e. taking coupons in the applications OpenCart, Magneto, or WooCommerce applications.) Besides the logic to implement the discounts, this tag could also refer to generation of unique or batch coupon codes.

For financial calculations regarding bond coupons and interest rates, please use a different suitable tag, such as:

499 questions
-3
votes
1 answer

MySQL get data older than 30 minutes and perform some tasks

I am trying to make a coupon system, but I got stuck with something. I want to make a function that gets all data from coupon_session where the time (datetime) is older than 30 minutes. For each of the results, I want to fetch the "code" from the…
-3
votes
2 answers

FloatingRateBond cashflow retrieval and printing

I am using the FloatingRateBond class to create a floating rate bond object, which I have already priced correctly. However, now I need to retrieve the cashflows and the dirty price to decompose the yield. I have been trying the following without…
-4
votes
2 answers

PHP code for generating a simple coupon code

I need some help automatically generating 250 coupon codes when i run the program. It must: create 250 coupon codes the coupon codes must be 10 characters long the coupon codes must begin with "IA" This is my code: function…
-5
votes
2 answers

Is there a hook or plugin to exclude certain product-tags from a woocommerce coupon?

I need to exclude a product tag from a woocommerce coupon. I've tried to search Google for an applicable plugin, but came up empty. Ideally, a solution would be a plugin that adds a custom field to the coupon post type. However, I'll settle for…
Joe G
  • 13
  • 2
1 2 3
33
34