Support Forums

Want to buy category

This is a discussion on Want to buy category within the Pre Sales Questions forums, part of the Pre-Sales & Testimonials category; Originally Posted by suzkaw Here is a link to the administration setting page to determine which one is sorted first: ...


Go Back   68 Classifieds Forums > Pre-Sales & Testimonials > Pre Sales Questions

Reply
 
Thread Tools Display Modes
Old 04-10-2008, 04:38 PM   #1
Senior Member
 
 
Join Date: Apr 2008
Posts: 144
Rep Power: 11
philoo is on a distinguished road
Default Want to buy category

Quote:
Originally Posted by suzkaw
Here is a link to the administration setting page to determine which one is sorted first:
http://demo.68classifieds.com/admini...ingssearch.php


Yes you can just create a want to buy category and associate a specific listing package with it.

If I choose to "require a price" in the check-out settings, for the selling categories, wich way Can I create a "WTB" category ? It will ask a price I suppose ... ?
philoo is offline   Reply With Quote
Old 04-10-2008, 05:01 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,447
Rep Power: 129
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Good question. What I would probably recommend is editing the template file and add in an if statement to check which category they are placing the listing in. Then make it not required for that category.

If you purchase and need help with that just create a new topic and we will be glad to help.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 04-10-2008, 05:08 PM   #3
Senior Member
 
 
Join Date: Apr 2008
Posts: 144
Rep Power: 11
philoo is on a distinguished road
Default

I will buy next week I suppose, after showing the product to my website staff this week-end ...
philoo is offline   Reply With Quote
Old 04-11-2008, 08:13 AM   #4
Senior Member
 
 
Join Date: Apr 2008
Posts: 144
Rep Power: 11
philoo is on a distinguished road
Default

May be an other way :

Not manage the price in the default field but create a price 'extra' field that will appear only in sales categories...

Will try that in the demo....
philoo is offline   Reply With Quote
Old 04-11-2008, 08:15 AM   #5
curmudgeon
 
Join Date: Mar 2006
Posts: 5,169
Rep Power: 127
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by philoo
May be an other way :

Not manage the price in the default field but create a price 'extra' field that will appear only in sales categories...

Will try that in the demo....
Yes,that would be another solution.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 04-11-2008, 08:25 AM   #6
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,900
Rep Power: 56
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

That is another possibility.

I went with something different though. I don't require price specifically, because of a wanted category as well as, Personals, Announcements and Employment categories.

I then modified the showlistings which is what shows the listings to the viewers. I put an if statement in there so if the Price=0, it doesn't even show the field. This allows the versatility of showing both ads with or without prices on the same page and regardless of order.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-13-2008, 04:49 PM   #7
Customer
 
Join Date: Mar 2008
Location: ireland
Posts: 87
Rep Power: 11
markstanden is on a distinguished road
Default

Hi Mike,

thats a great way round it, im struggling how to format the if statement, could you point me in the right direction?

Thanks for any help

Mark
markstanden is offline   Reply With Quote
Old 04-13-2008, 07:23 PM   #8
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,900
Rep Power: 56
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Mark,

This is what I used (This was in v3.1.10 though):
PHP Code:
{if $sDisPrice == "Y"}
   {* 
modification to not display price if it is $0.00 *}
   {if 
$entry.price == "\$0.00"}
      &
nbsp;
      {else}
      {if 
$entry.price == "<strong>\$0.00</strong>"}
         &
nbsp;
     {else}
     <
strong>{$smarty.const.LANG_PRICE} {$entry.price}</strong>
      {/if}
   {/if}
{/if} 
Hope that helps,
-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-14-2008, 12:36 AM   #9
Just get on with it!
 
michael's Avatar
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 457
Rep Power: 28
michael is just really nice michael is just really nice
Default

Neat solutions, just marking this for future reference. Can anyone see any problems using Mike's code in v4?
__________________
M Michael
V4.1.9 Developer - Modified 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 04-14-2008, 03:51 AM   #10
Customer
 
Join Date: Mar 2008
Location: ireland
Posts: 87
Rep Power: 11
markstanden is on a distinguished road
Default

Thanks Mike,

Thats a great help..

Regards
Mark
markstanden is offline   Reply With Quote
Reply

Tags
None

Thread Tools
Display Modes



All times are GMT -4. The time now is 06:10 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0