|
|
#1 |
|
Junior Member
Join Date: Jan 2009
Posts: 14
Rep Power: 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? |
|
|
|
|
|
#2 |
|
Member
|
I want to do same thing Who can tell us how can I fix it.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2009
Posts: 2
Rep Power: 0 ![]() |
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.
|
|
|
|
|
|
#4 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,776
Rep Power: 110 ![]() |
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 |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2009
Posts: 19
Rep Power: 1 ![]() |
How can we do this on our own?
|
|
|
|
|
|
#6 |
|
Moderator
Join Date: Mar 2008
Posts: 782
Rep Power: 21 ![]() |
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> |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |