PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.14k stars 4.8k forks source link

Voucher are not applied "You can not use this voucher" #10953

Closed CArlvJ1N0N8 closed 6 years ago

CArlvJ1N0N8 commented 6 years ago

Describe the bug A promotion code is created for every customer to get a 10 % discount when using code "first10". Although when applying this code it says "You can not use this voucher".

To Reproduce Steps to reproduce the behavior:

  1. Go to front store
  2. Click on product to add to cart
  3. Create your new account
  4. Proceed to checkout
  5. At checkout page, apply code in coupon box "first10"
  6. Press apply and see error message appearing.

Screenshots If applicable, add screenshots or screenrecords to help explain your problem. you can not use this voucher Additionnal information PrestaShop version: 1.7.4.3 PHP version: 7.0.27-0+deb9u1

khouloudbelguith commented 6 years ago

Hi @CArlvJ1N0N8,

Thanks to check the "Total available" & "Total available for each user" of this cart rule & feedback.

CArlvJ1N0N8 commented 6 years ago

Yes sure, i forgot to paste this picture!

available

khouloudbelguith commented 6 years ago

@CArlvJ1N0N8, I did not manage to reproduce the issue with PS 1.7.4.3. I attached a video record https://drive.google.com/file/d/1hLIP56XvDTqCX-mIB7boW3iFnbr8ypT_/view Thanks to check & feedback.

CArlvJ1N0N8 commented 6 years ago

Ok, but it is the same issue on our Dev site.

So would it be a conflict between different modules if we don't get the vouchers have the same behaviours as yours?

You can do the same test on https://dev.easy-pharma.ca

khouloudbelguith commented 6 years ago

Hi @CArlvJ1N0N8,

Could you please try to re-create another voucher, thanks to provide a screen record about it, check & feedback. Thanks!

CArlvJ1N0N8 commented 6 years ago

Hello,

I recreated the 2nd10 as a new voucher, but same result.

2nd10 doesn t work 2nd10 scr1 2nd10 scr2 2nd10 scr3

khouloudbelguith commented 6 years ago

Hi @CArlvJ1N0N8,

Could you please provide us with more info? We need more details to understand how we can reproduce your issue:

Don't you know how to get this information? Please read the following article: http://build.prestashop.com/howtos/misc/how-to-create-bug-report/

Thanks!

CArlvJ1N0N8 commented 6 years ago

first10 with default theme in dev site not working

CArlvJ1N0N8 commented 6 years ago

"server setup and configuration" Debian9 Ngixn + php-fpm Php7

PHP error logs# nothing

nginx error log# 2018/10/11 06:36:34 [error] 19383#19383: *30460 open() "/home/live/web/easy-pharma.ca/public_html/cdn-cgi/scripts/d07b1474/cloudflare-static/email-decode.min.js" failed (2: No such file or directory), client: 142.44.160.129, server: www.easy-pharma.ca, request: "GET /cdn-cgi/scripts/d07b1474/cloudflare-static/email-decode.min.js HTTP/1.1", host: "www.easy-pharma.ca", referrer: "https://www.easy-pharma.ca/fr/module/wtblog/post?id_wt_blog_post=3&;;;amp;;;;;;;;;amp;category_parent=1-are-you-subject-to"

khouloudbelguith commented 6 years ago

Hi @CArlvJ1N0N8,

Your issue is related to the theme or custom module, when I enabled the mode debug, I found 3 bugs 1- image 2- image 3- I tried to disable the SmartBlog Home Latest News module & the TD - Sub Banner Block => in the cart page, I have this error image

You need to disable the custom modules one by one, check & feedback.

CArlvJ1N0N8 commented 6 years ago

Hello,

It seems we have the same issue with the default prestashop theme. Can you test it on your side?

Thanks,

Carl

khouloudbelguith commented 6 years ago

Hi @CArlvJ1N0N8,

I attached a video record. https://drive.google.com/file/d/1sdgJHDBQp8a_sgKPloT8hUBGlfJMsonZ/view Thanks to check & feedback.

CArlvJ1N0N8 commented 6 years ago

Hello,

Please close this issue since it is now working again.

But i don't what has been changed....

Thanks,

PierreRambaud commented 6 years ago

Thanks @CArlvJ1N0N8 for your feedbacks. Feel free to open a new issue if you need :)