Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2008
    Posts
    43
    Plugin Contributions
    0

    Default Where do I find the code to change PRICE to Price in the product listings ???

    https://graphicsnbits.com/products_new.html
    ver. 1.5.8a
    PHP 8

    All the others like Featured show it as "Price" and not "PRICE" and I cannot for the life of me locate it anywhere. Any help you can afford me would be greatly appreciated.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,278
    Plugin Contributions
    125

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    Look for

    includes/languages/english/lang.products_new.php
    includes/languages/english/responsive_classic/lang.products_new.php
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    Quote Originally Posted by swguy View Post
    Look for

    includes/languages/english/lang.products_new.php
    includes/languages/english/responsive_classic/lang.products_new.php
    That was my first guess also but this is what's in the file

    "<?php
    $define = [
    'NAVBAR_TITLE' => 'New Products',
    'HEADING_TITLE' => 'New Products',
    ];

    return $define;
    "

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,841
    Plugin Contributions
    11

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    my friend, i believe you are looking for this define (in the v158 format):

    Code:
    'TEXT_PRICE' => 'Price:',
    that looks to be defined here (in the latest codeset):

    includes/languages/lang.english.php:474:

    as you are using responsive classic, it is entirely possible that the file was overwritten using the ZC ovewrite method. if you do not know what that is, refer to the docs.

    hope that helps. i feel your frustration.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,278
    Plugin Contributions
    125

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    Try using the developer's tool kit. (Admin > Tools > Developer's Tool Kit.)

    This is related to a customization that has been done on your store; a fresh install of 1.5.8a does not do this.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Feb 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    Quote Originally Posted by swguy View Post
    Try using the developer's tool kit. (Admin > Tools > Developer's Tool Kit.)

    This is related to a customization that has been done on your store; a fresh install of 1.5.8a does not do this.
    That actually makes sense... especially given the history of the site.

  7. #7
    Join Date
    Apr 2023
    Location
    USA
    Posts
    22
    Plugin Contributions
    0

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    My go to when I can't find something is in v158a anyways, using "Tools" - "Developers Tool Kit" and using the bottom choice, enter the search word (Price), select all directories or just one and no file extension.

    This will search everything and ig it an find a reference to the key word of phrase it will list it and tell yu where it is and what line.

    It's not fool proof but it's helped me out more than a few times.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,797
    Plugin Contributions
    17

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    Quote Originally Posted by CoastalBob View Post
    My go to when I can't find something is in v158a anyways, using "Tools" - "Developers Tool Kit" and using the bottom choice, enter the search word (Price), select all directories or just one and no file extension.

    This will search everything and ig it an find a reference to the key word of phrase it will list it and tell yu where it is and what line.

    It's not fool proof but it's helped me out more than a few times.
    Considering the issue is related specifically to capitalization and further a single specific word, suggest trying first:
    'PRICE' and selecting the check box to match case.
    If nothing is found in that manner, then instead use double quotes around the word.
    Then if that doesn't work, it may be that the template forces all upper case on that page either through php or css.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,278
    Plugin Contributions
    125

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    > Then if that doesn't work, it may be that the template forces all upper case on that page either through php or css.

    My thought was css too, but there's no special styling to that word on the page the OP posted.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,841
    Plugin Contributions
    11

    Default Re: Where do I find the code to change PRICE to Price in the product listings ???

    Quote Originally Posted by swguy View Post
    > Then if that doesn't work, it may be that the template forces all upper case on that page either through php or css.

    My thought was css too, but there's no special styling to that word on the page the OP posted.
    includes/languages/english/responsive_classic/english.php
    OR
    includes/languages/english/responsive_classic/lang.english.php


    that's my best guess.

    viewing the source of the page shows the text all in CAPS. means not a css. nor a js change.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. v156 Attribute Price adds the the product price in the product listing - How to stop?
    By Mattvickauto in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 30 Aug 2019, 06:15 PM
  2. where to find the code that does the radio button?
    By denniszc in forum General Questions
    Replies: 9
    Last Post: 8 Apr 2013, 12:45 PM
  3. Replies: 9
    Last Post: 25 Mar 2013, 09:31 AM
  4. Cant find out how to change the price font/color on featured products..
    By osaeed in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Jun 2010, 05:51 AM
  5. How can I change the position of the product price and Add to Cart?
    By pennylane in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Sep 2009, 02:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR