tituk Posted July 15, 2009 Share Posted July 15, 2009 * Change code on theme order-step.tpl : >{* Assign a value to 'current_step' to display current style *} <!-- Steps --> </pre> <ul> {if $current_step=='payment' || $current_step=='shipping' || $current_step=='address' || $current_step=='login'} {l s='Summary'} {else} {l s='Summary'} {/if} {if $current_step=='payment' || $current_step=='shipping' || $current_step=='address'} {l s='Login'} {else} {l s='Login'} {/if} {if $current_step=='payment' || $current_step=='shipping'} {l s='Address'} {else} {l s='Address'} {/if} {l s='Payment'} </ul> <br><br><!-- /Steps --> ** Change value in theme order-address.tpl line 161 : <input type="hidden" class="hidden" name="step" value="3" /> ** change value order.php?step= di theme order-payment.tpl line 18 : « {l s='Previous'} Link to comment Share on other sites More sharing options...
JWToups Posted July 15, 2009 Share Posted July 15, 2009 My order-address.tpl only goes up to line 85. Could you tell me what code is supposed to be before and after the line you're adding so I know where to put it? Otherwise, thanks a lot for posting this...it seems to be exactly what I'm wanting to do! Link to comment Share on other sites More sharing options...
Patric Posted July 15, 2009 Share Posted July 15, 2009 Could you also specify which PrestaShop's version your code does apply to ? Link to comment Share on other sites More sharing options...
JWToups Posted July 15, 2009 Share Posted July 15, 2009 Okay, I found that on my file it's line 81, instead. I did everything else, and...I can confirm this works on v1.1.Only one small problem. During the checkout process, at the links that now read across:Summary...Login...Address...Confirm (my custom last step)Clicking on "Summary" at any of the steps now gives me a 404 error. Of course, the customer can still click on the cart module if they wanted to see it again before confirming the order, but the "Summary" link would be more intuitve to some people. Where would I fix this? Link to comment Share on other sites More sharing options...
dropbop Posted July 20, 2009 Share Posted July 20, 2009 To fix the 404 do thisin order-steps.tpl Findand change toIf its happening on the login oneFindand change toIt solved the problem for me but I still cant get it to show the shipping options after editing all the above.Any ideas anyone?CheersEoin Link to comment Share on other sites More sharing options...
JWToups Posted July 21, 2009 Share Posted July 21, 2009 Thanks. The fix worked perfectly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now