Support Forums

Old 04-09-2006, 01:01 AM   #1
Senior Member
 
SkGold's Avatar
 
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 23
SkGold has a spectacular aura about
Default Extra Options in Featured Ad Package

I have a Featured Ad Package that includes Featured and Bold options. After choosing the package customers going to the page where they fill up the listing info. On the same page located �Extra Options� table. Each extra option in that table have drop down field with 2 options: �No Thanks� on the first place and �Yes(+$0.00)� on the second place.

Here is my problem. Customers already choose Featured Ad Package that includes Featured and Bold options so they expect that these options already included. Is it possible to remove �No Thanks� from drop down field? or at least to put �Yes(+$0.00)�on the first place?
__________________
Thanks,
Sergey

Bargain Finder in Calgary, Alberta, Canada.
Calgary Business Directory V3.1.10 Dev - Calgary Classifieds V3.1.10 Dev - Calgary Real Estate V3.1.10 Dev - Calgary Used Cars V3.1.10 Dev - Calgary Rent V3.1.10 Dev - Calgary Dating V3.1.5 Dev

A website without well-done Internet Marketing and Search Engine Optimization is as good as non-existent.
SkGold is offline  
Old 04-09-2006, 09:11 AM   #2
Moderator
 
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,163
Rep Power: 59
juven14 is a jewel in the rough
Default

Yes, open templates/default/checkout/step3.tpl.php

find:

HTML Code:
{if $featured=="Y"}
    <tr>
          <td class="formleft">{$smarty.const.LANG_ADD_FEATURED}{$smarty.const.LANG_COLON}</td>
          <td class="formright">
            <select name="featured">
                 <option value="N">{$smarty.const.LANG_NO_THANKS}</option>
                 <option value="Y">{$smarty.const.LANG_YES} (+{$cFeaturedPrice})</option>
            </select>
        </td>
    </tr>
    {/if}
    {if $cBold=="Y"}
    <tr>
          <td class="formleft">{$smarty.const.LANG_ADD_BOLD}{$smarty.const.LANG_COLON}</td>
          <td class="formright">
            <select name="bold">
                 <option value="N">{$smarty.const.LANG_NO_THANKS}</option>
                 <option value="Y">{$smarty.const.LANG_YES} (+{$boldPrice})</option>
            </select>
        </td>
    </tr>
    {/if}
Then just edit the select options.

from:

HTML Code:
<select name="featured">
                 <option value="N">{$smarty.const.LANG_NO_THANKS}</option>
                 <option value="Y">{$smarty.const.LANG_YES} (+{$cFeaturedPrice})</option>
            </select>
to:

HTML Code:
<select name="featured">
     <option value="Y">{$smarty.const.LANG_YES}(+{$cFeaturedPrice})</option>
     <option value="N">{$smarty.const.LANG_NO_THANKS}</option>
</select>
__________________
TemplateCodes.com
juven14 is offline  
Old 04-09-2006, 02:04 PM   #3
Senior Member
 
garysmith's Avatar
 
Join Date: Mar 2006
Location: Jackson, Mississippi
Posts: 130
Rep Power: 15
garysmith is on a distinguished road
Default

John,

looks like you just invert the statements...?
if so would you just invert for bold and highlighted as well?


On another thought John...or anyone for that matter..

