Jump to content

Small changes to the Cart / Checkout buttons


Ian Reynolds
 Share

Recommended Posts

Hi,

I was wondering how difficult it would be to get the cart button removed from the basket module, and make the chekcout button slightly bigger....then get the checkout button to visit the order.php page as the step before the usual login page?

That way making it easier for customers to find where to enter voucher code.

Thanks

Share this post


Link to post
Share on other sites

Backup first.
Then open blockcart.tpl from modules/blockcart folder and at the end find this code

        

           <a href="{$base_dir_ssl}order.php" class="button_small" title="{l s='Cart' mod='blockcart'}">{l s='Cart' mod='blockcart'}</a>
           <a href="{$base_dir_ssl}order.php?step=1" id="button_order_cart" class="exclusive" title="{l s='Check out' mod='blockcart'}">{l s='Check out' mod='blockcart'}
 


and replace it with

        

           <a href="{$base_dir_ssl}order.php" id="button_order_cart" class="exclusive_large" title="{l s='Check out' mod='blockcart'}">{l s='Check out' mod='blockcart'}
 



And adjust css if needed.

Share this post


Link to post
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More