Jump to content

Memangkas Checkout


tituk

Recommended Posts

Sekedar sharing.. saya mencoba memangkas Step Checkout supaya lebih pendek menjadi dengan menghilangkan opsi kurir hingga menjadi 3 step saja.

rubah code di theme order-step.tpl menjadi :

>{* 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 --&gt




** Rubah value di theme order-address.tpl line 161 menjadi :

<input type="hidden" class="hidden" name="step" value="3" />



** Rubah value step di theme order-payment.tpl line 18 menjadi:

« {l s='Previous'}




Problem solved juga akhirnya

9577_7ADSdeEUNtnlUvOUVsYq_t

9578_ZbooTowwOrQCxwl9PH38_t

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...
  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...