View Single Post
  #661  
Old 09-25-2014, 05:14 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - reBOOT - Responsive Template

Quote:
How to call fast lane checkout tab on cart page?

You'd need to hard code some HTML...

skin/reboot/customer/main/cart.tpl

Replace...
Code:
<h2{if $products eq ""} class="nomargintop"{/if}>{$lng.lbl_your_shopping_cart}</h2>
With...
Code:
{if $products ne ""} {if $config.General.checkout_module eq "Fast_Lane_Checkout"} <br> {capture name=dialog} <div class="row"> <div class="col-md-3 text-center"> <div class="checkout_current_step"> <h4><i class="fa fa-arrow-right" style="color:green"></i> <a href="cart.php">Your cart</a></h4> </div> </div> <div class="col-md-3 text-center"> <h4><a href="cart.php?mode=checkout">Personal Details</a></h4> </div> <div class="col-md-3 text-center"> <h4>Shipping &amp; Payment</h4> </div> <div class="col-md-3 text-center"> <h4>Place Order</h4> </div> </div> {/capture} {include file="customer/dialog.tpl" title=$lng.lbl_order content=$smarty.capture.dialog} {else} <h2{if $products eq ""} class="nomargintop"{/if}>{$lng.lbl_your_shopping_cart}</h2> {/if} {/if}

Quote:
Also I want to remove the decimal price from price options.Instead of displaying 510.00 it will display as 510

Probably not a great idea to do that, but if it's just for appearance reasons, you can use some simple jQuery...

skin/reboot/js/reboot.js

After...

Code:
$(document).ready(function() {

Insert...

Code:
$('.currency').each(function(){ $(this).html($(this).html().replace(".00","")); });
__________________
xcartmods.co.uk
Reply With Quote