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

#   Cannot restrict discount to products

##

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

Less More

- Posts: 50
- Thank you received: 0
-
-

6 years 9 months ago -  6 years 9 months ago [\#315477](#315477) by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")  *[Cannot restrict discount to products](/forum/46-discount-coupon/899154-cannot-restrict-discount-to-products#315477 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.3 -- Browser(s) name and version -- : various -- Error-message(debug-mod must be tuned on) -- : &quot;error&quot;  Normally we add a discount %, and select certain products in the &quot;restrictions&quot; area. The system is not letting us choose products. We click th e+ by the category, and no products show, it just says &quot;error&quot;  &#42;&#42;EDIT&#42;&#42; i added product id#s to the discount in the database tables and it worked, but we still need to fix this for future.")* was created by *[cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.15
-- PHP version -- : 7.3
-- Browser(s) name and version -- : various
-- Error-message(debug-mod must be tuned on) -- : "error"

Normally we add a discount %, and select certain products in the "restrictions" area. The system is not letting us choose products. We click th e+ by the category, and no products show, it just says "error"

**EDIT** i added product id#s to the discount in the database tables and it worked, but we still need to fix this for future.

- [ ![rrpdiscounterror.jpg](/forum/attachment/48676) ](/forum/attachment/48676 "...counterror.jpg") [ ](/forum/attachment/48676?download=1 "...counterror.jpg")

Last edit: 6 years 9 months ago by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84OTkxNTQtY2Fubm90LXJlc3RyaWN0LWRpc2NvdW50LXRvLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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: 86556
- Thank you received: 14304
-
-

6 years 9 months ago -  6 years 9 months ago [\#315478](#315478) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cannot restrict discount to products](/forum/46-discount-coupon/899154-cannot-restrict-discount-to-products#315478 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.3 -- Browser(s) name and version -- : various -- Error-message(debug-mod must be tuned on) -- : &quot;error&quot;  Normally we add a discount %, and select certain products in the &quot;restrictions&quot; area. The system is not letting us choose products. We click th e+ by the category, and no products show, it just says &quot;error&quot;  &#42;&#42;EDIT&#42;&#42; i added product id#s to the discount in the database tables and it worked, but we still need to fix this for future.")*

Hi,

This indicates that something went wrong when loading the data from the server for the category.
I would first recommend to try again after loging out and in from your backend.
It could be an issue with a user session expiration and doing this would help.
If you still have the problem, then it could be anything from another extension (like a security extension, or some HTML replacing extension breaking things as it's wrongfully detecting something where it shouldn't do anything) to a bug in HikaShop for a special case (like for example a special character not handled properly).
To be able to help, we'll need a backend access and a FTP access and a link to this thread via our contact form so that we can analyze the situation:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Last edit: 6 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 50
- Thank you received: 0
-
-

6 years 8 months ago [\#316532](#316532) by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")  Replied by *[cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")* on topic *[Cannot restrict discount to products](/forum/46-discount-coupon/899154-cannot-restrict-discount-to-products#316532 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.3 -- Browser(s) name and version -- : various -- Error-message(debug-mod must be tuned on) -- : &quot;error&quot;  Normally we add a discount %, and select certain products in the &quot;restrictions&quot; area. The system is not letting us choose products. We click th e+ by the category, and no products show, it just says &quot;error&quot;  &#42;&#42;EDIT&#42;&#42; i added product id#s to the discount in the database tables and it worked, but we still need to fix this for future.")*

sent info via contact, thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84OTkxNTQtY2Fubm90LXJlc3RyaWN0LWRpc2NvdW50LXRvLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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: 86556
- Thank you received: 14304
-
-

6 years 8 months ago [\#316535](#316535) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cannot restrict discount to products](/forum/46-discount-coupon/899154-cannot-restrict-discount-to-products#316535 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.3 -- Browser(s) name and version -- : various -- Error-message(debug-mod must be tuned on) -- : &quot;error&quot;  Normally we add a discount %, and select certain products in the &quot;restrictions&quot; area. The system is not letting us choose products. We click th e+ by the category, and no products show, it just says &quot;error&quot;  &#42;&#42;EDIT&#42;&#42; i added product id#s to the discount in the database tables and it worked, but we still need to fix this for future.")*

Hi,

So when I check the issue on your backend, I can see that the request to the server comes back with a 500 error:
[ monosnap.com/file/f4YKDiUrmYxJbKWhWexVoSD86UPuPd](https://monosnap.com/file/f4YKDiUrmYxJbKWhWexVoSD86UPuPd)
This usually means that a PHP fatal error happened during the process of the request.
Normally, a fatal error message is sent back to the browser with information on the issue.
However, it's not the case on your website.
In that case, you need to check the PHP error log of the website for that "Fatal error" message.
Please check that (you might need to ask your hosting) and provide the Fatal error message you get so that we can better understand where the problem is coming from.

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

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

Less More

- Posts: 50
- Thank you received: 0
-
-

6 years 6 months ago -  6 years 6 months ago [\#318339](#318339) by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")  Replied by *[cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")* on topic *[Cannot restrict discount to products](/forum/46-discount-coupon/899154-cannot-restrict-discount-to-products#318339 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.3 -- Browser(s) name and version -- : various -- Error-message(debug-mod must be tuned on) -- : &quot;error&quot;  Normally we add a discount %, and select certain products in the &quot;restrictions&quot; area. The system is not letting us choose products. We click th e+ by the category, and no products show, it just says &quot;error&quot;  &#42;&#42;EDIT&#42;&#42; i added product id#s to the discount in the database tables and it worked, but we still need to fix this for future.")*

This is still happening even after all updates. I did check with server people and the logs did not have anything that was helpful at all. There are no errors related to this any any logs that i can see.
When i inspect in back end like you did, i do not get 500 error it looks like the other requests with 200 in green.

Last edit: 6 years 6 months ago by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi84OTkxNTQtY2Fubm90LXJlc3RyaWN0LWRpc2NvdW50LXRvLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) 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: 86556
- Thank you received: 14304
-
-

6 years 6 months ago [\#318350](#318350) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cannot restrict discount to products](/forum/46-discount-coupon/899154-cannot-restrict-discount-to-products#318350 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.15 -- PHP version -- : 7.3 -- Browser(s) name and version -- : various -- Error-message(debug-mod must be tuned on) -- : &quot;error&quot;  Normally we add a discount %, and select certain products in the &quot;restrictions&quot; area. The system is not letting us choose products. We click th e+ by the category, and no products show, it just says &quot;error&quot;  &#42;&#42;EDIT&#42;&#42; i added product id#s to the discount in the database tables and it worked, but we still need to fix this for future.")*

Hi,

Well, I can have a deeper look into the issue. But I'll need a FTP access then to check the situation.

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

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