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
0
votes
1 answer

magento how to apply 2 coupon code at the same time

I have two coupon codes that i am going to apply for single product but it is taking the only one coupons code discount. so please tell me how to apply 2 codes at the same time...
0
votes
1 answer

Magento Shopping cart price rule / coupon on product variations within a category

We're trying to setup a coupon (10%) for all products in a certain category (id:20) in magento. The rule only seems to work when we assign the simple variations of a product to a category but we never do this, we only assign the configurables. Am I…
Gavin
  • 61
  • 2
  • 6
0
votes
1 answer

Adding a PayPal coupon code to final price

I looking to add promo codes to my PayPal shoppingcart. I have 80+ products, each with their own PayPal button, so I am not interested in generating new buttons for every item. Is there a way where the users can add a promo code at the final step to…
0
votes
0 answers

Save two coupons in database when generate drupal commerce coupon programatically

I use the following code to generate the coupon code programatically $coupon = commerce_coupon_create('commerce_coupon_pct'); commerce_coupon_save($coupon); If these code run in xxx.module file, it will write two coupons in the database when I…
waveer
  • 1
  • 1
0
votes
1 answer

Opencart add coupon code on database through module

I have searched almost all question but didn't get any hint how can i add coupon code from module...? I have created module and from front side that is 'catalog\controller\module\mycoupon' i want to add coupon code auto on database, for adding i use…
0
votes
5 answers

Coupon code Verification in an Ecommerce site

Hi all I am implementing a coupon code verification option in my Ecommerce website. I have two types of coupons either flat amount or percentage. How to tackle both of these in backend. I mean in database schema.
user2362946
0
votes
1 answer

Apply custom coupon discount code for products in cart

I want to create rule with below requirement: product A --- no special price ---coupon code can be use product B --- Special price ---coupon code cannot be used product A + product B -----no DISCOUNT on product A and DISCOUNT on product B ----…
Nikhil_K_R
  • 2,383
  • 5
  • 27
  • 51
0
votes
2 answers

Magento Coupon code with 100% free in entire whole cart

I need a coupon whith 100% free in entire cart, how I can create it via admin or programatically? (Including tax)
Luis
  • 1,040
  • 1
  • 14
  • 22
0
votes
1 answer

Magento setCouponCode

Is there anyone know where i can find the setCouponCode function is? Cause what im trying to do is, i want to add some custom code when adding the coupon code where i added table in the database that has my custom code to be check. I believe that…
eurica
  • 120
  • 2
  • 13
0
votes
1 answer

Creating a coupon via API

Currently when attempting a coupon (POST) at resource "/coupon.json" we are getting the following return JSON: Response Code: {"status":400,"message":"The field 'id' cannot be written to. Please remove it from your request before trying…
Ransom
  • 23
  • 4
0
votes
1 answer

Magento programmatically get discount giving coupon code and products

I'm trying to integrate a system with Magento, I would like a way to send the coupon code, current user and cart to Magento and retrieve the according discount (if applies), so I don't have to replicate all the logic behind coupon validation. I…
jonathanwiesel
  • 1,036
  • 2
  • 16
  • 35
0
votes
1 answer

Woocommerce coupons add_discount error when using that function

I'm having issues adding coupon discounts via code. I'm getting this error Fatal error: Call to a member function add_discount() on a non-object in C:\xampp\htdocs\teachingyounet\wp-content\themes\responsive\functions.php on line 43 My…
DragonSlayer
  • 817
  • 3
  • 14
  • 26
0
votes
1 answer

Can I programmatically create a coupon code from a link in an email?

There are 10 coupons in a mail. When somebody wants to print one, they will click a link in the mail which will generate a unique, printable (PDF) coupon code for that person. How to generate that coupon code - where will the script reside? Will…
ekalaivan
  • 443
  • 1
  • 6
  • 17
0
votes
1 answer

how to set up coupon for a free product with purchases at least of $75 in Magento 1.7?

We are trying to make it so that customers can receive 100% off on a product (SKU is 1PR) once they have done the following: 
entered it in to their cart entered at least $75 worth of product in their cart 
 entered the promo code “peonia” We…
user2040680
  • 21
  • 1
  • 3
0
votes
1 answer

Magento coupon discount translation

I like to change "Discount" to "Promotion" in cart and onepage checkout. However, I can't find any file location. I have turn on the Template Path Hints from Configuration. Can anyone help me out ?