Forums / Basic Configuration / Remove the "What's_New" sidebox from the Product Info Page

Remove the "What's_New" sidebox from the Product Info Page

Started by airsoftoutfitter on 2 Jun 2011, 7:25 AM · Views: 1,417

Results 1 to 8 of 8
2 Jun 2011, 7:25 AM
#1
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Remove the "What's_New" sidebox from the Product Info Page

I want to remove the sidebox "what's new" from the product info pages? but have them show on my other pages. I don't think this is hard to do, but just need some guidance.

Really the only thing I want to show on the product info page is the manufacturer logo, the tell a friend sidebox, the notification side box, shopping cart, and order history, and maybe the best sellers.

2 Jun 2011, 1:48 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Remove the "What's_New" sidebox from the Product Info Page

You could change line 26 to read:

  if (!isset($_GET['products_id']) && $random_whats_new_sidebox_product->RecordCount() > 0 ) {

Note: with a little more coding you could make it more efficient but this works ...

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!

2 Jun 2011, 11:59 PM
#3
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Re: Remove the "What's_New" sidebox from the Product Info Page

Ajeh:

You could change line 26 to read:

if (!isset($_GET['products_id']) && $random_whats_new_sidebox_product->RecordCount() > 0 ) {

> 
> Note: with a little more coding you could make it more efficient but this works ...

What file would I edit?
3 Jun 2011, 12:38 AM
#4
haredo avatar

haredo

Totally Zenned

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

Re: Remove the "What's_New" sidebox from the Product Info Page

Read this tutorial:

https://www.zen-cart.com/tutorials/index.php?article=39

  1. Search for this:
  1. $random_whats_new_sidebox_product->RecordCount

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.

6 Jun 2011, 7:06 PM
#5
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Re: Remove the "What's_New" sidebox from the Product Info Page

haredo:

Read this tutorial:

[/LIST]

Nothing shows up.... This is what I get:

"Warning Error: No matching Configuration Keys were found ... $random_whats_new_sidebox_product->RecordCount"

Any ideas?

6 Jun 2011, 8:08 PM
#6
haredo avatar

haredo

Totally Zenned

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

Re: Remove the "What's_New" sidebox from the Product Info Page

After you paste the wording in the box the next field is this:

All Files Look-ups: choose catalog, then 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.

7 Jun 2011, 1:11 AM
#7
airsoftoutfitter avatar

airsoftoutfitter

Zen Follower

Join Date:
Dec 2009
Posts:
244
Plugin Contributions:
0

Re: Remove the "What's_New" sidebox from the Product Info Page

haredo:

After you paste the wording in the box the next field is this:

Got it! Thanks!!! I was putting the phrase in the wrong place:oops:

7 Jun 2011, 1:30 AM
#8
haredo avatar

haredo

Totally Zenned

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

Re: Remove the "What's_New" sidebox from the Product Info Page

Great news, and ty for posting the solution...

Don't feel bad, it happens to me all the time too.. :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.