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.
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
Re: Where do I find the code to change PRICE to Price in the product listings ???
Quote:
Originally Posted by
swguy
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;
"
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.
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.
Re: Where do I find the code to change PRICE to Price in the product listings ???
Quote:
Originally Posted by
swguy
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.
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.
Re: Where do I find the code to change PRICE to Price in the product listings ???
Quote:
Originally Posted by
CoastalBob
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.
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.
Re: Where do I find the code to change PRICE to Price in the product listings ???
Quote:
Originally Posted by
swguy
> 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.