Support Forums

Old 01-20-2009, 02:39 AM   #1
Junior Member
 
Join Date: Jan 2009
Posts: 14
Rep Power: 2
naidu01 is on a distinguished road
Default Remove/Automate Checkout step 2?

I have only one package and will be having free ads. So I want to removed step two of the checkout process. Now I understand it's important and what it does. Besides I want to keep it in case I want to include additional options later.

But for now I want step to to auto pick my 1 package option. Is this possible? I tried adding {document.form.submit()} or {this.form.submit();} at the end of the file step2.tpl with no luck. Any suggestions?

naidu01 is offline   Reply With Quote
Old 03-02-2009, 03:19 AM   #2
Member
 
james's Avatar
 
Join Date: Feb 2009
Location: Adelaide
Posts: 38
Rep Power: 1
james will become famous soon enough
Default

I want to do same thing Who can tell us how can I fix it.
james is offline   Reply With Quote
Old 03-02-2009, 12:06 PM   #3
Junior Member
 
Join Date: Feb 2009
Posts: 2
Rep Power: 0
cheungri is on a distinguished road
Default

This is exactly what I'm seeking help on. Any luck? I'm also looking to skip the packages stage. Any help would be great.
cheungri is offline   Reply With Quote
Old 03-02-2009, 12:37 PM   #4
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,776
Rep Power: 110
Eric Barnes is a jewel in the rough
Default

Hi,

I would recommend adding this as a feature request and I will see if I can include it in the next release.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 03-25-2009, 06:50 PM   #5
Junior Member
 
Join Date: Mar 2009
Posts: 19
Rep Power: 1
Ldanakos is on a distinguished road
Default

How can we do this on our own?
Ldanakos is offline   Reply With Quote
Old 03-25-2009, 08:56 PM   #6
Moderator
 
 
Join Date: Mar 2008
Posts: 782
Rep Power: 21
seymourjames has a spectacular aura about
Default

I did this in 4.09 but I cannot guarantee it will work in 4.1 .It means you don't have a page for step 2 at all and it jumps to step 3 immediately. I made step2.tpl into this below and made a free package. You may be able to adapt it for 4.1


<body onLoad="document.forms[0].submit()">
{* Normal Single Ad Purchases *}
<fieldset>
<table width="100%">
<tr>
{section name=numloop loop=$results}
<td align="center">
<form method="post" action="usercheckout.php" name="purchase{$smarty.foreach.count.index}" id="purchase{$smarty.foreach.count.index}">
<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}" />
<input type="submit" name="Submit" value="processing" />

</form>
{if not ($smarty.section.numloop.rownum mod 2)}
{if not $smarty.section.numloop.last}
</tr><tr>
{/if}
{/if}
{if $smarty.section.numloop.last}
{math equation = "n - a % n" n=2 a=$data|@count assign="cells"}
{if $cells ne 2}
{section name=pad loop=$cells}
<td> </td>
{/section}
{/if}
</tr>
{/if}
{sectionelse}
{$smarty.const.LANG_NO_PACKAGE_DEFINED}
{/section}
</table>
</fieldset>
__________________
TemplateCodes.com
seymourjames is offline   Reply With Quote

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
checkout: extra fields don't hold value @ step 4 back to step 3 Golfball v4 Modules / Modifications 6 11-04-2008 10:18 AM
Checkout step 5 - what's it for? dollpage v4 Questions & Support 9 10-22-2008 12:51 PM
Remove Step 2 when placing Ad dyno Pre Sales Questions 1 09-18-2008 11:29 PM
Checkout Step 2 atom v4 Questions & Support 7 07-01-2008 02:14 PM
Checkout - Step X of X civ v3.1 Suggestions and Feedback 1 05-09-2006 04:01 PM


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


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