|
|
#1 |
|
Junior Member
Join Date: Mar 2009
Posts: 8
Rep Power: 0 ![]() |
We currently have set up four levels of ads, each with an additional benefit made up of the default extra options, making the price of those options $0. Is there a way to make the dropdown default to the free option rather than "No thanks"?
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
what version of 68C are you running?
Designer or devloper? What template are you using? P.S. Putting those details in your forum signature will prevent people from asking you these qustions over and over.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2009
Posts: 8
Rep Power: 0 ![]() |
I'm using 4.1.1 designer.
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
should be able to edit /checkout/step3.tpl ill have to look closer at it.
in /checkout/step3.tpl near the bottom you have the creation of the 3 option dropdowns. Example of the featured one looks like this.... Code:
<select name="featured" id="featured">
<option value="N">{$smarty.const.LANG_NO_THANKS}</option>
<option value="Y"{if $featured=="Y"} SELECTED{/if}>{$smarty.const.LANG_YES} (+{$cFeaturedPrice|format_money})</option>
</select>
Code:
<select name="featured" id="featured">
<option value="N">{$smarty.const.LANG_NO_THANKS}</option>
<option value="Y"{if $featured=="Y" || $featured==""} SELECTED{/if}>{$smarty.const.LANG_YES} (+{$cFeaturedPrice|format_money})</option>
</select>
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2009
Posts: 8
Rep Power: 0 ![]() |
This doesn't appear to be working - but I'm curious about the code. Unless there's something I'm missing, the listing doesn't become featured until we upgrade to featured. So to use that as a conditional will never prove true, right?
__________________
-------- 4.1.1 Designer edition |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
When you say "This doesn't appear to be working" do you mean it is not changing the option OR when the ad is placed the ad is not featured?
To be honest I am not even sure why the smarty evaluation is even there since the variable $featured doesnt appear to exist at checkout. It also looks like both the featured option AND the bold option check the same variable which would probably be a bug if they actually did anything. When an ad is filled out for the first time the variable $featured doesnt exist therefor the option with a value of Y will never be set as the selected option. When step3.tpl loads since there is no template variable defined the condition is met when you evaluate it to "" thereby making Yes the selected option by default.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Mar 2009
Posts: 8
Rep Power: 0 ![]() |
What I mean when I say not working is that the default is still set to No Thanks. I removed the conditional text entirely, rearranged the order of the Yes and No to have the Yes show up first (and selected), which also pushes the upsell a little harder.
__________________
-------- 4.1.1 Designer edition |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| External URL Extra Options | hel68c | v4 Questions & Support | 2 | 02-24-2009 11:37 AM |
| More Extra Fields Options | MADKing | v3.1 Questions & Support | 3 | 08-14-2007 12:19 PM |
| setting more options for extra field (drop down) | jkg011 | v3.1 Modules & Modifications | 1 | 06-20-2007 12:27 PM |
| Membership Extra Options | CB | v3.1 Questions & Support | 2 | 07-22-2006 02:16 PM |
| Extra Options in Featured Ad Package | SkGold | v3.0 Questions & Support | 7 | 04-09-2006 05:56 PM |