X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Product Options on Payment Detail Page (https://forum.x-cart.com/showthread.php?t=30152)

nikki 04-02-2007 12:42 PM

Re: Product Options on Payment Detail Page
 
Here it is...


{* $Id: cart_contents.tpl,v 1.24 2005/11/17 06:55:37 max Exp $ *}
<table cellpadding="5" cellspacing="1" width="100%">
<tr class="TableHead">
<td><b>{$lng.lbl_qty}</b></td>
<td><b>{$lng.lbl_sku}</b></td>
<td><b>{$lng.lbl_product}</b></td>
{if $cart.display_cart_products_tax_rates eq "Y"}
<td align="center"><b>{if $cart.product_tax_name ne ""}{$cart.product_tax_name}{else}{$lng.lbl_tax }{/if}</b></td>
{/if}
<td align="right"><b>{$lng.lbl_price}</b></td>
<td align="right"><b>{$lng.lbl_total}</b></td>
</tr>
{section name=prod_num loop=$products}
<tr{cycle values=", class='TableSubHead'"}>
<td class="ProductPriceSmall">{if $config.Appearance.allow_update_quantity_in_cart eq "N" or ($active_modules.Egoods and $products[prod_num].distribution) or ($active_modules.Subscriptions and $products[prod_num].sub_plan)}{$products[prod_num].amount}{else}{if $link_qty eq"Y"}<a href="cart.php">{$products[prod_num].amount}</a>{else}<input type="text" size="3" name="productindexes[{$products[prod_num].cartid}]" value="{$products[prod_num].amount}" />{/if}{/if}</td>
<td>{$products[prod_num].productcode}</td>
<td>{$products[prod_num].product|truncate:30:"...":true}
{include file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options}</td>
{if $cart.display_cart_products_tax_rates eq "Y"}
<td align="center">
{foreach from=$products[prod_num].taxes key=tax_name item=tax}
{if $cart.product_tax_name eq ""}<span style="white-space: nowrap;">{$tax.tax_display_name}:</span>{/if}
{if $tax.rate_type eq "%"}{$tax.rate_value}%{else}{include file="currency.tpl" value=$tax.rate_value}{/if}<br />
{/foreach}
</td>
{/if}
<td class="ProductPriceSmall" align="right">{include file="currency.tpl" value=$products[prod_num].display_price}</td>
{math equation="x*y" x=$products[prod_num].display_price y=$products[prod_num].amount assign="total"}
<td class="ProductPriceSmall" align="right">{include file="currency.tpl" value=$total}</td>
</tr>
{/section}
{if $active_modules.Gift_Certificates ne ""}
{include file="modules/Gift_Certificates/gc_checkout.tpl"}
{/if}
</table>

stevekem 04-02-2007 01:02 PM

Re: Product Options on Payment Detail Page
 
Everything looks good. Unfortunately I do not know what else to tell you to try as it should be working for you. Maybe somebody else could come along and offer some other suggestions. I wish I could help you further.



Quote:

Originally Posted by nikki
Here it is...


proboscidian 05-03-2007 03:57 AM

Re: Product Options on Payment Detail Page
 
Did you set Smarty to recompile the templates? The changes won't show if compile_check and force_compile are set to false while you're in development.


All times are GMT -8. The time now is 01:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.