Forums / Templates, Stylesheets, Page Layout / Product Listing - Show price but NOT Qty / Add to Cart

Product Listing - Show price but NOT Qty / Add to Cart

Locked

Views: 1,899

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
20 Apr 2008, 4:47 AM
#1
rfaau avatar

rfaau

New Zenner

Join Date:
Apr 2008
Location:
San Francisco
Posts:
33
Plugin Contributions:
0

Product Listing - Show price but NOT Qty / Add to Cart

Pretty much what the title says. I want the product listing page to include the price of the item, but not qty. or add to cart.

Also, I'd like the price to be below the product title.

Help?
http://rachelfinley.com/zencart/index.php?main_page=index&cPath=1_3

20 Apr 2008, 5:11 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Product Listing - Show price but NOT Qty / Add to Cart

These requirements are controlled in the Admin > Configuration > Product Listing page, though if you turn off the add to cart button and quantity box, they will be replaced with a link that says "... more info".

To get rid of this you could change the text in the relevant language file, but may need to edit the underlying PHP file to also get rid of the elipsis (dots).

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

20 Apr 2008, 5:42 AM
#3
rfaau avatar

rfaau

New Zenner

Join Date:
Apr 2008
Location:
San Francisco
Posts:
33
Plugin Contributions:
0

Re: Product Listing - Show price but NOT Qty / Add to Cart

The only thing I see in Config > Product Listing to turn off the Add to Cart function is "Display Product Price/Add to Cart". When i set that to 0 it turns off the price as well, which i don't want :(

20 Apr 2008, 6:45 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Product Listing - Show price but NOT Qty / Add to Cart

To get the price (only) beneath the name, you need to edit product_listing.php, as described in the Heavily modifying Product Listings Page thread and others it references.

20 Apr 2008, 7:18 AM
#5
rfaau avatar

rfaau

New Zenner

Join Date:
Apr 2008
Location:
San Francisco
Posts:
33
Plugin Contributions:
0

Re: Product Listing - Show price but NOT Qty / Add to Cart

Thank you Glenn, I'll read up on that :)

20 Apr 2008, 8:53 AM
#6
rfaau avatar

rfaau

New Zenner

Join Date:
Apr 2008
Location:
San Francisco
Posts:
33
Plugin Contributions:
0

Re: Product Listing - Show price but NOT Qty / Add to Cart

I managed to get rid of and keep what I wanted. Yay!

However, now there is a HUGE gap between the rows.
http://rachelfinley.com/zencart/index.php?main_page=index&cPath=1_3

How would I go about bridging the gap?

20 Apr 2008, 2:09 PM
#7
haredo avatar

haredo

Totally Zenned

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

Re: Product Listing - Show price but NOT Qty / Add to Cart

rfaau:

I managed to get rid of and keep what I wanted. Yay!

However, now there is a HUGE gap between the rows.
http://rachelfinley.com/zencart/index.php?main_page=index&cPath=1_3

How would I go about bridging the gap?

R,
includes/ templates/ your_own_template/ css/ stylesheet.css

Find the following:

  1. .centerBoxContentsProducts {
    padding-bottom:25px;
    padding-top:25px;
    }
  2. Change the highlighted red font above to 5, or whatever you like

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.

20 Apr 2008, 6:02 PM
#8
rfaau avatar

rfaau

New Zenner

Join Date:
Apr 2008
Location:
San Francisco
Posts:
33
Plugin Contributions:
0

Re: Product Listing - Show price but NOT Qty / Add to Cart

H,
Thank you! Worked like a charm.

20 Apr 2008, 6:07 PM
#9
haredo avatar

haredo

Totally Zenned

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

Re: Product Listing - Show price but NOT Qty / Add to Cart

R,
Glad Gjh42 and myself could assist you.. Have a great day working on the site..: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.

20 Apr 2008, 7:32 PM
#10
clevatreva avatar

clevatreva

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Product Listing - Show price but NOT Qty / Add to Cart

Hope you don't might me tagging on to this thread (or else an admin can split it off).

I too am new. This is a VERY steep learning curve. I've installed the cart and products, got the pages showing the bits I want.

I added all the products, with stock and pricing. When I go to the store home and navigate to a product, I can see the following bits:

Breadcrumbs
Category Title
Product x/x (I don't want this, I assume I edit the template later)
Previous/Category/Next (also don't want this)
Image (also don't want this)
Product Name
Product Price
Product Description
Product Reference (don't need this)
Product Stock (don't need this)
Write a review image/link (don't need this)
Tell a Friend image/link (don't need this)

The customer can only order one of any product (they are adverts) and the supply is unlimited (I put stock of 1000 in for now!)

I am not logged in as a customer, just a guest. Why can't I see an Add to Cart button?

These are the settings I have:

Display Product Price/Add to Cart is set to 3
Display Product Add to Cart Button is set to 1

Or does the customer need to log in first?

If you want to look at the page (a sample one), click here:

**Sample Here**

Any advice greatly welcomed.

:hug:

20 Apr 2008, 10:39 PM
#11
clevatreva avatar

clevatreva

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Product Listing - Show price but NOT Qty / Add to Cart

Ignore my last post, it is now posted elsewhere. Why can't I delete it or edit it?

21 Apr 2008, 2:49 AM
#12
gjh42 avatar

gjh42

Black Belt

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

Re: Product Listing - Show price but NOT Qty / Add to Cart

There is a seven-minute limit on editing posts, so that replies to previous posts don't become meaningless and future readers can follow the topic.
If you need to correct a post, you have to post a followup message.