Stack Overflow - Where Developers Learn, Share, & Build

Stack Overflow is the largest, most trusted online community for developers to learn, share their programming knowledge, and build their careers.

Actived: Friday Jan 22, 2021


php - How to create a coupon on specific product in

Let's say I have 10% off coupon code. This coupon is applicable only to Product B. A customer have in its cart : Product P1 ; Product B; Product P2; I don't want my 10% off coupon apply to other product but only to Product B.

Category:  coupon codes Go Coupon

How to create a coupon code in magento that will apply a

I want to implement a coupon code which will give the user 20% Off on their shopping cart if the value of the discount is less than 500. e.g. Total Cart Value is 10000 20% coupon code applied would give a discount of 2000 However the maximum discount that should be given is only 500.

Category:  coupon codes Go Coupon

Newest 'coupon' Questions - Stack Overflow

My goal : Retrieve the coupon code applied (only one coupon code can be applied on the cart page) and create a custom link 'Remove Coupon'. My problem : I can't figure out how to display in my 'Remove

Category:  coupon codes Go Coupon

Magento Coupon code with 100% free in entire whole cart

Magento Coupon code with 100% free in entire whole cart. Ask Question Asked 7 years, 2 months ago. Active 5 years, 10 months ago. Viewed 2k times 0. I need a coupon whith 100% free in entire cart, how I can create it via admin or programatically? If everything is 100% off then that's all you need. Leave everything else blank.

Category:  coupon codes Go Coupon

c# - Coupon code generation - Stack Overflow

E.g. only issue coupons for the first 10.000 numbers. Then, the probability of some random coupon code to be valid would be 10000/2^30=0.00001 (it would require about 50000 attempts to find a correct coupon code). If you need more "security", you can just increase the bit size/coupon code length (see below). EDIT: Change Coupon code length

Category:  coupon codes Go Coupon

javascript - How to distribute unique coupon codes with 70

The coupons are generated by Amazon and then stored in an array in my database. The problem is simply in making sure that I am grabbing a coupon from the object only once. It should work so a code is not consumed at the time of the request but placed in a queue as a callable, waiting to kick off. You can read the length of

Category:  coupon codes Go Coupon

c# - Generate User Specific 1 Time Coupon Code - Stack

The coupon code can then be randomly generated and short -- it's just a reference to a record in your database that contains all the necessary information, such as coupon value, customer ID, rep ID. Verifying such a code requires online access to your servers.

Category:  coupon codes Go Coupon

java - How to write a program that solves discount + price

A software company sells a package that retails for $99. Quantity discounts are applied if the number of packages ordered is: Quantity Discount 10 - 19 20% 20 - 49 30% 50 - 99 40% 100 or more 50%

Category:  coupon codes Go Coupon

Calculating discount in VB.NET - Stack Overflow

The type of the txtClientVisits.Text property is a String. The comparison operators <, >, >=, and <= for strings perform a lexicographic comparison. VB will then convert 14 to the string "14" and so compare each digit one-by-one, which is not what you want. (This is why I don't like VB.NET - because it performs these implicit conversions without warning you).

Category:  coupon codes Go Coupon

HTML\CSS Coupon Script - Stack Overflow

Why do electronics have to be off before engine startup/shut down on a Cessna 172? I'm [suffix] to [prefix] it, [infix] it's [whole] In German, can I have a sentence with multiple cases? Is my back-of-the-envelope calculation about taking out a loan to invest into the markets flawed?

Category:  coupon codes Go Coupon

php - Using Coupon Codes with Stripe - Stack Overflow

When I try to submit the form without a coupon code, it charges the full amount and passes through Stripe correctly. However if I enter either a valid OR invalid coupon code, it does not pass a coupon object with the customer object when creating a new customer object and charges the full amount when passing through Stripe.

Category:  coupon codes Go Coupon

php - How do I change the woocommerce coupon code? - Stack

Right now coupon code appear on my cart total and on my cart coupon section. But I want to change it a little bit. For default, it shows like "coupon: couponcode and then $10 with the remove link." I want it to print the cart % discount "15% off " for cart total and my coupon section. For my cart total I don't want the "remove link" to appear.

Category:  coupon codes Go Coupon

How to create a coupon on specific product or category in

I am using Magento ver. Let's say I have 20% off coupon code. This coupon is applicable only to Product B A customer have in its cart : Product A Product B Product C I don't want my 20

Category:  coupon codes Go Coupon

php - Hide Coupon notice form in Woocommerce checkout page

You can use a custom function hooked in woocommerce_before_checkout_form action hook that will remove the notice coupon form without disabling coupon functionality in checkout page:. add_action( 'woocommerce_before_checkout_form', 'remove_checkout_coupon_form', 9 ); function remove_checkout_coupon_form(){ remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10

Category:  coupon codes Go Coupon

php - Magento Coupon Code apply on original price and not

Now when i tried to create a Shopping cart price rule and created a coupon code, the coupon code discounted price gets calculated on discounted price. But i want if the product is already under discounted price , coupon code discount should apply on base price and not on discounted price. Please guide me how to setup this in magento.

Category:  coupon codes Go Coupon

magento - Coupon is always re-added during checkout

Magento : how to get the coupon code percent-off amount in the sidebar cart? 3. Magento - Determine if coupon code applied on cart page is for 'FREE SHIPPING' 1. Remove free shipping method after apply coupon code. 2. Magento observer - Which event to use when a coupon code is canceled. 0.

Category:  Free shipping Go Coupon

php - Check if coupon is applied in WooCommerce using

I have a shortcode (which works fine) that applies coupons and it does so using custom messages. Everything works fine except for one thing: if a coupon is applied and the user makes the "mist

Category:  coupon codes Go Coupon

wordpress - Display coupon description woocommerce

I wondered in anyone could help me figure out how to display the coupon description underneath the coupon title in a WooCommerce cart? For example the title is the coupon code (COUPONCODE1234) but it would be useful if underneath or immediately after it displayed how much of a discount this provides i.e. '15% OFF'.

Category:  coupon codes Go Coupon

Adding "Promo Code" functionality to my ASP.NET C# website

The answer to this question depends a lot on what kind of promos you are going offer. If the promo is fairly low value, like Get 1 dollar discount on you next purchase of 5 dollars or more then I don't see much point in protecting the promo code(s) in the database. In a scenario like that, losing the promo code(s) to a hacker is not going to be the worst disaster.

Category:  coupon codes Go Coupon

Related topics