Why Fail Discount Requirements Loading

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi,
I want to use discount with discount requirements. I created new discount and saved it, then i wanted to add requeirement but i got an error. "Failed to load requirement content" . Why doesn't load requirements. What can i do for this situation.
Thanks.
5 years ago
Just test it on admin demo and seems all working find. Check your browser console log (also you may have a look at system log in admin panel) and check if you have any errors.

Regards,
Tom
4 years ago
Did you find the solution?
4 years ago
Does this help
https://www.nopcommerce.com/boards/t/31858/cant-get-discounts-to-work-correctly-get-this-failed-to-load-requirement-content.aspx?p=2#211654
4 years ago
New York wrote:

Thank you for your reply. It seems it did not help me.

I defined a discount yesterday. While defining it there was no problem with adding the requirement. When I checked today, all requirement definitions of all discounts have the same error now. I deleted the last discount, tried the fix you mentioned and restarted the application, it did not worked.
4 years ago
I guess, it's caused by a confusion of links with http and https.I fixed this situation with set up the store url with https and force to ssl all requests. I hope it does help
4 years ago
gozdekinik wrote:
I guess, it's caused by a confusion of links with http and https.I fixed this situation with set up the store url with https and force to ssl all requests. I hope it does help


This helped me, thank you very much Gözde.

I was getting these errors while browsing without "www" :
https://gumustakidunyasi.com/Admin/Discount/Edit/1

When I added the prefix of "www" everything, it started working properly.


How can I achieve to continue working properly without the prefix of "www" when the current settings are (adding or modifying any values?):

Store url: https://www.gumustakidunyasi.com/

SSL enabled: True

Secure URL: https://www.gumustakidunyasi.com/

HOST values: gumustakidunyasi.com, www.gumustakidunyasi.com

Or any suggestions to redirect all the requests without "www" to "www"?

Thanks.
4 years ago
I'm glad it worked. I guess, still it's available to use without prefix. You dont have to change anything.
4 years ago
gozdekinik wrote:
I'm glad it worked. I guess, still it's available to use without prefix. You dont have to change anything.


Unfortunately, when I ignore the prefix it does not working.
4 years ago
mavera1 wrote:
I'm glad it worked. I guess, still it's available to use without prefix. You dont have to change anything.

Unfortunately, when I ignore the prefix it does not working.


in my settings, it's "doesn't matter", i didn't change it.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.