Forums / Setting Up Categories, Products, Attributes / Featured Products Box, Bestsellers Header Text?

Featured Products Box, Bestsellers Header Text?

Locked

Views: 1,944

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
9 Mar 2009, 1:53 PM
#1
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Featured Products Box, Bestsellers Header Text?

I have an odd problem that I can't quite pinpoint.

The code displaying from my index page for the featured products box is:

<!-- bof: featured products  -->
<div class="centerBoxWrapper" id="featuredProducts">
<h2 class="centerBoxHeading">Best Sellers</h2>
<div class="centerBoxContentsFeatured centeredContent back" style="width:100%;"><a href="http://www.perfectlocks.com/machine-wefts/loose-curly-machine-weft"><img src="images/machine_wefts/loose_curly_machine_weft.jpg" alt="Loose Curly Machine Weft" title=" Loose Curly Machine Weft " width="100" height="75" /></a><br /><a href="http://www.perfectlocks.com/machine-wefts/loose-curly-machine-weft">Loose Curly Machine Weft</a><br />$134.95</div>
<br class="clearBoth" />
 
</div>
<!-- eof: featured products  -->

And what's surprising is that my code in includes > languages > english.php is the following:

define('BOX_HEADING_FEATURED_PRODUCTS', 'Featured');
define('CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS', 'Featured Products ...');
define('TEXT_NO_FEATURED_PRODUCTS', 'More featured products will be added soon. Please check back later.');

define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

I have not changed anything to make the header display "Bestsellers" as it displays above, any ideas here?

9 Mar 2009, 5:07 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products Box, Bestsellers Header Text?

Using the Tools ... Developers Tool Kit ... in the bottom input box enter:
Best Sellers

select the Catalog and click Search ...

This should show you everywhere that it is used or defined ...

You can then search for the constants to see where they are used and help you pinpoint what might have caused this ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Mar 2009, 7:22 PM
#3
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Featured Products Box, Bestsellers Header Text?

Ajeh:

Using the Tools ... Developers Tool Kit ... in the bottom input box enter:
Best Sellers

select the Catalog and click Search ...

This should show you everywhere that it is used or defined ...

You can then search for the constants to see where they are used and help you pinpoint what might have caused this ...

Thanks for the suggestion, it's very helpful but I'm afraid I'm still stumped. Here's what I got back, all I got back was this:

/home/plocks/public_html/includes/languages/english/extra_definitions/plocks_v1/best_sellers_reloaded.php

Line #2 : * Best Sellers Reloaded v1.1

Line #14 : define('TABLE_HEADING_BEST_SELLERS', 'Best Sellers');
 
/home/plocks/public_html/includes/modules/plocks_v1/best_sellers_reloaded.bak.php

Line #2 : * Best Sellers Reloaded v1.1
 
/home/plocks/public_html/includes/modules/plocks_v1/best_sellers_reloaded.php

Line #2 : * Best Sellers Reloaded v1.1
 
/home/plocks/public_html/includes/templates/plocks_v1/templates/tpl_index_default.php

Line #208 : <?php // bof - Best Sellers Reloaded v1.1 - aclarke - 2007-07-22 ?>

Line #212 : <?php // eof - Best Sellers Reloaded v1.1 - aclarke - 2007-07-22 ?>
 
/home/plocks/public_html/includes/templates/plocks_v1/templates/tpl_modules_best_sellers_reloaded.php

Line #2 : * Best Sellers Reloaded v1.1

Line #17 : <!-- bof - Best Sellers Reloaded v1.1 - aclarke - 2007-07-22 -->

Line #28 : <!-- eof - Best Sellers Reloaded v1.1 - aclarke - 2007-07-22 -->
 
/home/plocks/public_html/includes/templates/template_default/templates/tpl_index_default.php

Line #46 : <?php // bof - Best Sellers Reloaded v1.1 - aclarke - 2007-07-22 ?>

Line #50 : <?php // eof - Best Sellers Reloaded v1.1 - aclarke - 2007-07-22 ?> 
9 Mar 2009, 8:08 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products Box, Bestsellers Header Text?

What comes up if you do a search on:
TABLE_HEADING_BEST_SELLERS

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Mar 2009, 8:41 PM
#5
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Featured Products Box, Bestsellers Header Text?

Ajeh:

What comes up if you do a search on:
TABLE_HEADING_BEST_SELLERS

Hmmm all I get is this:

/home/plocks/public_html/includes/languages/english/extra_definitions/plocks_v1/best_sellers_reloaded.php

Line #14 : define('TABLE_HEADING_BEST_SELLERS', 'Best Sellers');
 
/home/plocks/public_html/includes/modules/plocks_v1/best_sellers_reloaded.bak.php

Line #76 : $title = '<h2 class="centerBoxHeading">' . TABLE_HEADING_BEST_SELLERS . ($category_title != '' ? ' - ' . $category_title : '') . '</h2>';

Line #78 : $title = '<h2 class="centerBoxHeading">' . TABLE_HEADING_BEST_SELLERS . '</h2>';
 
/home/plocks/public_html/includes/modules/plocks_v1/best_sellers_reloaded.php

Line #76 : $title = '<h2 class="centerBoxHeading">' . TABLE_HEADING_BEST_SELLERS . ($category_title != '' ? ' - ' . $category_title : '') . '</h2>';

Line #78 : $title = '<h2 class="centerBoxHeading">' . TABLE_HEADING_BEST_SELLERS . '</h2>'; 
9 Mar 2009, 9:17 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Featured Products Box, Bestsellers Header Text?

I'd have to do some more searches based on the files that are found to see if something is being overwritten or not being set right ...

Opening the related files might help you key into where the wrong variable or code is being processed to make the Best Sellers read in the featured area ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!