If this is your first visit, check our documentation. To post, register or login.

Button_Lookup Issue

Started by 426_weeks on 8 Jul 2017, 12:29 PM · Views: 3,030

Results 1 to 8 of 8
8 Jul 2017, 12:29 PM
#1
426_weeks avatar

426_weeks

New Zenner

Join Date:
Apr 2017
Location:
Kitchhener, ON
Posts:
13
Plugin Contributions:
0

Post #1 by 426_weeks

G'Day all. I seem to be having issues with the coupon look up button and what it reads. I am using ZCart 1.55e, and the only change for testing is I have added the "responsive_avonlee_contempo" by Picaflor Azul. It would be great if it read the default for the button "lookup" Ant ideas? I think it should be fairly easy as it is just to rename a button is it not?

Tankx much in advance for the help...Attachment 17128

8 Jul 2017, 6:11 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Post #2 by dbltoe

Not a part of the 1.5.5e distro. You can look up the define using the Developers Tool Kit in the admin. There should be a define and the file in which the button is called.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jul 2017, 6:22 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

dbltoe's statement is a bit confusing.

In v1.5.5, the define for BUTTON_LOOKUP_ALT is in /includes/languages/english/button_names.php, on line 85:

define('BUTTON_LOOKUP_ALT', 'Lookup');

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Jul 2017, 8:12 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Post #4 by dbltoe

:blush: Have to blame it on UltraFind. Even drilling down to includes/languages/english it did not find it. checked settings and they were correct.:dontgetit Made me assume (I know) it was part of the template.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jul 2017, 11:32 PM
#5
426_weeks avatar

426_weeks

New Zenner

Join Date:
Apr 2017
Location:
Kitchhener, ON
Posts:
13
Plugin Contributions:
0

Post #5 by 426_weeks

Good day....I have been in the button_names.php yesterday as a matter of fact ... it does say " define('BUTTON_LOOKUP_ALT', 'Lookup');"....hence my confused lookin face and eyes...Tom

9 Jul 2017, 1:20 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

If you switch back to the responsive_classic, does the button show up properly? It probably will.

I suspect your responsive_avonlee_contempo copy of button_names is missing that define.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Jul 2017, 1:39 AM
#7
426_weeks avatar

426_weeks

New Zenner

Join Date:
Apr 2017
Location:
Kitchhener, ON
Posts:
13
Plugin Contributions:
0

Post #7 by 426_weeks

Yes it does...So then how can I fix it, any ideas? Do you think I could use the defaults file instead and it will work?

9 Jul 2017, 1:44 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #8 by drbyte

As I said, you probably have a responsive_avonlee_contempo version of button_names that's missing it.

Compare that file with the original one and fix/add whatever's broken/missing.

WinMerge and Beyond Compare are helpful tools for comparing file contents.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.