If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Categories, Products, Attributes / showing "Starting at:" in Product listing

showing "Starting at:" in Product listing

Started by mattyzee on 1 Feb 2009, 10:51 AM · Views: 4,568

Results 1 to 20 of 28
1 Feb 2009, 10:51 AM
#1
mattyzee avatar

mattyzee

New Zenner

Join Date:
Dec 2008
Posts:
7
Plugin Contributions:
0

showing "Starting at:" in Product listing

Hi,

I'm using version 1.3.8 to get my site up and running.

I have a product setup that is priced by attributes and shows the "Starting at:" on the Product Info page but not on the Product Listing page.

I don't want my customers to get a surprise when they click on the product in the listing. Can it be shown i the listing page also?

Cheers

21 Apr 2009, 7:42 PM
#2
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

I'd also really like to know this!

See here: http://greenleafexhibits.com/index.php?main_page=index&cPath=1

The e140 Kit is priced by attributes, but the text "Starting At:" only appears on the product info page.

Does anyone know why?

21 Apr 2009, 7:46 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

jymontoya,
You have a TM template?

MattyZee,
A link?

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

21 Apr 2009, 7:48 PM
#4
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

Yes....

21 Apr 2009, 7:56 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

All bets are off with TM.

MattyZee,
If you have the item priced by attribute in the product, it should show "...more info" on the category page.

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

21 Apr 2009, 8:01 PM
#6
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

I'm not betting, I'm customizing! :D teheheheh.

Can you atleast tell me where the "Starting At:" text is supposed to be referenced on the default template for the product listing pages? I can probably figure out how to transplant it from there to my template. Things are EVERYWHERE with this TM template, but it's pretty isn't it?! :P Oh well, I guess I could always ask them... their support has been pretty good so far.

21 Apr 2009, 8:34 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

Something about lipstick and a pig comes to mind, but I digress.

You can use the Developer's Tool Kit in the admin to find the Starting At, but, like with MattyZee, if you have the items priced by attribute, the template should show "...more info."

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

21 Apr 2009, 8:47 PM
#8
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

What? Don't like pigs? I think they're cute and delicious! ;)

TEXT_BASE_PRICE is defined in english.php, and is called on by various modules, but not a product_listing module. Can you do a dev search for TEXT_BASE_PRICE and tell me if it is called in your product_listing module that works?

Thanks.

21 Apr 2009, 8:55 PM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

there are several tpl files where it's used.
However, you will need to go to your admin >> tools >>developer's tool kit to find those for your case

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

21 Apr 2009, 9:11 PM
#10
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

Mine are obviously missing somewhere. That's why I was trying to find out where. I believe it should be in the module product_listing or similar. Which of these is it in on yours?

21 Apr 2009, 11:02 PM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

If you can't find any in the tpl files, it won't do any good for me to tell you anything as TM has done their usual.

Better talk with them.

That's the thing with TM; they look great till you LOOK at them.:no:

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

23 Apr 2009, 3:01 PM
#12
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

I'm wondering if anyone else wouldn't mind looking at this for me?

The "Starting At:" text only appears on the product info pages, but not on the product listing pages.

Yes, it's a Template Monster template, but I've been able to figure out modding it so far, and I'm pretty new at this! I figure one of you experts would be able to figure it out easy.

I can't even figure out where exactly the product info pages are getting the "Starting At:" text from. I'm guessing a module, but alas, no luck finding it yet.

23 Apr 2009, 5:10 PM
#13
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

The "experts" don't have any way of seeing the "mess" that needs to be fixed.

Have you tried temporarily swwitching to classic to see if the problem goes away?

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

23 Apr 2009, 6:20 PM
#14
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

dbltoe:

The "experts" don't have any way of seeing the "mess" that needs to be fixed.

Have you tried temporarily swwitching to classic to see if the problem goes away?

Errr, no?
Switching to classic sounds scary. Won't this overwrite some files?

23 Apr 2009, 6:45 PM
#15
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

Well, I figured out a workaround for the featured_products: (Changes in RED)

/includes/modules/MY_TEMPLATE/featured_products.php

