Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Change New Products of the Month to Hot Items

Change New Products of the Month to Hot Items

Locked

Started by grafx2g on 18 Mar 2009, 3:49 AM · Views: 1,928

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
18 Mar 2009, 3:49 AM
#1
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Post #1 by grafx2g

I am interested in changing the "New Products of Month" to something like "Hot Items".

We don't want it to say that and I'm having trouble finding out where to edit that. I review the directions above but the english.php is define statements and it doesn't look like you can make this change in that file. I could be incorrect. Can you please help me understand how to make this change.

Thank you

18 Mar 2009, 4:00 AM
#2
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Post #2 by grafx2g

I found the code below in modules/new_products.php but i don't think this is where I am to edit at. I'm not sure how to do this so please help me or guild me in the right direction.

 if ($new_products->RecordCount() > 0) {

    if (isset($new_products_category_id) && $new_products_category_id != 0) {

      $category_title = zen_get_categories_name((int)$new_products_category_id);

      $title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . ($category_title != '' ? ' - ' . $category_title : '' ) . '</h2>';

    } else {

      $title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . '</h2>';

    }

    $zc_show_new_products = true;

  }

}
18 Mar 2009, 4:03 AM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,190
Plugin Contributions:
0

Post #3 by haredo

Gr,
admin panel/ tools/ developers tool kit

  1. bottom left search for New products
  2. admin/catalog
  3. search

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.

18 Mar 2009, 4:06 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,190
Plugin Contributions:
0

Post #4 by haredo

grafx2g:

I am interested in changing the "New Products of Month" to something like "Hot Items".

We don't want it to say that and I'm having trouble finding out where to edit that. I review the directions above but the english.php is define statements and it doesn't look like you can make this change in that file. I could be incorrect. Can you please help me understand how to make this change.

Thank you

includes/ languages/ english.php

  1. Line #499 : define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
  2. remember to load this core .php file into the override file system
  3. Ex: includes/ languages/ your_template/ english.php
  4. The red font above is your change

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.

18 Mar 2009, 4:14 AM
#5
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Post #5 by grafx2g

SWEET, haredo!!!!

You the Man! Thanks buddy!

18 Mar 2009, 4:15 AM
#6
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Post #6 by grafx2g

Ok so if I wanted to now make our best selling items appear at the top of the list I would just change the sort order for each item and that's it?

18 Mar 2009, 4:16 AM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,190
Plugin Contributions:
0

Post #7 by haredo

G,
You are most welcome, glad I could help you out!

What is the link to your site so I can see this is action??

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.

18 Mar 2009, 4:21 AM
#8
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Post #8 by grafx2g

Sent you a private message.

Also so to get items to show up in the order we would like. Say we have items that are hot sellers. Then we would just change the sort order of each image?

Just want to make sure i'm on the right path here.

18 Mar 2009, 4:27 AM
#9
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,190
Plugin Contributions:
0

Post #9 by haredo

grafx2g:

Sent you a private message.

Also so to get items to show up in the order we would like. Say we have items that are hot sellers. Then we would just change the sort order of each image?

Just want to make sure i'm on the right path here.

Gr,
Yes, got the pm.

What we did was this:

  1. New Products of the Month to Hot Items
  2. the bad thing about zen is when you use new products this is a random order at all time, you can't display what you want for #1, or #2, etc. etc.
  3. But, lets try this:
  4. We will turn off New Products and Use Featured Products
  5. admin panel/ catalog/ Featured Products
  6. You will see what to do
  7. Then we will find Featured Products in the english.php and change to Hot Items
  8. :smile:

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.

18 Mar 2009, 4:52 AM
#10
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Post #10 by grafx2g

Sweet, check the link. I learned something new today. Thank you very much broski. You the man!

It sucks that new items doesn't work in order. It's kind of a dead thing. I mean it would be cool if you could have a sort order of hot items as you went into each category.

So if I was in the Toners category I could just set what items where hot in that category only and it changes through out each category.

I did it though.

18 Mar 2009, 4:56 AM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,190
Plugin Contributions:
0

Post #11 by haredo

G,
You are most welcome, glad I could help you sort your site out properly...

Looks great!!!!!!!!! :flex:

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.