View Single Post
  #7  
Old 06-02-2005, 05:05 AM
 
alinticlea alinticlea is offline
 

Member
  
Join Date: Nov 2004
Location: Canada
Posts: 24
 

Default

About the second problem, the code for that button is in /skin1/customer/main/cart.tpl

The code for the "Update Cart", "Clear Cart" and "Checkout" buttons is the following one:

{if $js_enabled}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD>
{include file="buttons/update.tpl" type="input" href="javascript: document.cartform.submit()" js_to_href="Y"}

{include file="buttons/button.tpl" button_title=$lng.lbl_clear_cart href="cart.php?mode=clear_cart"}
</TD>
{if $active_modules.Special_Offers}
{include file="modules/Special_Offers/customer/cart_checkout_buttons.tpl"}
{/if}
<TD align="right">
{include file="buttons/button.tpl" button_title=$lng.lbl_checkout style="button" href="cart.php?mode=checkout"}
</TD>
</TR>
</TABLE>
{else}
<INPUT type="hidden" name="mode" value="checkout">
{include file="submit_wo_js.tpl" value=$lng.lbl_checkout}
{/if}

You will have to move a part of this code inside of
{section name=product loop=$products}

{/section}
because I understand that you want only the update button repeted on each product line.

I hope this helps you to solve the problem.
Please let me know if you have problems in doing this.

Best regards,
Alin
__________________
X-cart v 4.0.11 [live store]
www.beddingtons.com
Reply With Quote