Support Forums

How to create one free and one or more packages

This is a discussion on How to create one free and one or more packages within the Templates, HTML, CSS, and Design Help forums, part of the General category; Can anybodyplease tell me how to create one free and one or more paid packages? This should be in a ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 08-15-2010, 03:40 PM   #1
Junior Member
 
Join Date: Jul 2010
Posts: 19
Rep Power: 5
henryv is on a distinguished road
Default How to create one free and one or more packages

Can anybodyplease tell me how to create one free and one or more paid packages?
This should be in a tutoiral as I think many people would want this combination on their site.

Or tll me where I have to start and I prefer step by step in the right order.
henryv is offline   Reply With Quote
Old 08-15-2010, 04:25 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Just create the ad packages.

manageproducts

The free one should have a price of $0.00
__________________
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,4.2,5.0)] 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 08-24-2010, 03:42 AM   #3
Customer
 
Join Date: Aug 2010
Posts: 4
Rep Power: 0
ClassAdz is on a distinguished road
Default

Hello,

Just to add on to this topic, how would I go about displaying only one package option per row? By default, the script displays two packages per row in the content div and I was wondering how I could change this.

Thank you!
ClassAdz is offline   Reply With Quote
Old 08-24-2010, 05:32 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

You will need to modify the smarty/html is templates/yourtemplate/checkout/step2.tpl . Remove the table stuff and just keep the loop with a couple of line breaks between each. Something like this should be ok - try it and modify if needed.

<fieldset>
<legend>{$smarty.const.LANG_STEP_TWO}</legend>
<p>{$smarty.const.LANG_ADD_LISTING_PACKAGE}</p>
{section name=numloop loop=$results}
<form method="post" action="usercheckout.php" name="purchase{$smarty.foreach.count.index}" id="purchase{$smarty.foreach.count.index}">
<strong>{$results[numloop].pTitle}</strong><br />
{$results[numloop].pDescription|nl2br}<br />
{if $results[numloop].pListPrice>0}
<strong>{$smarty.const.LANG_LIST_PRICE}:</strong><strike>{$results[numloop].pListPrice|format_money}</strike><br />
{/if}
<strong>{$smarty.const.LANG_PRICE}:</strong>{$results[numloop].pPrice|format_money}<br />
<input type="hidden" name="step" value="3" />
<input name="productid" type="hidden" id="productid" value="{$results[numloop].pID}" />
<input name="category" type="hidden" id="category" value="{$category}" />
<input type="hidden" name="listingid" value="{$listingid}" />
<p class="submit"><input type="submit" name="Submit" value="{$smarty.const.LANG_SELECT_THIS_PACKAGE}" /></p>
</form>
<br /><br />
{sectionelse}
{$smarty.const.LANG_NO_PACKAGE_DEFINED}
{/section}
</fieldset>
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 08-31-2010, 04:49 PM   #5
Customer
 
Join Date: Aug 2010
Posts: 4
Rep Power: 0
ClassAdz is on a distinguished road
Default

Thanks a lot seymourjames!
ClassAdz is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
create a Newsletter OldCarLocator Technical Support 4 04-13-2010 08:59 AM
create a function sergio_hs TemplateCodes 5 08-27-2009 07:40 AM
How to create your own Template? nagrap2 Technical Support 3 01-12-2009 02:52 PM
How to create a Usergroup cathouse911 Technical Support 3 11-24-2008 02:43 PM


All times are GMT -4. The time now is 11:20 AM.


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