[Skip to main content](#vessel-content)

#   Coupon Not adding item or discount

##

- **[coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")**
- [![coop9653's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33461-coop9653 "View coop9653's Profile") Topic Author
- [ Offline](/forum/user/33461-coop9653)

Less More

- Posts: 20
- Thank you received: 0
-
-

10 years 6 months ago [\#235418](#235418) by [coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")  *[Coupon Not adding item or discount](/forum/27-checkout/883604-coupon-not-adding-item-or-discount#235418 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : I am seeing this on the admin page, SIMPLE joom&#95;extensions ALL extension NO INDEX KEY COULD BE USED NULL NULL 218 Using where; Using filesort  but NO errors in the debug on the cart page.  I have setup a coupon for the first time. I have tried every conceivable way to configure it. I have tried a percentage a flat rate everything  I have moved the checkout workflow all over.  When I enter the coupon code, the cart screen refreshes but nothing happens. I expected the item to be added to the cart, but that does not happen. I tried adding the item first, then adding the coupon, nothing.  IF i put in an incorrect coupon code I do get a message Notice The coupon you entered is not valid.  So the flow seems to be working.. but nothing appears in the cart. I also finished the checkout, and checked the invoice the item is not affected there as well  and the number of times used for the coupon remains at zero.  I can setup a remote session or send credentials on a private of course")* was created by *[coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.3
-- PHP version -- : 5.3
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : I am seeing this on the admin page,
SIMPLE joom_extensions ALL extension NO INDEX KEY COULD BE USED NULL NULL 218 Using where; Using filesort

but NO errors in the debug on the cart page.

I have setup a coupon for the first time.
I have tried every conceivable way to configure it. I have tried a percentage a flat rate
everything

I have moved the checkout workflow all over.

When I enter the coupon code, the cart screen refreshes but nothing happens. I expected the item to be added to the cart, but that does not happen. I tried adding the item first, then adding the coupon, nothing.

IF i put in an incorrect coupon code I do get a message
Notice
The coupon you entered is not valid.

So the flow seems to be working.. but nothing appears in the cart.
I also finished the checkout, and checked the invoice the item is not affected there as well

and the number of times used for the coupon remains at zero.

I can setup a remote session or send credentials on a private of course
[ ![hika1.png](/forum/attachment/30457) ](/forum/attachment/30457 "hika1.png")

[ ![hika2.png](/forum/attachment/30458) ](/forum/attachment/30458 "hika2.png")

- [ ![hika1.png](/forum/attachment/30457) ](/forum/attachment/30457 "hika1.png") [ ](/forum/attachment/30457?download=1 "hika1.png")
- [ ![hika2.png](/forum/attachment/30458) ](/forum/attachment/30458 "hika2.png") [ ](/forum/attachment/30458?download=1 "hika2.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzYwNC1jb3Vwb24tbm90LWFkZGluZy1pdGVtLW9yLWRpc2NvdW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

10 years 6 months ago [\#235453](#235453) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Coupon Not adding item or discount](/forum/27-checkout/883604-coupon-not-adding-item-or-discount#235453 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : I am seeing this on the admin page, SIMPLE joom&#95;extensions ALL extension NO INDEX KEY COULD BE USED NULL NULL 218 Using where; Using filesort  but NO errors in the debug on the cart page.  I have setup a coupon for the first time. I have tried every conceivable way to configure it. I have tried a percentage a flat rate everything  I have moved the checkout workflow all over.  When I enter the coupon code, the cart screen refreshes but nothing happens. I expected the item to be added to the cart, but that does not happen. I tried adding the item first, then adding the coupon, nothing.  IF i put in an incorrect coupon code I do get a message Notice The coupon you entered is not valid.  So the flow seems to be working.. but nothing appears in the cart. I also finished the checkout, and checked the invoice the item is not affected there as well  and the number of times used for the coupon remains at zero.  I can setup a remote session or send credentials on a private of course")*

Hi,

I've tested on your website and I don't see the "coupon" view in your "checkout workflow".
You can't add a coupon on the checkout if you don't have that view.

I've also tested a coupon configured similarily on a test website on my end and it works just fine.
So please provide a way to reproduce the problem on your website (coupon code, URL of the product page, etc).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzYwNC1jb3Vwb24tbm90LWFkZGluZy1pdGVtLW9yLWRpc2NvdW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")**
- [![coop9653's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33461-coop9653 "View coop9653's Profile") Topic Author
- [ Offline](/forum/user/33461-coop9653)

Less More

- Posts: 20
- Thank you received: 0
-
-

10 years 6 months ago [\#235542](#235542) by [coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")  Replied by *[coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")* on topic *[Coupon Not adding item or discount](/forum/27-checkout/883604-coupon-not-adding-item-or-discount#235542 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : I am seeing this on the admin page, SIMPLE joom&#95;extensions ALL extension NO INDEX KEY COULD BE USED NULL NULL 218 Using where; Using filesort  but NO errors in the debug on the cart page.  I have setup a coupon for the first time. I have tried every conceivable way to configure it. I have tried a percentage a flat rate everything  I have moved the checkout workflow all over.  When I enter the coupon code, the cart screen refreshes but nothing happens. I expected the item to be added to the cart, but that does not happen. I tried adding the item first, then adding the coupon, nothing.  IF i put in an incorrect coupon code I do get a message Notice The coupon you entered is not valid.  So the flow seems to be working.. but nothing appears in the cart. I also finished the checkout, and checked the invoice the item is not affected there as well  and the number of times used for the coupon remains at zero.  I can setup a remote session or send credentials on a private of course")*

How did you test on our website? The website requires a user login!

I know the coupon view is not in the checkout workflow.. I had to take it out, because it does not work!
In my email I stated that I had tried putting the coupon in many spaces in the workflow and it did not work,
sorry I did not make this clear.

When I recieved this response, I decided to make a video. It's on my google drive, shared link below

I added the coupon back to the workflow
I put some items in the cart.
I enter the coupon
Nothing happen's
Just like before.

I then added the item that gets the discount.
Suddenly it adds the coupon discount, it did not do this before, when I tested.
This is not how we want it to work. read on..

I finished the order.

I then added more items to a cart
I went to the cart,
and the coupon code was already entered!
I think this is because I set load in cart if possible to ON.

but.. thats not really what we need

What we really want it to do is. Add the item free to the cart when the order gets to 350$ or
If they need to enter the code that is fine. but once the code is entered, it should add the product to the cart and discount it to zero. If it cannot do zero we can make it a penny..

Is this possible?

See the video link.

[ drive.google.com/file/d/0B6r\_Jkhm9-xXeGF...TG8/view?usp=sharing](https://drive.google.com/file/d/0B6r_Jkhm9-xXeGFab0QyYXZTTG8/view?usp=sharing)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzYwNC1jb3Vwb24tbm90LWFkZGluZy1pdGVtLW9yLWRpc2NvdW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

10 years 6 months ago [\#235545](#235545) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Coupon Not adding item or discount](/forum/27-checkout/883604-coupon-not-adding-item-or-discount#235545 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : I am seeing this on the admin page, SIMPLE joom&#95;extensions ALL extension NO INDEX KEY COULD BE USED NULL NULL 218 Using where; Using filesort  but NO errors in the debug on the cart page.  I have setup a coupon for the first time. I have tried every conceivable way to configure it. I have tried a percentage a flat rate everything  I have moved the checkout workflow all over.  When I enter the coupon code, the cart screen refreshes but nothing happens. I expected the item to be added to the cart, but that does not happen. I tried adding the item first, then adding the coupon, nothing.  IF i put in an incorrect coupon code I do get a message Notice The coupon you entered is not valid.  So the flow seems to be working.. but nothing appears in the cart. I also finished the checkout, and checked the invoice the item is not affected there as well  and the number of times used for the coupon remains at zero.  I can setup a remote session or send credentials on a private of course")*

Hi,

I tested with a test user account you had previously provided and that I still had on my end.

HikaShop has no system to add a product to the cart when a coupon code is entered in the checkout.
What "product" setting of the coupon does is that it restrict the use of the coupon to only when that product is in the cart.
And if you have the "auto load in cart" setting activated in the coupon, the coupon will be loaded automatically in the cart if the product you selected in the coupon is present in the cart.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzYwNC1jb3Vwb24tbm90LWFkZGluZy1pdGVtLW9yLWRpc2NvdW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")**
- [![coop9653's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33461-coop9653 "View coop9653's Profile") Topic Author
- [ Offline](/forum/user/33461-coop9653)

Less More

- Posts: 20
- Thank you received: 0
-
-

10 years 6 months ago [\#235590](#235590) by [coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")  Replied by *[coop9653](/forum/user/33461-coop9653 "View coop9653's Profile")* on topic *[Coupon Not adding item or discount](/forum/27-checkout/883604-coupon-not-adding-item-or-discount#235590 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : I am seeing this on the admin page, SIMPLE joom&#95;extensions ALL extension NO INDEX KEY COULD BE USED NULL NULL 218 Using where; Using filesort  but NO errors in the debug on the cart page.  I have setup a coupon for the first time. I have tried every conceivable way to configure it. I have tried a percentage a flat rate everything  I have moved the checkout workflow all over.  When I enter the coupon code, the cart screen refreshes but nothing happens. I expected the item to be added to the cart, but that does not happen. I tried adding the item first, then adding the coupon, nothing.  IF i put in an incorrect coupon code I do get a message Notice The coupon you entered is not valid.  So the flow seems to be working.. but nothing appears in the cart. I also finished the checkout, and checked the invoice the item is not affected there as well  and the number of times used for the coupon remains at zero.  I can setup a remote session or send credentials on a private of course")*

I understand now. I will work out some way to work around this with the owner.
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzYwNC1jb3Vwb24tbm90LWFkZGluZy1pdGVtLW9yLWRpc2NvdW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.202 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
