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 / A couple of tweaks (text & box displays)

A couple of tweaks (text & box displays)

Locked

Started by jaydee_ted on 22 May 2006, 4:43 PM · Views: 2,495

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
22 May 2006, 4:43 PM
#1
jaydee_ted avatar

jaydee_ted

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Post #1 by jaydee_ted

Hey there,

I'm looking for a way to add some introduction text onto the product display page (after the heading title)...I noticed it's not in the EZ pages editor and I'd rather go mucking about the code with some sort of guidance.

I also need to delete the "New Products for Month" on the Shopping Cart page (when it's empty)...I've disabled everything in Layout Settings that reference it.

I have no issues going into the code if need be...

22 May 2006, 5:20 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Post #2 by clydejones

  1. You could probably add a define statement in:
    includes -> languages -> english -> product_info.php

something like
define ('TEXT_PRODUCT_INTRO', 'xxxxxxxxxx');
and then add a call to this where you need it.

  1. I answered this in another post you made.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 May 2006, 5:27 PM
#3
jaydee_ted avatar

jaydee_ted

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Post #3 by jaydee_ted

Yah, thanks Clyde, it worked out for me..

Now unfortunately I'm not a uber code-monkey :(

My only question would be where to call this line from....cant seem to find a product_info tpl file =/

22 May 2006, 6:18 PM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Post #4 by clydejones

includes -> templates -> YOURTEMPLATE -> tpl_product_info_display.php

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 May 2006, 6:22 PM
#5
jaydee_ted avatar

jaydee_ted

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Post #5 by jaydee_ted

I apologize, I meant the main product listing page (with all the products displayed on 1 page)...sorry about that.

I can only see its main_page=index ...but what file would I edit for the cPath=1 page?

22 May 2006, 6:24 PM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Post #6 by clydejones

tpl_index_product_list.php

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 May 2006, 6:28 PM
#7
jaydee_ted avatar

jaydee_ted

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Post #7 by jaydee_ted

Very many thank you's :thumbsup:

22 May 2006, 6:31 PM
#8
jaydee_ted avatar

jaydee_ted

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Post #8 by jaydee_ted

Final website is http://gambeads.com if you want to see the work ;)

22 May 2006, 6:38 PM
#9
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Post #9 by clydejones

Looks good. Good luck.

Let me know if I be of any help

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 May 2006, 6:48 PM
#10
jaydee_ted avatar

jaydee_ted

New Zenner

Join Date:
May 2006
Posts:
9
Plugin Contributions:
0

Post #10 by jaydee_ted

Actually....one question that I have been wondering is, can I change the Add: with the quantity box button to a "Buy" image?

I think I had this originally but I cant seem to find it again. :)

22 May 2006, 7:25 PM
#11
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Post #11 by clydejones

You'll probably have to create a new button image

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

22 May 2006, 10:53 PM
#12
gjh42 avatar

gjh42

Black Belt

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

Post #12 by gjh42

You can set this in the product entry/editing page (Catalog > Categories & Products > > edit product).

Set "Product Qty Maximum:" to 1, and the quantity box will disappear.