$list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsNew centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' =>

		'<div class="product_list">
			<div class="side-left-c">
				<div class="side-right-c">
					<div class="side-top-c">
						<div class="side-bot-c">
							<div class="left-top-c">
								<div class="right-top-c">
									<div class="left-bot-c">
										<div class="right-bot-c">
											<div class="center_indent">
												<div class="left" style="width:' . $img_col_w . 'px;">' . $products_img . '</div>
												<div class="right" style="margin-left:-' . ($img_col_w) . 'px;">
													<div style="margin-left:' . ($img_col_w) . 'px;">
														<div class="name">' . $products_name . '</div>
														<div class="text">' . $products_desc . '</div>
														<div class="left-top-price">
															<div class="right-top-price">
																<div class="left-bot-price">
																	<div class="right-bot-price">
																		<div class="price">Starting At:   ' . $products_price . '</div>
																		<div class="button">' . $products_######## . '</div><br class="clear" />
																	</div>
																</div>
															</div>
														</div>
													</div>
												</div>
												<div class="clear"></div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>'
				
		);

}

But now I can't figure out how to do the same thing in the regular listings....hummmm

23 Apr 2009, 8:24 PM
#16
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

Congratulations!:clap:

You are now a certified Template Monster Programmer!:P

Switching templates will never overwrite files. Only the "look" will be changed to expose the obvious.

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

23 Apr 2009, 8:43 PM
#17
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

Ya! Wait till they get my bill! I've fixed / modified so many things at this point, they really should refund some of my money! If we weren't designers here, and could leave well enough alone, it'd be no big deal, but alas, we are perfectionists!

I switched templates and the Starting At: text still does not appear under category listings. And the listings themselves (product_info) does not actually appear, only a blank background.

EDIT:

It appears the problem must not be with the template if the default one does it too??

This was a GoDaddy Control Panel install of ZenCart. Would that possibly affect this?

23 Apr 2009, 9:45 PM
#18
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

Re: showing "Starting at:" in Product listing

You still have some switch that's not set right if you don't have the "...more info" flag showing up when you switch to classic. You could use the Developer's Tool Kit and look for the MORE_INFO_TEXT (the variable for more info) and see if it is, first of all, defined properly in the includes/languages/TM_MESS/english.php. Then, you should find it in the includes/modules directory and several includes/templates/TM_MESS/tpl_modules_products_##### files. (should be five) You should see at least eight files in the catalog with that variable. Any extras should be for other templates or they are suspect.

Without pointing the same TM-jaundiced finger at GoneDaddy, I am suspect of any upload that I didn't do. (There seems to be a perfectionist conspiracy going on here:P)

Fantastico can do a good job, but you never know what important PHP/MySQL/etc setting it decided to ignore.

We control freaks can rest more secure when we "do it ourselves."

I do have a customized zip that I upload through cpanel for those sites I host or build. Like the Zen Cart download, you can extract it to the root, install the program while monitoring settings, and then clean up. (remove install directory, rename admin, etc.)

I have yet to find someone who hasn't had to spend more time and money learning how to fix a TM template than it took to buy it.:no:

Hang in there:flex:

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

24 Apr 2009, 3:35 PM
#19
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

Thank you for your help!

Did you mean /includes/languages/english.php ????

Line #372 : define('MORE_INFO_TEXT','... more info'); Got it. But it appears this is not being used, as I get "..." not "... more info" Is it possible it's being truncated off?

Are you thinking that this MORE_INFO_TEXT is somehow related to the "Starting At:" text?

EDIT:

errr..... Just thought of something. Found TEXT_BASE_PRICE as defined in english.php... yet PRODUCT_LIST_PRICE is called in product_listing.php

Checking to see if switching that fixes it...

24 Apr 2009, 3:46 PM
#20
jymontoya avatar

jymontoya

New Zenner

Join Date:
Apr 2009
Posts:
54
Plugin Contributions:
0

Re: showing "Starting at:" in Product listing

Nope. I tried changing instances of PRODUCT_LIST_PRICE to TEXT_BASE_PRICE,in product_listing.php but it didn't work. It doesn't display any price then... And the Description shows up twice.... ughhh...