Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Direct order from category page.

Direct order from category page.

Locked

Views: 901

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Jun 2007, 6:05 AM
#1
lifetimewebhost avatar

lifetimewebhost

New Zenner

Join Date:
Jun 2007
Posts:
8
Plugin Contributions:
0

Direct order from category page.

On my test site http://scw.pepperspalace.com/cart/index.php?main_page=index

The main page and category pages product links force you to first go to a details page before adding to cart or choosing quantities.

I can see how products with attributes could use this type of scenario.

Is there a module or other way (per category) to only have add to cart and a quantity field on the summary pages for selected categories instead of a detail button.

Here is a site that is doing this already.

http://www.thevisualchurch.com/index.php?main_page=index&cPath=1

They choose quantities for their chosen products and click "Add selected to cart"

How do we implement this please?

18 Jun 2007, 6:29 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Direct order from category page.

Configuration > Product Listing >
Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)
Display Multiple Products Qty Box Status and Set Button Location

This will affect all products which do not have attributes.

18 Jun 2007, 3:55 PM
#3
lifetimewebhost avatar

lifetimewebhost

New Zenner

Join Date:
Jun 2007
Posts:
8
Plugin Contributions:
0

Re: Direct order from category page.

I set the options as listed below.

http://s52.photobucket.com/albums/g6/topsecret911/zencartphotos/?action=view&current=PeppersPalace-1.jpg

It had no effect. Perhaps this template sucks.

:oops:

What part of the default template (filename, line numbers) controls this functionality. If I can see where on the default template maybe I can fix this silly template monster template.

I appreciate the help thanks.

18 Jun 2007, 4:43 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Direct order from category page.

/includes/modules/product_listing.php lines 107-149 is the stock price/add display.
$lc_button accumulates the button description/function, $products_link is the actual link to the product info page, and they are assembled in line 148.