Hide minimum bid entirely

A place to discuss and receive support for the Web Auction application.

Hide minimum bid entirely

Postby lobsterman » Sun Jul 27, 2008 3:56 pm

A previous post shows how to hide the minimum bid unless it has been met. How might I hide the minimum bid entirely. I want to tell bidders on some items that there is a minimum bid but not display it.
lobsterman
 
Posts: 2
Joined: Sun Jul 27, 2008 3:54 pm

Postby shannah » Mon Jul 28, 2008 4:05 pm

This would be a fairly simple change. The product details view template is located at templates/view_product.html

Just make changes to this template to suit your needs. In this case you can probably just comment out the parts that show the minimum bid.

The templates/public_product_list.html file is the template for the list view. Similarly you can change this to suit your needs.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby lobsterman » Tue Jul 29, 2008 5:58 am

[quote="shannah"]

Just make changes to this template to suit your needs. In this case you can probably just comment out the parts that show the minimum bid.


-Steve[/quote]
Thanks.
Dumb question here: how do I comment out a line in those pages? Or do I just remove the line(s) in question?
lobsterman
 
Posts: 2
Joined: Sun Jul 27, 2008 3:54 pm

Postby shannah » Tue Jul 29, 2008 9:28 am

Web Auction uses smarty for its templates. There's lots of information about smarty templates at http://smarty.php.net .

To Comments start with {* and end with *}

e.g.

{*This is a comment*}

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved