Page MenuHomeIn-Portal Phabricator

modern-store
No OneTemporary

File Metadata

Created
Sun, Jan 5, 8:53 PM

modern-store

Index: branches/1.0.x/products/details.tpl
===================================================================
--- branches/1.0.x/products/details.tpl (revision 14824)
+++ branches/1.0.x/products/details.tpl (revision 14825)
@@ -1,264 +1,262 @@
<!--##
<NAME>Products - Details Design</NAME>
<DESC>General design template for Product Details</DESC>
<SECTION>Pages||Products</SECTION>
##-->
<inp2:p_AddToRecent />
<inp2:m_DefineElement name="page_title"><inp2:p_Field name="Name" html_escape="1"/></inp2:m_DefineElement>
<inp2:m_DefineElement name="sidebar">
<inp2:m_Include template="elements/side_boxes/related_products.elm" data_exists="1"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="before_content">
<div class="block-fixed">
<div>
<a href="<inp2:p_AddToCartLink template='elements/ajax/cart_bubble' product_template='__default__'/>" class="button-addtocart" qty_id="product-qty" rel="nofollow"><span><img src="<inp2:m_TemplatesBase/>img/bg-button-cart-add.png" width="24" height="24" alt="" /><i>Add to Cart</i></span></a>
</div>
</div>
</inp2:m_DefineElement>
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<inp2:rev_InitList main_list="1"/>
<div class="block no-border-bottom">
<inp2:m_Include template="elements/navigation_bar.elm" navigation_buttons="1"/>
<div class="goods border-radius product-detail">
<inp2:m_if check="p_Field" name="IsNew" db="db">
<div class="ribbon new"></div>
<inp2:m_elseif check="p_Field" name="IsPop" db="db"/>
<div class="ribbon top"></div>
<inp2:m_elseif check="p_Field" name="Featured" db="db"/>
<div class="ribbon sale"></div>
</inp2:m_if>
<h1><inp2:p_Field field="Name" html_escape="1"/></h1>
<div class="rating">
<inp2:p_VotesIndicator/>
<!--<inp2:m_if check="p_Field" name="CachedRating" equals_to="1|2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>-->
</div>
<div class="h1-reviews">(<a href="#reviews"><inp2:rev_TotalRecords/> reviews</a>)</div>
<div class="clear"></div>
<div class="product">
<div class="info">
<div class="img">
<p class="signsmall">Roll over images for multiple views:</p>
<ul id="pikame" >
- <li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
- <li><img src="<inp2:m_TemplatesBase />img/samples/good1.jpg" width="256" height="258" alt="" /></li>
- <li><img src="<inp2:m_TemplatesBase />img/samples/good2.jpg" width="256" height="258" alt="" /></li>
- <li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
- <li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
- <li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
+ <inp2:m_DefineElement name="additional_image_element">
+ <li><img src="<inp2:ImageSrc format="resize:256x258;wm:img/logo_watermark.png|-1|-1"/>" width="256" height="258" alt="" /></li>
+ </inp2:m_DefineElement>
+ <inp2:p_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxWidth="256" DefaultWidth="256" DefaultImage="img/no_picture.gif"/>
</ul>
<div class="viewlarger">
<a href="" onclick="TINY.box.show({image:'<inp2:m_TemplatesBase />img/samples/good-details-big.jpg',animate:true}); return false;">View Larger</a>
</div>
<p class="showmore"><a href="#">Show More Images...</a></p>
</div>
<div class="doplinks">
<a href="#" class="link-print">Print this Page</a><br />
<a href="#" class="link-compare">Compare to other Products</a><br />
<a href="#" class="link-wishlist">Add to Wishlist</a><br />
</div>
</div>
<div class="description">
<div class="options-har">
<div class="sel-options">
<label><strong>Select Size:</strong>
<select name="select" class="field-alt">
<option value="" selected="selected">22"</option>
<option value="">23"</option>
</select>
</label>
</div>
<div class="sel-options">
<label><strong>Select Color:</strong>
<select name="select" class="field-alt">
<option value="" selected="selected">Gray Metallic</option>
<option value="">White Metallic</option>
<option value="">Black Metallic</option>
</select>
</label>
</div>
<div class="clear"></div>
</div>
<div class="price-block">
<p><s class="under"><inp2:p_Field name="MSRP" currency="selected" decimal_tag="span"/></s></p>
<p class="redprice"><em class="price"><inp2:p_Field name="Price" currency="selected" decimal_tag="span"/></em></p>
</div>
<div class="order-block">
<p class="qty form"><strong>Qty.</strong>&nbsp;&nbsp;<input type="text" name="qty" id="product-qty" value="1" class="field" /></p>
<p class="but"><a href="<inp2:p_AddToCartLink template='elements/ajax/cart_bubble' product_template='__default__'/>" class="addtocart" qty_id="product-qty" rel="nofollow"><span><i>Add to Cart</i></span></a></p>
<p class="avail">Availability: <em>In Stock</em></p>
</div>
<div class="clear"></div>
<dl class="har">
<dt>Model:</dt>
<dd>XT2324</dd>
<dt>Manufacturer:</dt>
<dd><inp2:p_Field name="ManufacturerId"/></dd>
</dl>
<dl class="har">
<dt>SKU:</dt>
<dd><inp2:p_Field name="SKU"/></dd>
<dt>Size:</dt>
<dd>22''</dd>
</dl>
<div class="clear"></div>
<div class="text">
</div>
<div id="tabs">
<ul>
<inp2:m_if check="p_Field" name="cust_Features">
<li><a href="#tabs-1">Features</a></li>
</inp2:m_if>
<inp2:m_if check="p_Field" name="Description">
<li><a href="#tabs-2">Details</a></li>
</inp2:m_if>
<li><a href="#tabs-3">Specifications</a></li>
</ul>
<inp2:m_if check="p_Field" name="cust_Features">
<div id="tabs-1">
<inp2:p_Field name="cust_Features"/>
</div>
</inp2:m_if>
<inp2:m_if check="p_Field" name="Description">
<div id="tabs-2">
<inp2:p_Field name="Description"/>
</div>
</inp2:m_if>
<div id="tabs-3">
<p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="reviews">
<a name="reviews"></a>
<div class="top-review">
<div class="info-review">
<p class="title">Reviews for <inp2:p_Field name="Name" html_escape="1" cut_first="60"/> (<inp2:rev_TotalRecords/>):</p>
<!--<p class="but-review"><a href="" onclick="TINY.box.show({iframe:'addreview-success.html',width:600,height:340}); return false;" class="addreview">Add a Review</a></p>-->
<p class="but-review"><a href="<inp2:p_ProductLink template='elements/ajax/add_review' width='600' height='340'/>" class="thickbox addreview">Add a Review</a></p>
<div class="sortby">
Sort by:
<select>
<option value="" selected="selected">Price</option>
<option value="">Rating</option>
<option value="">Populate</option>
</select>
</div>
</div>
<div class="overall-review">
<p>Overall Rating:</p>
<div class="overall-detail">
<inp2:rev_PrintRatingPercents render_as="rating_percent_element" show_none="0"/>
</div>
</div>
<div class="clear"></div>
</div>
<inp2:rev_PrintList render_as="review_element"/>
<script type="text/javascript">
$(document).ready(
function () {
$('.reviews .row-review').each(
function () {
var $review = $(this);
$('.yes, .no', this).click(
function ($e) {
var $link = $(this),
$counter = $('.' + $link.attr('class') + '-count', $review);
$.get(
$link.attr('href'),
function ($count) {
$counter.html('(' + $count + ')');
}
)
return false;
}
);
}
);
}
);
</script>
</div>
<div class="clear"></div>
<inp2:m_Include template="elements/pagination.elm" prefix="rev"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<inp2:m_DefineElement name="add_to_head">
<script src="<inp2:m_TemplatesBase />inc/js/jquery.gzoom.js"></script>
<script src="<inp2:m_TemplatesBase />inc/js/jquery.pikachoose.full.js"></script>
<script type= "text/javascript">
/*<![CDATA[*/
$(function() {
$("#tabs").tabs();
$("#pikame").PikaChoose({autoPlay:false, showCaption:false});
});
window.onload= function () {
$("#zoom").gzoom({
sW: 258,
sH: 258,
lW: 1400,
lH: 1050,
lighbox : false
});
};
/*]]>*/
</script>
</inp2:m_DefineElement>
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="designs/default_design.des" pass_params="1" right_column="sidebar" before_content="before_content"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/cart.tpl
===================================================================
--- branches/1.0.x/cart.tpl (revision 14824)
+++ branches/1.0.x/cart.tpl (revision 14825)
@@ -1,295 +1,295 @@
<!--##
<NAME>Shopping Cart</NAME>
<DESC></DESC>
<SECTION>Pages||Checkout</SECTION>
##-->
<inp2:m_DefineElement name="page_title">Shopping Cart</inp2:m_DefineElement>
<inp2:m_DefineElement name="add_to_head">
<script src="<inp2:m_TemplatesBase />inc/js/cart_manager.js" type="text/javascript"></script>
</inp2:m_DefineElement>
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<ul class="steps">
<li class="step1 active"><a href="<inp2:m_Link pass='m,all'/>"><i></i>Shopping Cart</a></li>
<li class="step2"><span><i></i>One-step Checkout</span></li>
<li class="step3"><span><i></i>Receipt</span></li>
</ul>
<div class="clear"></div>
<form method="post" id="shopping-cart-form" action="<inp2:m_FormAction />">
<div class="cart-detail receipt shoppingcart">
<!--<div style="border: 1px dashed blue; padding: 3px; margin-bottom: 5px; font-size: 14px; font-family: 'Courier New', monospace;">
<inp2:ord_CheckoutErrorNew/>
</div>-->
<inp2:m_DefineElement name="cart_header_element">
<h1>Shopping Cart</h1>
<div class="buttons-right">
<a href="<inp2:ord_ContinueShoppingLink template='__default__'/>" class="continue-button"><span>Continue Shopping</span></a>
<a href="<inp2:m_Link template='checkout'/>" class="checkout-button"><span>Checkout</span></a>
</div>
<div class="clear"></div>
<table class="items">
<thead>
<tr>
- <th colspan="2" style="text-align: left;">Items in your order (<span id="item-count"><inp2:orditems_TotalRecords/></span>)</th>
+ <th colspan="2" style="text-align: left;">Items in your order (<span id="item-count"><inp2:ord_ItemsInCart/></span>)</th>
<th>Qty.</th>
<th>Price</th>
<th>Total</th>
<th></th>
</tr>
</thead>
<tbody id="shop-cart-table">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="cart_item_element">
<tr class="shop-cart-row" row_index="<inp2:RowIndex/>" order_item_id="<inp2:Field name='OrderItemId'/>">
<td class="item-img"<inp2:m_if check="HasOptions"> rowspan="2"</inp2:m_if>>
<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="58" DefaultWidth="58" DefaultImage="img/no_picture.gif"/>
</td>
<td class="item-title">
<div style="font-size: 14px; font-family: 'Courier New', monospace;">
[ProductId: <strong><inp2:Field name="ProductId"/></strong>; OptionsSalt: <strong><inp2:Field name="OptionsSalt"/></strong>; BackOrderFlag: <strong><inp2:Field name="BackOrderFlag"/></strong>]
</div>
<inp2:m_if check="Field" field="Virtual" equals_to="0" db="db">
<a href="<inp2:ProductLink template='__default__'/>"><inp2:Field name="Name" /></a>
<inp2:m_if check="FreePromoShippingAvailable">
&nbsp;<sup><inp2:m_phrase label="lu_cart_FreeShippingAvailable" /></sup>
</inp2:m_if>
<inp2:m_else/>
<inp2:Field name="Name" />
</inp2:m_if>
<inp2:m_if check="ord_BackorderFlag">
<span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span>
</inp2:m_if>
<inp2:m_if check="p_Field" name="cust_Availability" db="db">
<br />
<inp2:p_CustomField name="Availability"/>
</inp2:m_if>
<div class="product-discount"<inp2:m_ifnot check="HasDiscount"> style="display: none;"</inp2:m_ifnot>>
<inp2:m_Phrase label="lu_comm_RegularPrice" />: <span class="item-price"><inp2:Field name="FlatPrice" currency="selected"/></span><br />
<inp2:m_Phrase label="lu_comm_Discount" />: <span class="item-discount"><inp2:Field name="ItemDiscount" currency="selected" negative="1" /></span>
</div>
</td>
<td>
<div class="item-quantity">
<inp2:m_if check="IsTangible">
<input value="<inp2:Field field='Quantity'/>" class="field product-qty" name="<inp2:InputName field='Quantity'/>" id="<inp2:InputName field='Quantity'/>" />
<inp2:m_else />
<span class="product-qty read-only"><inp2:Field field="Quantity"/></span>
</inp2:m_if>
</div>
</td>
<td class="price-cell">
<inp2:Field name="Price" currency="selected" decimal_tag="span"/>
</td>
<td class="item-total extended-price-cell">
<inp2:Field name="ExtendedPrice" currency="selected" decimal_tag="span"/>
</td>
<td>
<a href="<inp2:LinkRemoveFromCart/>" class="delete-cart-link"><img src="<inp2:m_TemplatesBase/>img/icon-delete.png" width="13" height="13" alt="Delete" /></a>
</td>
</tr>
<inp2:m_if check="HasOptions">
<tr>
<td class="options-td" colspan="5">
<div class="sel-options">
<label><strong>Select Size:</strong>
<select name="select">
<option value="" selected="selected">22"</option>
<option value="">23"</option>
</select>
</label>
</div>
<div class="sel-options">
<label><strong>Select Color:</strong>
<select name="select">
<option value="" selected="selected">Gray Metallic</option>
<option value="">White Metallic</option>
<option value="">Black Metallic</option>
</select>
</label>
</div>
</td>
</tr>
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="cart_footer_element">
</tbody>
</table>
<div class="discount-block">
<p><strong>Discounts & Promotional Offers</strong></p>
<div id="coupon-row">
<div class="used"<inp2:m_ifnot check="ord_Field" name="CouponId" db="db"> style="display: none;"</inp2:m_ifnot>>
<inp2:m_Phrase label="lu_comm_CouponHasBeenApplied" />:&nbsp;
<div class="num-discount">
<span class="coupon-name"><inp2:ord_Field field="CouponName" /></span>&nbsp;&nbsp;
<a id="remove-coupon" href="<inp2:ord_RemoveCouponLink type='coupon'/>"><img src="<inp2:m_TemplatesBase/>img/icon-delete.png" title="<inp2:m_Phrase label='lu_comm_RemoveCoupon' no_editing='1'/>" alt="<inp2:m_Phrase label='lu_comm_RemoveCoupon' no_editing='1'/>" width="13" height="13" border="0" /></a>
</div>
</div>
<div class="not-used"<inp2:m_if check="ord_Field" name="CouponId" db="db"> style="display: none;"</inp2:m_if>>
<p>If you have a discount or promotional offer code please enter it and click Apply button.</p>
<div class="num-discount form">
<input class="field coupon-code" name="coupon_code" value=""/>
<input type="button" class="grey-button" id="apply-coupon" value="Apply"/>
</div>
</div>
</div>
<!-- hide gift certificate row by design, but it's fully functional -->
<div id="gift-certificate-row" style="display: none;">
<div class="used"<inp2:m_ifnot check="ord_Field" name="GiftCertificateId" db="db"> style="display: none;"</inp2:m_ifnot>>
<inp2:m_Phrase label="lu_comm_GiftCertificateHasBeenApplied" />:&nbsp;
<div class="num-discount">
<span class="gift-certificate-discount"><inp2:ord_Field field="GiftCertificateDiscount" currency="selected" /></span>&nbsp;&nbsp;
<a id="remove-gift-certificate" href="<inp2:ord_RemoveCouponLink type='gift_certificate'/>"><img src="<inp2:m_TemplatesBase/>img/icon-delete.png" title="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate" no_editing="1"/>" alt="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate" no_editing="1"/>" width="13" height="13" border="0" /></a>
</div>
</div>
<div class="not-used"<inp2:m_if check="ord_Field" name="GiftCertificateId" db="db"> style="display: none;"</inp2:m_if>>
<p>If you have a gift certificate code please enter it and click Apply button.</p>
<div class="num-discount form">
<input class="field gift-certificate-code" name="giftcert_code" />
<input type="button" class="grey-button" id="apply-gift-certificate" value="Apply"/>
</div>
</div>
</div>
</div>
<div class="buttons-right">
<dl class="total">
<div id="discount-row"<inp2:m_ifnot check="ord_HasDiscount"> style="display: none;"</inp2:m_ifnot>>
<dt class="discount">Discount:</dt>
<dd class="price2">- <inp2:ord_Field name="DiscountTotal" currency="selected" decimal_tag="span"/></dd>
</div>
<div>
<dt>Total</dt>
<dd class="price1" id="sub-total"><inp2:ord_Field field="SubTotal" currency="selected" decimal_tag="span"/></dd>
</div>
</dl>
<p>(before shipping & taxes)</p>
<a href="<inp2:m_Link template='checkout'/>" class="checkout-grey-button"><span>Checkout</span></a>
</div>
<div class="clear"></div>
<script type="text/javascript">
var $aShopCartManager = new ShopCartManager(
{
updateUrl: '<inp2:m_Link ord_event="OnUpdateCartJSON" currency="selected" pass="m,ord" js_escape="1" no_amp="1"/>',
constants: {
'OrderCheckoutErrorType::PRODUCT': <inp2:m_GetConst name="OrderCheckoutErrorType::PRODUCT"/>,
'OrderCheckoutError::FIELD_UPDATE_SUCCESS': <inp2:m_GetConst name="OrderCheckoutError::FIELD_UPDATE_SUCCESS"/>,
'OrderCheckoutError::FIELD_UPDATE_ERROR': <inp2:m_GetConst name="OrderCheckoutError::FIELD_UPDATE_ERROR"/>,
'OrderCheckoutError::QTY_UNAVAILABLE': <inp2:m_GetConst name="OrderCheckoutError::QTY_UNAVAILABLE"/>,
'OrderCheckoutError::QTY_OUT_OF_STOCK': <inp2:m_GetConst name="OrderCheckoutError::QTY_OUT_OF_STOCK"/>,
'OrderCheckoutError::QTY_CHANGED_TO_MINIMAL': <inp2:m_GetConst name="OrderCheckoutError::QTY_CHANGED_TO_MINIMAL"/>,
'OrderCheckoutErrorType::COUPON': <inp2:m_GetConst name="OrderCheckoutErrorType::COUPON"/>,
'OrderCheckoutError::COUPON_APPLIED': <inp2:m_GetConst name="OrderCheckoutError::COUPON_APPLIED"/>,
'OrderCheckoutError::COUPON_REMOVED': <inp2:m_GetConst name="OrderCheckoutError::COUPON_REMOVED"/>,
'OrderCheckoutError::COUPON_REMOVED_AUTOMATICALLY': <inp2:m_GetConst name="OrderCheckoutError::COUPON_REMOVED_AUTOMATICALLY"/>,
'OrderCheckoutError::COUPON_CODE_INVALID': <inp2:m_GetConst name="OrderCheckoutError::COUPON_CODE_INVALID"/>,
'OrderCheckoutError::COUPON_CODE_EXPIRED': <inp2:m_GetConst name="OrderCheckoutError::COUPON_CODE_EXPIRED"/>,
'OrderCheckoutErrorType::GIFT_CERTIFICATE': <inp2:m_GetConst name="OrderCheckoutErrorType::GIFT_CERTIFICATE"/>,
'OrderCheckoutError::GC_APPLIED': <inp2:m_GetConst name="OrderCheckoutError::GC_APPLIED"/>,
'OrderCheckoutError::GC_REMOVED': <inp2:m_GetConst name="OrderCheckoutError::GC_REMOVED"/>,
'OrderCheckoutError::GC_REMOVED_AUTOMATICALLY': <inp2:m_GetConst name="OrderCheckoutError::GC_REMOVED_AUTOMATICALLY"/>,
'OrderCheckoutError::GC_CODE_INVALID': <inp2:m_GetConst name="OrderCheckoutError::GC_CODE_INVALID"/>,
'OrderCheckoutError::GC_CODE_EXPIRED': <inp2:m_GetConst name="OrderCheckoutError::GC_CODE_EXPIRED"/>,
'OrderCheckoutErrorType::DISCOUNT': <inp2:m_GetConst name="OrderCheckoutErrorType::DISCOUNT"/>,
'OrderCheckoutError::DISCOUNT_APPLIED': <inp2:m_GetConst name="OrderCheckoutError::DISCOUNT_APPLIED"/>,
'OrderCheckoutError::DISCOUNT_REMOVED': <inp2:m_GetConst name="OrderCheckoutError::DISCOUNT_REMOVED"/>,
'PRODUCT_TYPE_TANGIBLE': <inp2:m_GetConst name="PRODUCT_TYPE_TANGIBLE"/>
},
// debugMode: true,
currencyMask: '<inp2:ord_CurrencyMask currency="selected" js_escape="1"/>',
orderInfo: <inp2:ord_PrintOrderInfo currency="selected"/>
}
);
</script>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="cart_empty_element">
<h1>Shopping Cart</h1>
<div class="clear"></div>
<strong><inp2:m_Phrase label="lu_comm_YourCartIsEmpty"/></strong>
</inp2:m_DefineElement>
<inp2:ord_PrintCart item_render_as="cart_item_element" header_render_as="cart_header_element" footer_render_as="cart_footer_element" empty_cart_render_as="cart_empty_element" per_page="-1"/>
</div>
</form>
<textarea id="product-row-mask" style="display: none;">
<tr class="shop-cart-row" row_index="{ROW_INDEX}" order_item_id="{field:OrderItemId}">
<td class="item-img">
<img src="{field:PrimaryImage}" alt=""/>
</td>
<td class="item-title">
<span class="product-with-link" style="display: none;">
<a href="#"></a>
</span>
<span class="product-without-link" style="display: none;"></span>
<span class="free-shipping">
&nbsp;<sup><inp2:m_phrase label="lu_cart_FreeShippingAvailable" /></sup>
</span>
<span class="back-order-mark error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span>
<span class="product-availability" style="display: none;"></span>
<div class="product-discount" style="display: none;">
<inp2:m_Phrase label="lu_comm_RegularPrice" />: <span class="item-price"></span><br />
<inp2:m_Phrase label="lu_comm_Discount" />: <span class="item-discount"></span>
</div>
</td>
<td>
<div class="item-quantity">
<input value="{field:Quantity}" style="width:20px" class="field product-qty" name="<inp2:orditems_InputName field='Quantity' force_id="{field:OrderItemId}"/>" id="<inp2:orditems_InputName field='Quantity' force_id="{field:OrderItemId}"/>" />
<span class="product-qty read-only">{field:Quantity}</span>
</div>
</td>
<td class="price-cell"></td>
<td class="item-total extended-price-cell"></td>
<td>
<a href="#" class="delete-cart-link"><img src="<inp2:m_TemplatesBase/>img/icon-delete.png" width="13" height="13" alt="Delete" /></a>
</td>
</tr>
</textarea>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/receipt.tpl
===================================================================
--- branches/1.0.x/receipt.tpl (nonexistent)
+++ branches/1.0.x/receipt.tpl (revision 14825)
@@ -0,0 +1,139 @@
+<!--##
+<NAME>Receipt</NAME>
+<DESC></DESC>
+<SECTION>Pages||Checkout</SECTION>
+##-->
+
+<inp2:m_DefineElement name="page_title">Your Receipt</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="add_to_head">
+
+</inp2:m_DefineElement>
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+
+ <ul class="steps">
+ <li class="step1"><span><i></i>Shopping Cart</span></li>
+ <li class="step2"><span><i></i>One-step Checkout</span></li>
+ <li class="step3 active"><span><i></i>Receipt</span></li>
+ </ul>
+
+ <div class="clear"></div>
+
+ <div class="cart-detail receipt">
+ <div class="success-order">
+ <p class="links">
+ <a href="javascript:window.print();" class="link-print">Print</a>
+ <a href="" class="link-download">Download</a>
+ </p>
+
+ <div class="clear"></div>
+ <p class="green">Thank you for your order #<inp2:ord_Field field="OrderNumber"/>!</p>
+
+ <p><strong>Below is the receipt / confirmation for your order. Please <a href="">print</a> or <a href="">download</a> it for your records.</strong></p>
+ <p>You will receive a confirmation once the order is approved and/or shipped.<br />Your credit card was authorized for the amount of your order but will not be charged until the order is approved</p>
+ </div>
+ <h1>Order <inp2:ord_Field field="OrderNumber"/></h1>
+ <div class="halfcol">
+ <fieldset>
+ <div class="fieldset">
+ Billing Information
+ </div>
+ <dl class="info">
+ <dt class="label-title">Full Name:</dt>
+ <dd>Bill Smith</dd>
+ <dt class="label-title">Company:</dt>
+ <dd>Intechnic</dd>
+ <dt class="label-title">Address:</dt>
+ <dd>333 East Highway 83, Suite 201, Mundelein, IL, 60060</dd>
+ <dt class="label-title">Phone:</dt>
+ <dd>847-970-6190</dd>
+ </dl>
+ </fieldset>
+ <fieldset class="creditcard">
+ <div class="fieldset">
+ Payment Information
+ </div>
+ <p>Visa XXXX XXXX XXXX 1234</p>
+ </fieldset>
+ </div>
+ <div class="halfcol halfcol-last">
+ <fieldset>
+ <div class="fieldset">
+ <label>Shipping Information</label>
+ </div>
+ <dl class="info">
+ <dt class="label-title">Shipping Type & Cost:</dt>
+ <dd>FedEx Ground (Next Day) $14.00</dd>
+ <dt class="label-title">Full Name:</dt>
+ <dd>Bill Smith</dd>
+ <dt class="label-title">Company:</dt>
+ <dd>Intechnic</dd>
+ <dt class="label-title">Address:</dt>
+ <dd>333 East Highway 83, Suite 201, Mundelein, IL, 60060</dd>
+ </dl>
+ </fieldset>
+ </div>
+ <div class="clear"></div>
+
+ <table class="items">
+ <thead>
+ <tr>
+ <th colspan="2" style="text-align: left;">Items in your order (<inp2:ord_ItemsInCart/>)</th>
+ <th>Qty.</th>
+ <th>Price</th>
+ <th>Total</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="item-img"><img src="<inp2:m_TemplatesBase/>img/samples/good5.jpg" width="58" height="58" alt="" /></td>
+ <td class="item-title">Nikon D5000 Kit 15-18 Digital Camera</td>
+ <td>1</td>
+ <td>$75.00</td>
+ <td>$75.00</td>
+ </tr>
+ <tr>
+ <td class="item-img"><img src="<inp2:m_TemplatesBase/>img/samples/good5.jpg" width="58" height="58" alt="" /></td>
+ <td class="item-title">Nikon D5000 Kit 15-18 Digital Camera</td>
+ <td>1</td>
+ <td>$75.00</td>
+ <td>$75.00</td>
+ </tr>
+ <tr>
+ <td class="item-img"><img src="<inp2:m_TemplatesBase/>img/samples/good5.jpg" width="58" height="58" alt="" /></td>
+ <td class="item-title">Nikon D5000 Kit 15-18 Digital Camera</td>
+ <td>1</td>
+ <td>$75.00</td>
+ <td>$75.00</td>
+ </tr>
+ <tr>
+ <td class="item-img"><img src="<inp2:m_TemplatesBase/>img/samples/good5.jpg" width="58" height="58" alt="" /></td>
+ <td class="item-title">Nikon D5000 Kit 15-18 Digital Camera</td>
+ <td>1</td>
+ <td>$75.00</td>
+ <td>$75.00</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <dl class="total">
+ <dt>Subtotal</dt>
+ <dd>$1,759.99</dd>
+ <dt>Shipping</dt>
+ <dd class="price3">$100.00</dd>
+ <dt>Tax</dt>
+ <dd class="price3">$100.00</dd>
+ <dt>Order Total</dt>
+ <dd class="price4">$1,959.99</dd>
+ </dl>
+ <div class="clear"></div>
+ </div>
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Property changes on: branches/1.0.x/receipt.tpl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property

Event Timeline