dsgnmind Posted March 22, 2013 Share Posted March 22, 2013 (edited) I'm customizing the payment page of our checkout. While I've been good at figuring out what to delete to modify pages and have no idea how to write code to add somethings. For our payment check out I just want some text with a link back to the cart summary back rather then customers having to use their back button. Any help would be great. I know this is probably child's play to many. This is the code: The area in question is around the 'What should I put here?' {capture name=path}{l s='Payment'}{/capture} {include file="$tpl_dir./breadcrumb.tpl"} <h2>{l s='Payment' mod='egrpaypalpaymentsadvanced'}</h2> {assign var='current_step' value='payment'} {include file="$tpl_dir./order-steps.tpl"} {include file="$tpl_dir./errors.tpl"} {*<h3>{l s='Credit Card Payment'}</h3>*} <p> {* <img src="{$this_path}authorizenet.gif" alt="{l s='Credit Card' mod='egrpaypalpaymentsadvanced'}" style="float:left; margin: 0px 10px 5px 0px;" /> {l s='You have chosen to pay by credit card.' mod='egrpaypalpaymentsadvanced'} <br/><br /> *} {l s=[color=#ff0000]'What should I put here?'[/color] mod='egrpaypalpaymentsadvanced'} </p> {if isset($empty)} <p class="warning">{l s='Your shopping cart is empty.'}</p> {else} <div id="order-detail-content" class="table_block"> <table id="cart_summary" class="std"> <tfoot> <tr class="cart_total_price"> <td colspan="6" style="border-bottom: 1px solid #bdc2c9;">{if !$carrier->id}{l s='Total:' mod='egrpaypalpaymentsadvanced'}{else}{l s='Total:' mod='egrpaypalpaymentsadvanced'}{/if}</td> <td class="price" style="border-bottom: 1px solid #bdc2c9;">{convertPrice price=$total_price}</td> </tr> </tfoot> {if $discounts} <tbody> {foreach from=$discounts item=discount name=discountLoop} {/foreach} </tbody> {/if} </table> </div> {$HOOK_SHOPPING_CART} {$ht} {/if} thanks Edited March 25, 2013 by dsgnmind (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted March 24, 2013 Share Posted March 24, 2013 You would use something like this <a href="{$link->getPageLink('order', true)}" title="{l s='Cart Summary'}" class="button">« {l s='Cart Summary'}</a> Link to comment Share on other sites More sharing options...
dsgnmind Posted March 25, 2013 Author Share Posted March 25, 2013 Thank you Bellini - you're one of my favorite people of 2013. 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