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

#   Message "Discount code already used"

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

10 years 9 months ago [\#230055](#230055) by [mascotavital](/forum/user/35917-mascotavital "View mascotavital's Profile")  *[Message "Discount code already used"](/forum/25-install-update/882324-message-discount-code-already-used#230055 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.44 -- Browser(s) name and version -- : Firefox 44.0.2  Some time ago I imported some discount codes. Since then, when I want to create a new code I get the message like &quot;Diskount code already used&quot; but the code is created sucessfully. Also on editing I get this message except with the older codes before my imported codes. What my I have done wrong? Best regards")* was created by *[mascotavital](/forum/user/35917-mascotavital "View mascotavital's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.44
-- Browser(s) name and version -- : Firefox 44.0.2

Some time ago I imported some discount codes. Since then, when I want to create a new code I get the message like "Diskount code already used" but the code is created sucessfully. Also on editing I get this message except with the older codes before my imported codes.
What my I have done wrong?
Best regards

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 9 months ago [\#230080](#230080) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Message "Discount code already used"](/forum/25-install-update/882324-message-discount-code-already-used#230080 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.44 -- Browser(s) name and version -- : Firefox 44.0.2  Some time ago I imported some discount codes. Since then, when I want to create a new code I get the message like &quot;Diskount code already used&quot; but the code is created sucessfully. Also on editing I get this message except with the older codes before my imported codes. What my I have done wrong? Best regards")*

Hello,
Did you checked that your didn't set a value already used by existing discounts through your new discount's "Code" option ?
Can you tell me how did you exactly imported your "older codes" ?

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

10 years 9 months ago [\#230156](#230156) by [mascotavital](/forum/user/35917-mascotavital "View mascotavital's Profile")  Replied by *[mascotavital](/forum/user/35917-mascotavital "View mascotavital's Profile")* on topic *[Message "Discount code already used"](/forum/25-install-update/882324-message-discount-code-already-used#230156 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.44 -- Browser(s) name and version -- : Firefox 44.0.2  Some time ago I imported some discount codes. Since then, when I want to create a new code I get the message like &quot;Diskount code already used&quot; but the code is created sucessfully. Also on editing I get this message except with the older codes before my imported codes. What my I have done wrong? Best regards")*

I tried it with a new not existing code but got this message.
The first codes I created with hikashop. Some time ago I imported around 400 codes direct in the SQL database. Since then I have this problem.

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

10 years 9 months ago -  10 years 9 months ago [\#230159](#230159) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Message "Discount code already used"](/forum/25-install-update/882324-message-discount-code-already-used#230159 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.44 -- Browser(s) name and version -- : Firefox 44.0.2  Some time ago I imported some discount codes. Since then, when I want to create a new code I get the message like &quot;Diskount code already used&quot; but the code is created sucessfully. Also on editing I get this message except with the older codes before my imported codes. What my I have done wrong? Best regards")*

Hello,

Difficult to see what happen, because it's impossible for us to recreate this bug from our side,
BUT you tell us that the discount is successfully created how did you check this point?

If you check in your **php my admin** maybe, you only see the "**old**" discount with the same **code**?
And so, the message error is quite normal,

Awaiting news from you!

Regards,

Last edit: 10 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

10 years 9 months ago -  10 years 9 months ago [\#230299](#230299) by [mascotavital](/forum/user/35917-mascotavital "View mascotavital's Profile")  Replied by *[mascotavital](/forum/user/35917-mascotavital "View mascotavital's Profile")* on topic *[Message "Discount code already used"](/forum/25-install-update/882324-message-discount-code-already-used#230299 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.44 -- Browser(s) name and version -- : Firefox 44.0.2  Some time ago I imported some discount codes. Since then, when I want to create a new code I get the message like &quot;Diskount code already used&quot; but the code is created sucessfully. Also on editing I get this message except with the older codes before my imported codes. What my I have done wrong? Best regards")*

I checked the table xxxx_hikashop_discount and everything seems to be ok. I created a new code just hitting some buttons "kjhermnb83ghdkbd7" and searching the table for this code if there is one. If not, I created a new discount in hikashop with this new code and got the message that this code is already used. It is not a major error. The code and every entry I made is created sucessfully. I can live with this message but it is a bit confusing for other who want to create discount codes.

Last edit: 10 years 9 months ago by [mascotavital](/forum/user/35917-mascotavital "View mascotavital's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MjMyNC1tZXNzYWdlLWRpc2NvdW50LWNvZGUtYWxyZWFkeS11c2VkP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 9 months ago [\#230344](#230344) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Message "Discount code already used"](/forum/25-install-update/882324-message-discount-code-already-used#230344 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.44 -- Browser(s) name and version -- : Firefox 44.0.2  Some time ago I imported some discount codes. Since then, when I want to create a new code I get the message like &quot;Diskount code already used&quot; but the code is created sucessfully. Also on editing I get this message except with the older codes before my imported codes. What my I have done wrong? Best regards")*

Hi,

That's really strange because we're not able to reproduce the problem on our end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MjMyNC1tZXNzYWdlLWRpc2NvdW50LWNvZGUtYWxyZWFkeS11c2VkP3RtcGw9bWFya2Rvd24=) 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.133 seconds

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