Closed (cannot reproduce)
Project:
Ubercart Userpoints
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2010 at 18:23 UTC
Updated:
25 Nov 2012 at 05:48 UTC
The strange behavior: if I enable the field on checkout page, it only visible on checkout page that has a language prefix
Any ideas to fix it?
Comments
Comment #1
volocuga commentedHere is no reply,did anybody have the same problem?
Once again: I have 2 languages on my site: ukrainian and english. The default is ukrainian, but the input field on /cart/checkout page appears ONLY if language switched to "english".
Does anybody know why does it happen?
Comment #2
volocuga commentedFixed by myself
File uc_userpoints_discount.module, around line #97
original:
if ($discMethod != 0 && ($curUserPoints > 0 || request_uri() != '/cart/checkout')) {should be
if ($discMethod != 0 && ($curUserPoints > 0 || request_uri() != 'cart/checkout')) {Comment #3
YK85 commentedif this is a bug in the module can the fix please be committed to the module?
@volocuga - can you please create a patch to be tested?
thanks!
Comment #4
bmagistro commentedChanging to needs more info. I cannot reproduce this with the latest dev release for this module and userpoints. Other modules are current stable release with D6. Will change to cannot reproduce if no updates made in two weeks.
Comment #5
tr commentedNo further information has been provided by the original poster, and the maintainer stated in #4 that he couldn't reproduce this. I'm going to assume this is no longer a problem.