higher up on that same page the options start with
1) title (which is associated with the Title to the AD)
2) price (which shows the user's asking price-also shown in the ad)

with reference to the price...I am of the understanding that commas or decimals should not be used in this field? Is that right? and if that's correct ... How can I edit the text to the left of the field so that users are made aware of this fact? I tried english.php and that just changes the word "price" throughout the site.

thanks in advance!
gsmith
__________________
As a Man Think-ith, So is He.
www.zFreeAds.com
www.ms-fsbo.com

Last edited by garysmith; 04-09-2006 at 02:52 PM.
garysmith is offline  
Old 04-09-2006, 04:53 PM   #4
Moderator
 
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,163
Rep Power: 59
juven14 is a jewel in the rough
Default

That is correct Gary, you'd do the same for each of the extra select boxes.

Gary, the file you want to edit would be templates/fsbo/checkout/step3.tpl.php, you can add in next to:

Code:
td class="formleft">{if $checkoutRequirePrice==Y}{$smarty.const.LANG_STAR} {/if}{$smarty.const.LANG_PRICE}(10000){$smarty.const.LANG_COLON}</td>
__________________
TemplateCodes.com
juven14 is offline  
Old 04-09-2006, 05:09 PM   #5
Senior Member
 
garysmith's Avatar
 
Join Date: Mar 2006
Location: Jackson, Mississippi
Posts: 130
Rep Power: 15
garysmith is on a distinguished road
Default

Quote:
Gary, the file you want to edit would be templates/fsbo/checkout/step3.tpl.php, you can add in next to:

Code:
td class="formleft">{if $checkoutRequirePrice==Y}{$smarty.const.LANG_STAR} {/if}{$smarty.const.LANG_PRICE}(10000){$smarty.const.LANG_COLON}</td>
I changed the featured, bold, and highlighted code...works like a champ. Thnx...

Now...I am sorry I am not following the above...please be more specific? I can add something like: Price: (Ex:34567=34,567.00)

Now where would I post this text change again?


gsmith
__________________
As a Man Think-ith, So is He.
www.zFreeAds.com
www.ms-fsbo.com
garysmith is offline  
Old 04-09-2006, 05:19 PM   #6
Moderator
 
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,163
Rep Power: 59
juven14 is a jewel in the rough
Default

Same file (step3.tpl.php), find:

HTML Code:
td class="formleft">{if $checkoutRequirePrice==Y}{$smarty.const.LANG_STAR} {/if}{$smarty.const.LANG_PRICE}(10000){$smarty.const.LANG_COLON}</td>
Replace with:

HTML Code:
 td class="formleft">{if $checkoutRequirePrice==Y}{$smarty.const.LANG_STAR} {/if}{$smarty.const.LANG_PRICE}(Ex:34567=34,567.00){$smarty.const.LANG_COLON}</td>
__________________
TemplateCodes.com
juven14 is offline  
Old 04-09-2006, 05:41 PM   #7
Senior Member
 
garysmith's Avatar
 
Join Date: Mar 2006
Location: Jackson, Mississippi
Posts: 130
Rep Power: 15
garysmith is on a distinguished road
Default

Quote:
<td class="formstrip" colspan="2"><font color="#FF0000">{$msg}</font></td>
</tr>
{/if}
<tr>
<td class="formstrip" colspan="2">{$smarty.const.PLEASE_ENTER_AD_DETAILS }</td>
</tr>
<tr>

<td class="formleft">{if $checkoutRequirePrice==Y}{$smarty.const.LANG_STAR} {/if}{$smarty.const.LANG_PRICE}(10000){$smarty.const .LANG_COLON}</td> </tr>
<td class="formright"><input name="title" type="text" size="{$smarty.const.FIELD_SIZE}" onKeyDown="textTitleCounter(this.form.title,this.f orm.remLentext,{$cTitleCharacters});" onKeyUp="textTitleCounter(this.form.title,this.for m.remLentext,{$cTitleCharacters});" value="{$listingtitle}" /><br /><span class="characters">{$smarty.const.LANG_CHARACTERS_ REMAINING}: <span id="cCharTitleLeft" class="characters"></span>/{$cTitleCharacters}</span></td>
</tr>
Copy of edited file in step three. Result is that it labled "Title:" and moved the text box for Title and did not effect Price:

?

Did i edit the wrong line? I swear I only replaced the exact line you called out!

EErrrhhh!

gsmith

p.s. See above code...I changed it back to the (10000) you had in for test purposes...
__________________
As a Man Think-ith, So is He.
www.zFreeAds.com
www.ms-fsbo.com
garysmith is offline  
Old 04-09-2006, 05:56 PM   #8
Moderator
 
 
Join Date: Mar 2006
Location: NJ/NYC Area
Posts: 2,163
Rep Power: 59
juven14 is a jewel in the rough
Default

No, you edited the wrong line:

HTML Code:
{if $checkoutDisPrice=="Y"}
    <tr>
        <td class="formleft">{if $checkoutRequirePrice==Y}{$smarty.const.LANG_STAR} {/if}{$smarty.const.LANG_PRICE}PUT YOUR EDIT HERE(EX 10000=10,000.00){$smarty.const.LANG_COLON}</td>
        <td class="formright">{$currency_symbol}<input name="price" type="text" size="{$smarty.const.FIELD_SIZE}" /></td>
    </tr>
    {/if}
This is how the edited line should look. This is below the lines you had edited:

Code:
<tr>
        <td class="formstrip" colspan="2">{$smarty.const.PLEASE_ENTER_AD_DETAILS}</td>
    </tr>
    <tr>
        <td class="formleft">{$smarty.const.LANG_STAR} {$smarty.const.LANG_TITLE}{$smarty.const.LANG_COLON}</td>
        <td class="formright"><input name="title" type="text" size="{$smarty.const.FIELD_SIZE}" onKeyDown="textTitleCounter(this.form.title,this.form.remLentext,{$cTitleCharacters});" onKeyUp="textTitleCounter(this.form.title,this.form.remLentext,{$cTitleCharacters});" /><br /><span class="characters">{$smarty.const.LANG_CHARACTERS_REMAINING}: <span id="cCharTitleLeft" class="characters"></span>/{$cTitleCharacters}</span></td>
    </tr>
 {if $checkoutDisPrice=="Y"}
    <tr>
        <td class="formleft">{if $checkoutRequirePrice==Y}{$smarty.const.LANG_STAR} {/if}{$smarty.const.LANG_PRICE} PUT YOUR EDIT HERE(EX 10000=10,000.00) {$smarty.const.LANG_COLON}</td>
        <td class="formright">{$currency_symbol}<input name="price" type="text" size="{$smarty.const.FIELD_SIZE}" /></td>
    </tr>
    {/if}
__________________
TemplateCodes.com
juven14 is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Price checking by Listing Package Bucketman v3.0 Questions & Support 25 12-03-2007 04:48 AM
Membership Extra Options CB v3.1 Questions & Support 2 07-22-2006 02:16 PM
Seperating ads in Horizontal Featured from Vertical GSP v3.1 Questions & Support 19 05-04-2006 03:51 PM
Charging for extra photos Bucketman v3.0 Questions & Support 3 04-04-2006 01:50 PM
Package Problems... dawyatt v3.0 Questions & Support 27 03-30-2006 08:09 AM


All times are GMT -4. The time now is 10:44 AM.


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