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 / Is it Possible to turn off the shopping cart in 1 catageory only?

Is it Possible to turn off the shopping cart in 1 catageory only?

Locked

Started by angelanger on 21 Aug 2006, 5:55 AM · Views: 2,399

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
21 Aug 2006, 5:55 AM
#1
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Post #1 by angelanger

I wish to have a knowledge library with links to articles from the books I have sold.

An example of what I have in mind is here
http://www.populuxebooks.com/index.php?main_page=index&cPath=87

Is it possible to turn off the cart fuction in this catgeory only?

21 Aug 2006, 6:06 AM
#2
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #2 by barco57

Not as far as I know. Why don't you set these up with ezpages?

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

21 Aug 2006, 6:09 AM
#3
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Post #3 by angelanger

Would it be possible to have the ez pages linked in the same way as the "products" are now in the catageory? I ask because I would like this example library to be listed on the front page in the same way as the other catageories and viewed in the same way.

21 Aug 2006, 6:14 AM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #4 by barco57

I know that you can set the ezpage links to show up in the header, sidebox, footer or a combination. What that probably means is that if you choose header than they would show up at the top next to home and login I am not sure if they can be moved down into line with navcattabs bar with the rest of your links. Someone with more ezpage experience will have to answer that.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

22 Aug 2006, 4:03 AM
#5
ajeh avatar

ajeh

Oba-san

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

Post #5 by ajeh

Are these not suppose to be products?

Or do you need to have this category open as if it where the main page?

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!

22 Aug 2006, 4:05 AM
#6
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Post #6 by angelanger

Ajeh:

Are these not suppose to be products?

Or do you need to have this category open as if it where the main page?

They are not products, simply example selections from the books we sell.

I'm unsure of your 2nd question, it's not the main page, but I want the link to it to show up on the header with the other catagories and I would like the page layout to be the same as the product line.

thank you for taking a look at it.

22 Aug 2006, 4:07 AM
#7
ajeh avatar

ajeh

Oba-san

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

Post #7 by ajeh

How about make them Document General ... there are no add to cart buttons ...

Then set the Configuration ... Layout Settings ...

Categories - Always Show on Main Page
Always Show Categories on Main Page
0= off
1= on
Default category can be set to Top Level or a Specific Top Level

Main Page - Opens with Category
0= Top Level Categories
Or enter the Category ID#
Note: Sub Categories can also be used Example: 3_10

To get a feel for this ...

Try the Layout Settings ... if the Add to Cart was gone ... would that work?

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!

22 Aug 2006, 4:19 AM
#8
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Post #8 by angelanger

Ajeh:

How about make them Document General ... there are no add to cart buttons ...

Then set the Configuration ... Layout Settings ...

To get a feel for this ...

Try the Layout Settings ... if the Add to Cart was gone ... would that work?

I apoligise but I'm not fully understanding what it is you'd like me to do. Yes, if the add to cart was gone, that would be perfect.

If you have the time, could you please post a more step by step instruction of what it is I should do? If you don't wish to do so, I understand.

22 Aug 2006, 4:21 AM
#9
ajeh avatar

ajeh

Oba-san

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

Post #9 by ajeh

Let's do this ... are you familiar enough with phpMyAdmin to be able to browse your products table in the database?

Or, I can give you some SQL commands you can run in the Insert SQL Patch off the Tools menu in your Zen Cart Admin ...

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!

22 Aug 2006, 4:27 AM
#10
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Post #10 by angelanger

I'm sorry, I have no idea what phpmyadmin is. If you tell me what to do in simple terms, I can usually figure it out though.

If I use the Insert Sql patch command in tools will that overwrite my template? I am using the default classic one that came with the installation of zen cart.

22 Aug 2006, 4:36 AM
#11
ajeh avatar

ajeh

Oba-san

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

Post #11 by ajeh

Okay ... let's skip phpMyAdmin and just use Zen Cart for this ... :smile:

In the Zen Cart Admin ... from the menubar Tools ... there is the Insert SQL Patches ...

WARNING: Do NOT do this with just any Product type ... not all product types can be manipulated this way ...

In the Tools ... Insert SQL Patches ...

