How do I remove the previous/next buttons from the product page?
How do I remove the previous/next buttons from the product page?
Got it. Here's how I did it:
In tpl_product_info_display.php, I removed both blocks containing Prev/Next include code. The file was well commented, so it was very easy to do.
Psst - Take a look in the Admin - you can turn lots of stuff off and on without ever touching the code.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Do you mean to tell me I could simply go into the Admin ... Configuration ... Product Info ... and read the settings and find the one for:
And change whether or not I am showing the Previous Next on the Product _info page? And not even touch a single line of code?!Previous Next - Navigation Bar Position
Location of Previous/Next Navigation Bar
0= off
1= Top of Page
2= Bottom of Page
3= Both Top and Bottom of Page
Golly but this is one smart shopping cart ...![]()
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!
My admin area only has top, bottom, and both options. Off/0 isn't there.
What URL are you looking at on your Catalog where you want this removed?
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!
Can you turn off Pre/Next bu Admin? I'd like to.
I can't even find : tpl_product_info_display.php
??
Last edited by cmprogrock; 15 Apr 2007 at 05:32 PM.
I followed Linda's explanation & got it. Helpful topic, thanks !
Unfortunately Zen Cart admin isn't easy to graspYou have to dig a bit in order to fond functions... But the essential thing is that those function do exist !!
I found the answer in a post from Ajeh in another thread!!! And then I reread Ajeh's post here, and saw he also said Product Info. I was in the Product Listing section messing with the Prev/Next setting there.
Admin->Configuration->Product Info->
Previous Next - Navigation Bar Position
Thanks!
-Ed