Forums / General Questions / Having some unwanted text during login & checkout in my site.

Having some unwanted text during login & checkout in my site.

Started by coucho on 25 Jun 2012, 2:31 AM · Views: 688

Results 1 to 6 of 6
25 Jun 2012, 2:31 AM
#1
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Having some unwanted text during login & checkout in my site.

I just performed a fresh install of zc a few days ago. After adding some products I thought I would test the site out.
I am getting some unwanted text during the login & checkout process & I can't find the file where the text is located.
An example of the text is below:

Login Page:
HEADING_SHOP_CONFIDENCE
SHOP_CONFIDENCE_TEXT

Checkout Process:
TEXT_ORDER_STEPS_INFO
TEXT_ORDER_STEPS_4

If you need to choose a product for the shopping cart choose Hot Water Server. It is the only item with a price & quantity added.

Thanks in advance for any help.

Coucho

25 Jun 2012, 12:06 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,139
Plugin Contributions:
56

Re: Having some unwanted text during login & checkout in my site.

Use your admin's Tools->Developers Tool Kit to search for TEXT_ORDER_STEPS_INFO (or any of the other undefined values) in all catalog files (PHP only). That (invaluable) tool will identify the file(s) that use those constants.

25 Jun 2012, 4:50 PM
#3
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Having some unwanted text during login & checkout in my site.

Ok I used the Developers tool kit and found the file paths. I fixed the login page but when I delete the unwanted text for the shopping cart, the cart disappears.

Any way to edit the code below to remove the text and not have the shopping cart disappear.

        <?php echo TEXT_ORDER_STEPS_INFO; ?>
        <ol>
        <li class="one current"><span><?php echo CURRENT_TEXT_ORDER_STEPS; ?></span><?php echo TEXT_ORDER_STEPS_1; ?></li>
        <li class="two"><span><?php echo NEXT_TEXT_ORDER_STEPS_2; ?></span><?php echo TEXT_ORDER_STEPS_2; ?></li>
        <li class="three"><span><?php echo NEXT_TEXT_ORDER_STEPS_3; ?></span><?php echo TEXT_ORDER_STEPS_3; ?></li>
        <li class="four"><span><?php echo NEXT_TEXT_ORDER_STEPS_4; ?></span><?php echo TEXT_ORDER_STEPS_4; ?></li>

Thanks

25 Jun 2012, 9:03 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Having some unwanted text during login & checkout in my site.

When you are seeing STUFF_IN_UPPERCASE, those are PHP "constants" for which no definition ("define" statements in language files) exist.
Related FAQ article: http://www.zen-cart.com/content.php?137-ive-got-TEXT_MAIN-being-displayed-on-my-page-%28or-other-unexpected-uppercase-words%29

So, that reveals that you're using a partially-installed addon ... that's missing its language files. Or, the inverse: a partially-removed addon for which you've not fully removed code from the template files etc.

Your post is written in a way that suggests you want to remove the functionality offered by the addon (which looks like the Order Steps addon), and thus a good starting point would be to put back the original template file instead of the one that's had the extra stuff added to it.

.
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.

25 Jun 2012, 9:42 PM
#5
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Having some unwanted text during login & checkout in my site.

Ok Dr.Byte...I guess its time to pull out filezilla...I haven't added the order steps add on but I may not have added the language file when
installing the template.

Thanks for your help.

25 Jun 2012, 11:23 PM
#6
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Having some unwanted text during login & checkout in my site.

That was the issue...I was missing some php files from the language folder.