Use the following command to change the products_type from products_type 1 (Products General) to products_type 3 (Document General) ...

Paste this into the box

UPDATE products SET products_type=3 where products_id=426;

Notice the 426 is one of the products_id in this category ...

What we are doing is changing the product_type from Product General to Document General ...

Document General cannot be purchased ...

You can repeat that command for each of the 5 products just by changing the products_id ...

If you make a mistake this can be undone by switching the products_type back to 1 for a products_id ...

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!

22 Aug 2006, 4:55 AM
#12
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Post #12 by angelanger

Wonderful, that worked very easily. Thank you.

Although now the "write a review" is showing up at the bottom of the page of each sample. Is there a way to disable that?

22 Aug 2006, 5:03 AM
#13
ajeh avatar

ajeh

Oba-san

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

Post #13 by ajeh

Change the settings for Catalog ... Product Type ... Document General ... Edit Layout ...

Neat eh? :smartass:

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!

22 Aug 2006, 5:09 AM
#14
angelanger avatar

angelanger

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Post #14 by angelanger

thank you again for all your help

12 Aug 2007, 3:47 PM
#15
brian_c avatar

brian_c

New Zenner

Join Date:
Jul 2007
Posts:
3
Plugin Contributions:
0

Post #15 by brian_c

Hi this is Angel, under a new name

I've had zencart updated to the most recent version and this work around no longer works.

Is there a new way to turn off the shopping cart in 1 cat?

You can see my problem here with the latest addition to my example library is showing as "free"

http://www.populuxebooks.com/index.php?main_page=index&cPath=87&sort=20a&page=2

Any help you could give would be appreciated.

12 Aug 2007, 3:52 PM
#16
ajeh avatar

ajeh

Oba-san

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

Post #16 by ajeh

Could you more clearly explain what doesn't work?

NOTE: you are using the Classic Template and not the templates and overrides ... you also appear to be using a very old template for Classic that may or may not contain all of the updates of the current version ...

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!

12 Aug 2007, 4:25 PM
#17
brian_c avatar

brian_c

New Zenner

Join Date:
Jul 2007
Posts:
3
Plugin Contributions:
0

Post #17 by brian_c

Hello and thanks so much for the quick reply.

I have an example library that works under zen cart. Here, users of the site can see examples from the books I sell.

The library is here.

http://www.populuxebooks.com/index.php?main_page=index&cPath=87

Since these examples aren't for sale, I don't want to have the shopping cart enabled on them.

Previously I spoke with you about this problem on this thread and you gave me the work around of inputting this code into Install Sq patches

"UPDATE products SET products_type=3 where products_id=426; "

I recently hired someone of these forums to update my site to the latest zen cart edition. Upon doing so I have noticed that I can not use the code to turn off the shopping cart as before. I'm wondering if there's now a new code (or a new way) to turn off the shopping cart as I have done in the past.

The newest addition to my example library is here and showcases the problem.
http://www.populuxebooks.com/index.php?main_page=document_general_info&cPath=87&products_id=740
You will notice that's it has the shopping cart still on it (set to free)

As for the classic template, I'm aware its being used (and I like it very much) The home page of zen cart says "Your version of Zen Cart™ appears to be current." so I believe that I'm using the latest edition. I prefer not to change templates at this time since Im happy with what I have and do not know how to change it.

thanks again for any help you can give.

12 Aug 2007, 8:27 PM
#18
ajeh avatar

ajeh

Oba-san

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

Post #18 by ajeh

The one marked Free looks like you accidentally set:
Product is Free: YES

change that to NO ...

As to the shopping_cart ... what I am not following you on is that when looking at the listing of this Category I am not seeing any products that can be added to the shopping_cart ...

All appear to read as Document General products where you can search for them etc. but not add to cart from the listing or the _info page etc.

What precisely is this doing in regard to the shopping_cart itself on these products that is different?

Are you trying not to ever see them in the Product listing, or what? :unsure:

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!

13 Aug 2007, 12:03 AM
#19
brian_c avatar

brian_c

New Zenner

Join Date:
Jul 2007
Posts:
3
Plugin Contributions:
0

Post #19 by brian_c

Ah, thanks that did the trick.