Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-05-2007, 11:29 AM
 
mike@tatechnology.net mike@tatechnology.net is offline
 

Senior Member
  
Join Date: May 2006
Posts: 132
 

Default Checkout

Hi,

I want to customize our checkout to display a message for when customers are checking out. We want to display this in bold on the top of the page to let them know we do not cover support unless it is purchased seperately. Is the checkout.tpl where I should be looking? What code do I need to insert to make this happen?

Thanks!
__________________
TA Technologies, Inc.
~Implementing Creative Point of Sale Solutions~
http://www.rmspos.net
X-Cart 4.1.10
Reply With Quote
  #2  
Old 06-05-2007, 11:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Checkout

Where in checkout do you want it to show up? And are you using fast lane checkout or 'regular' checkout?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-05-2007, 04:44 PM
 
mike@tatechnology.net mike@tatechnology.net is offline
 

Senior Member
  
Join Date: May 2006
Posts: 132
 

Default Re: Checkout

We haven't touched our checkout, so I am assuming it is regular. As for the place to display this, at the top in either the shipping and payment method, or the place order section (last step).
__________________
TA Technologies, Inc.
~Implementing Creative Point of Sale Solutions~
http://www.rmspos.net
X-Cart 4.1.10
Reply With Quote
  #4  
Old 06-07-2007, 04:28 AM
 
mike@tatechnology.net mike@tatechnology.net is offline
 

Senior Member
  
Join Date: May 2006
Posts: 132
 

Default Re: Checkout

Bump!
__________________
TA Technologies, Inc.
~Implementing Creative Point of Sale Solutions~
http://www.rmspos.net
X-Cart 4.1.10
Reply With Quote
  #5  
Old 06-07-2007, 04:32 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Checkout

Well, fast lane is enabled by default I believe, so check your 'modules' section to make sure you are not using it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 06-08-2007, 06:43 AM
 
mike@tatechnology.net mike@tatechnology.net is offline
 

Senior Member
  
Join Date: May 2006
Posts: 132
 

Default Re: Checkout

Ok, I checked modules and Fast Checkout is enabled.
__________________
TA Technologies, Inc.
~Implementing Creative Point of Sale Solutions~
http://www.rmspos.net
X-Cart 4.1.10
Reply With Quote
  #7  
Old 06-08-2007, 07:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Checkout

All of the fast lane checkout templates are in the modules/Fast Lane folder. Not sure which is which as I don't use that module, but you should find what you are looking for there.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 06-08-2007, 01:46 PM
 
mike@tatechnology.net mike@tatechnology.net is offline
 

Senior Member
  
Join Date: May 2006
Posts: 132
 

Default Re: Checkout

Thanks for the help:

Here is the code

<h3>{$lng.lbl_place_order}</h3>

{capture name=dialog}

{if $config.Appearance.show_cart_details eq "Y" or ($config.Appearance.show_cart_details eq "L" and $smarty.get.paymentid ne "" and $smarty.get.mode eq "checkout")}
{include file="customer/main/cart_details.tpl" link_qty="Y"}
{else}
{include file="customer/main/cart_contents.tpl" link_qty="Y"}
{/if}

<br />
{include file="customer/main/cart_totals.tpl" link_shipping="Y"}
<br /><br />

<form action="{$payment_data.payment_script_url}" method="post" name="checkout_form">
<input type="hidden" name="paymentid" value="{$payment_data.paymentid}" />
<input type="hidden" name="action" value="place_order" />
<table cellpadding="0" cellspacing="0" width="100%">
<tr><td>
{include file="customer/main/subheader.tpl" title=$lng.lbl_personal_information}
<div align="right">{include file="buttons/modify.tpl" href="register.php?mode=update&amp;action=cart&amp ;paymentid=`$smarty.get.paymentid`"}</div>

<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="20"><img src="{$ImagesDir}/spacer.gif" width="20" height="1" alt="" /></td>
<td>
{include file="modules/Fast_Lane_Checkout/customer_details_html.tpl"}
</td>
</tr>
</table>

<br /><br />

{include file="customer/main/subheader.tpl" title="`$lng.lbl_payment_method`: `$payment_data.payment_method`"}
{if $ignore_payment_method_selection eq ""}
<div align="right">{include file="buttons/button.tpl" button_title=$lng.lbl_change_payment_method href="cart.php?mode=checkout"}</div>
{/if}

<input type="hidden" name="{$XCARTSESSNAME}" value="{$XCARTSESSID}" />
<script type="text/javascript">
<!--
requiredFields = new Array();
-->
</script>
{include file="check_required_fields_js.tpl"}

<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="20"><img src="{$ImagesDir}/spacer.gif" width="20" height="1" alt="" /></td>
<td>
{if $payment_data.payment_template ne ""}
{capture name=payment_template_output}
{include file=$payment_data.payment_template hide_header="Y"}
{/capture}
{if $smarty.capture.payment_template_output ne ""}
{include file="customer/main/subheader.tpl" title=$lng.lbl_payment_details class="grey"}
{$smarty.capture.payment_template_output}
<br />
{/if}
{/if}

{if $payment_cc_data.cmpi eq 'Y'}
{include file="main/cmpi.tpl"}
{/if}
{include file="customer/main/checkout_notes.tpl"}
</td>
</tr>
</table>

<br />
<input type="hidden" name="payment_method" value="{$payment_data.payment_method_orig}" />
<center>
{$lng.txt_terms_and_conditions_note}

<p />

{if $js_enabled}
{assign var="button_href" value="javascript: "}
{if $config.General.check_cc_number eq "Y" and ($payment_cc_data.type eq "C" or $payment_data.paymentid eq 1 or ($payment_data.processor_file eq "ps_paypal_pro.php" and $payment_cc_data.paymentid ne $payment_data.paymentid)) and $payment_cc_data.disable_ccinfo ne "Y"}
{assign var="button_href" value=$button_href|cat:"if(checkCCNumber(document. checkout_form.card_number,document.checkout_form.c ard_type) && checkExpirationDate(document.checkout_form.card_ex pire_Month,document.checkout_form.card_expire_Year )"}
{if $payment_cc_data.disable_ccinfo ne "C"}
{assign var="button_href" value=$button_href|cat:" && checkCVV2(document.checkout_form.card_cvv2,documen t.checkout_form.card_type)"}
{/if}
{assign var="button_href" value=$button_href|cat:")"}
{/if}
{assign var="button_href" value=$button_href|cat:" if(checkRequired(requiredFields)) document.checkout_form.submit()"}
{include file="buttons/button.tpl" button_title=$lng.lbl_submit_order style="button" href=$button_href}
{else}
{include file="submit_wo_js.tpl" value=$lng.lbl_submit_order}
{/if}
</center>
</td></tr>
</table>
</form>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_payment_details content=$smarty.capture.dialog extra='width="100%"'}




My PHP skills are less than par, so what exactly needs to be done here for this to display at the top of the checkout?
__________________
TA Technologies, Inc.
~Implementing Creative Point of Sale Solutions~
http://www.rmspos.net
X-Cart 4.1.10
Reply With Quote
  #9  
Old 06-11-2007, 10:21 AM
 
mike@tatechnology.net mike@tatechnology.net is offline
 

Senior Member
  
Join Date: May 2006
Posts: 132
 

Default Re: Checkout

Bump for a little help
__________________
TA Technologies, Inc.
~Implementing Creative Point of Sale Solutions~
http://www.rmspos.net
X-Cart 4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:47 AM.

   

 
X-Cart forums © 2001-2020