Forums / Customization from the Admin / Display price/add to cart - show price only?

Display price/add to cart - show price only?

Started by wolf99 on 4 Jan 2007, 3:34 PM · Views: 20,869

Results 1 to 20 of 44
4 Jan 2007, 3:34 PM
#1
wolf99 avatar

wolf99

Zen Follower

Join Date:
Sep 2006
Location:
West of Ireland
Posts:
169
Plugin Contributions:
0

Display price/add to cart - show price only?

How can I get only the price to show in the product listing instead of the price and the add to cart quantity field?

guessed this was just a matter of the number this is set to but confused, default was 3, showing price and field, 0 turns both off, 1 turns both on 2 does nothing, 3 changes the column position, nothing else seems to have an affect...

Help?

thanks....

4 Jan 2007, 3:36 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

Set this to anything but 0, the value is the sort order of the columns:> Display Product Price/Add to Cart

Do you want to display the Product Price/Add to Cart

Set this to 0

Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)
Do you want to display the Add to Cart Button?

NOTE: Turn OFF Display Multiple Products Qty Box Status to use Option 2 on with Qty Box per Product

Now instead of Price and Add to Cart you will see the Price and ... more info

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!

4 Jan 2007, 3:41 PM
#3
wolf99 avatar

wolf99

Zen Follower

Join Date:
Sep 2006
Location:
West of Ireland
Posts:
169
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

so I have the price and "more info" this is on products with attributes, on products with out I get the little add to cart box can I get rid of this text and the box, and have just the price? on all products irrespective of wether or not they have attributes applied?

4 Jan 2007, 3:45 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

With the settings I gave you, all Products with or without attributes would read
$XX.XX
... more info

You would need to customize the Product Listing to not show the ... more info as the define MORE_INFO_TEXT is used in many other places as well ...

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!

4 Jan 2007, 3:49 PM
#5
wolf99 avatar

wolf99

Zen Follower

Join Date:
Sep 2006
Location:
West of Ireland
Posts:
169
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

ah, my bad, did not read your post properly.

  • Thanks for your help this afternoon linda :D, its great to get a few little niggles sorted out before upgrading as am nervous about it (am at 1.3.5) scared of mucking up all my hard work
2 Feb 2009, 11:08 PM
#6
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

I have an identical need. I don't want to show the "more info" OR the "add to cart" options in the product list area.

Is there a way to show only the title and the price?

3 Feb 2009, 6:00 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

Turn off things you do not want to see in the Configuration ... Product Listing ...

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!

3 Jun 2009, 10:25 PM
#8
meltdowncomics avatar

meltdowncomics

New Zenner

Join Date:
Aug 2007
Posts:
36
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

Linda, you always have the answers, I need to add the Price to the add to cart box. I don't like it being at the bottom of the description, how can i do that? or even move the price above the product description below the product image. this is in the product page.
Thank you

4 Jun 2009, 2:23 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

The code for the price is between the tags:

<!--bof Product Price block --> <!--eof Product Price block -->

in the tpl_products_info_display.php file of the template ...

Copy that file to your templates and overrides directory and then you can rearrange where it is placed ...

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!

16 Jun 2009, 7:38 PM
#10
vh_freak avatar

vh_freak

New Zenner

Join Date:
Jun 2009
Posts:
15
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

I have a related question. I was trying to make some changes via the admin > Configuration > Product Listing page but any changes I made there did not reflect on my site. I am using a custom template and I'm also utilizing the override system. Any ideas??

16 Jun 2009, 7:53 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

Switch to the Classic template ... does it work?

If so, I would suspect the template that you are using is not using the logic of these switches ...

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!

16 Jun 2009, 9:07 PM
#12
vh_freak avatar

vh_freak

New Zenner

Join Date:
Jun 2009
Posts:
15
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

I switched it over to the classic and it still doesn't change anything. This is the page that the Product Listing changes correct? Products Page. As you can see the formatting is messed up. I've been trying to change for days with no luck.

Thanks in advance!

16 Jun 2009, 10:18 PM
#13
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

That is the Product Info page ... the product_info is in the URL ...

The settings are in either the Configuration ... Product Info ... or in the Catalog ... Product Type ... Product General ... EDIT LAYOUT ...

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!

16 Jun 2009, 11:22 PM
#14
vh_freak avatar

vh_freak

New Zenner

Join Date:
Jun 2009
Posts:
15
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

Thanks Ajeh. Some of the parameters were located in the product general area. I don't want the status box where it is located....it messes up the formating. I guess I'll have to mess with tpl_product_info_display.php to get it to look like I want.

Thanks!

21 Jun 2009, 9:45 AM
#15
creepyd avatar

creepyd

New Zenner

Join Date:
Jan 2009
Posts:
38
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

I don't get the bit about removing "... more info"
I managed to manually erase that text (languages/my template/english.php), but there's still a gap where the text would go that I'd like to get rid of totally so I have less space between my listings.

21 Jun 2009, 3:49 PM
#16
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

You would need to customize the code in the product_listing.php module for the:

case 'PRODUCT_LIST_PRICE':

The way that is built includes adding <br /> tags and with or without the text those are still there ...

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!

21 Jun 2009, 9:15 PM
#17
creepyd avatar

creepyd

New Zenner

Join Date:
Jan 2009
Posts:
38
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

Perfect, thanks!
Managed to fix it by taking out the <br /> in that section.
I knew it must have been something like that but had no idea where it would be.

22 Jun 2009, 4:53 AM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

You are most welcome ... thanks for the update that you were able to customize the code for this ... :smile:

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!

18 Aug 2009, 1:29 AM
#19
flenneau avatar

flenneau

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

Re: Display price/add to cart - show price only?

I am using the latest Zen Cart version, and am quite new at setting up my listings... :(

I have manged to lose all of my 'add to cart' buttons in all of my listings. Where it said 'Add to Cart' it now says to 'contact us'.

I haven't a clue as to what I changed to get every listing to not say 'add to cart', must have been something in the global setting for the product displays under admin/product listing.

https://www.canadabuckles.com

Can anyone help me out?

Thanks.

18 Aug 2009, 3:04 AM
#20
ajeh avatar

ajeh

Oba-san

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

Re: Display price/add to cart - show price only?

Check your setting for the Store Status in the My Store settings ...

Make sure you are a Store and not a showcase ...

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!