

kenhar
Member-
Posts
15 -
Joined
-
Last visited
Everything posted by kenhar
-
Hi, I am using cubecart version 4. in {SHOPPING_CART} {SESSION} code mention in my code but front page in not display cart box. black space only display. So, please help me. Thanks
-
- shopping cart
- session
-
(and 1 more)
Tagged with:
-
How to display shpping price on product content page.
kenhar replied to kenhar's topic in Customising Look & Feel
thank's- 11 replies
-
- cubecart
- content page
-
(and 1 more)
Tagged with:
-
How to display shpping price on product content page.
kenhar replied to kenhar's topic in Customising Look & Feel
Thanks for reply. I know By_Weight record store in CubeCart_modules tables. But i want the admin in set or enter := 1st Class Shipping Rates : 0.25:29,0.5:38,1:49,10:58,30:89 2st Class Shipping Rates : 0:156,5:156,10:188,15:220,20:252,25:284,30:316,40:495,49:795,70:995,100:1495,600:3195 This value how to get in Content.product.php Please help me.- 11 replies
-
- cubecart
- content page
-
(and 1 more)
Tagged with:
-
How to display shpping price on product content page.
kenhar replied to kenhar's topic in Customising Look & Feel
hi, Any idea which place is store shipping by weight data. like: 0.25:29,0.5:38,1:49,10:58,30:89 this data is which place in store in data base or other.- 11 replies
-
- cubecart
- content page
-
(and 1 more)
Tagged with:
-
How to display shpping price on product content page.
kenhar replied to kenhar's topic in Customising Look & Feel
i want dynamic shipping price on product page. check above post link this page in display 29 shipping is static but i want's is dynamic.- 11 replies
-
- cubecart
- content page
-
(and 1 more)
Tagged with:
-
How to display shpping price on product content page.
kenhar replied to kenhar's topic in Customising Look & Feel
hi, particular product page in display shipping price. check this link : http://46.163.115.30/spire-astro-ii-notebookst-tte-for-op-til-15-4.html in this Fragt kun 29 kr 29 is static value define this place in display original shipping price.- 11 replies
-
- cubecart
- content page
-
(and 1 more)
Tagged with:
-
hi, I am using cubecart 5.2.12. In this how to display single product page in shipping price display. Any idea which code add in content.product.php file. Please help me.
- 11 replies
-
- cubecart
- content page
-
(and 1 more)
Tagged with:
-
Thanks it's working.
-
it's disply only text check image. {foreach from=$PRODUCTS item=product} <div id="item"> {$product.quantity} x {$product.name} - {$product.product_code} ({$product.line_formatted}) {if $product.digital}<a href="{$VAL_SELF}&reset_id={$product.id}" />[{$LANG.orders.reset_download_link}]</a>{/if}<span>{$product.price_total_formatted}</span> {if $product.options} <br />{$product.options} {/if} <p> <pre>EAN : {$product.ean} </pre> <pre>Supplier stock(.txt) : {$product.txt_stock}</pre> <pre>office stock(.csv) : {$product.csv_stock}</pre> <pre>Qty : {$product.qty} expacted date : {$product.txt_exdate}</pre> </p> $product['imgURL'] = $GLOBALS['gui']->getProductImage($product['product_id'],'tiny'); {$product.imgURL} </div> {/foreach} check below img: https://www.dropbox.com/s/n176ugy8dvrbtuw/check.png?m=
-
<div>{$LANG.basket.total_sub}:<span>{$OVERVIEW_SUMMARY.subtotal}</span></div> this code to display subtotal. =>but i want product image. Any how to call or connect database in order file any idea about this. i want to run below query but how to connect this database. if (($image = $GLOBALS['db']->select('CubeCart_image_index', 'file_id', array('product_id' => $result['product_id'], 'main_img' => 1))) !== false) { $result['image_path_tiny'] = $catalogue->imagePath($image[0]['file_id'], 'tiny'); $result['image_path_large'] = $catalogue->imagePath($image[0]['file_id'], 'large'); } $result['image_path_tiny'] => this return image path it's use to i am displaying images on order page. please help me.
-
it's not working please help me check my orders.index.php file. => check this and help which place to add code to display product image. <form action="{$VAL_SELF}" method="post" enctype="multipart/form-data"> <!-- title="You have not saved this order yet" --> {if isset($DISPLAY_ORDER_LIST)} <div id="orders" class="tab_content"> <h3>{$LANG.orders.title_orders}</h3> <table class="list"> <thead> <tr> <td> </td> <td nowrap="nowrap">{$THEAD.cart_order_id}</td> <td> </td> <td>{$THEAD.customer}</td> <td nowrap="nowrap">{$THEAD.status}</td> <td>{$THEAD.date}</td> <td>{$THEAD.total}</td> <td> </td> </tr> </thead> <tbody> {if isset($ORDER_LIST)} {foreach from=$ORDER_LIST item=order} <tr> <td align="center"><input type="checkbox" id="" name="multi-order[]" value="{$order.cart_order_id}" class="all-orders" /></td> <td><a href="{$order.link_edit}">{$order.cart_order_id}</a></td> <td align="center"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/{$order.icon}.png" alt="" /></td> <td><a href="{$order.link_customer}" title="{$order.name}">{$order.name}</a></td> <td>{$order.status}</td> <td>{$order.date}</td> <td align="right">{$order.prod_total}</td> <td align="center"> <a href="{$order.link_print}" class="print" title="{$LANG.common.print}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/print.png" alt="{$LANG.common.print}" /></a> <a href="{$order.link_edit}" class="edit" title="{$LANG.common.edit}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/edit.png" alt="{$LANG.common.edit}" /></a> <a href="{$order.link_delete}" class="delete" title="{$LANG.notification.confirm_delete}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" /></a> </td> </tr> {/foreach} {else} <tr> <td colspan="8" align="center"><strong>{$LANG.orders.notify_orders_none}</strong></td> </tr> {/if} </tbody> {if isset($ORDER_LIST)} <tfoot> <tr> <td><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/select_all.gif" alt="" /></td> <td><a href="#" class="check-all" rel="all-orders">{$LANG.form.check_uncheck}</a></td> <td colspan="6"> {$LANG.orders.with_selected}: <select name="multi-status" class="textbox"> <option value="">{$LANG.orders.option_status_no_change}</option> <optgroup label="{$LANG.orders.change_order_status}"> {foreach from=$LIST_ORDER_STATUS item=status}<option value="{$status.id}"{$status.selected}>{$status.string}</option>{/foreach} </optgroup> </select> {$LANG.common.then} <select name="multi-action" class="textbox"> <option value="">{$LANG.orders.option_nothing}</option> <option value="print">{$LANG.orders.option_print}</option> <option value="delete" style="color: red;">{$LANG.orders.option_delete}</option> </select> <input type="submit" value="{$LANG.common.go}" name="go"/> </td> </tr> <tr> <td colspan="8"> <div class="pagination"> <span>{$LANG.common.total}: {$TOTAL_RESULTS}</span> {$PAGINATION} </div> </td> </tr> </tfoot> {/if} </table> </div> <div id="search" class="tab_content"> <fieldset><legend>{$LANG.orders.title_search}</legend> <div><label for="order_no">{$LANG.orders.order_number}</label><span><input type="text" name="search[order_number]" class="textbox" /></span></div> <div> <label for="customer_id">{$LANG.orders.customer_name}</label> <span><input type="text" id="search_customer_id" class="textbox ajax" rel="user" /><input type="hidden" id="result_search_customer_id" name="search[search_customer_id]" value="" /></span> </div> <div> <label for="search_status">{$LANG.orders.title_order_status}</label> <span><select name="search[status]" id="search_status" class="textbox"> <option value="">{$LANG.common.all}</option> {foreach from=$LIST_ORDER_STATUS item=status}<option value="{$status.id}"{$status.selected}>{$status.string}</option>{/foreach} </select></span> </div> </fieldset> <fieldset><legend>{$LANG.search.title_by_date}</legend> <div><label for="date_range">{$LANG.search.date_range}</label><span><input type="text" name="search[date][from]" class="textbox number date" /> - <input type="text" name="search[date][to]" class="textbox number date" /></span></div> </fieldset> <input type="submit" value="{$LANG.common.search}" /> </div> {/if} {if isset($DISPLAY_FORM)} <div> <div id="order_summary" class="tab_content" style="width: 660px;"> <h3>{$LANG.orders.title_order_summary}</h3> <p><a href="?_g=orders&node=index&print[]={$SUMMARY.cart_order_id}" class="print" target="_blank"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/print.png" alt="{$LANG.common.print}" /></a></p> <fieldset><legend>{$LANG.orders.title_status_change}</legend> <div><label for="o_status">{$LANG.orders.title_order_status}</label><span><select name="order[status]" id="o_status"> {foreach from=$LIST_ORDER_STATUS item=status}<option value="{$status.id}"{$status.selected}>{$status.string}</option>{/foreach} </select></span></div> {if isset($DISPLAY_DASHBOARD)} <div> <label for="dashboard">{$LANG.orders.dashboard_show}</label> <span><input type="hidden" name="dashboard" id="dashboard" class="toggle" value="{$SUMMARY.dashboard}" /></span> </div> {/if} </fieldset> {if isset($DISPLAY_OVERVIEW)} {if isset($DISPLAY_COMMENTS)} <div class="note"> <span class="actions"></span> <div class="note-header">{$LANG.orders.note_from} {$OVERVIEW_SUMMARY.first_name} {$OVERVIEW_SUMMARY.last_name}</div> "{$OVERVIEW_SUMMARY.customer_comments}" </div> {/if} <div id="order_overview"> <fieldset class="order_address" id="shipping_address"> <legend>{$LANG.address.delivery_address}</legend> {$OVERVIEW_SUMMARY.name_d}<br /> {if !empty($OVERVIEW_SUMMARY.company_name_d)}{$OVERVIEW_SUMMARY.company_name_d}<br />{/if} {$OVERVIEW_SUMMARY.line1_d}<br /> {if !empty($OVERVIEW_SUMMARY.line2_d)}{$OVERVIEW_SUMMARY.line2_d}<br />{/if} {$OVERVIEW_SUMMARY.town_d}<br /> {$OVERVIEW_SUMMARY.state_d}, {$OVERVIEW_SUMMARY.postcode_d}<br /> {$OVERVIEW_SUMMARY.country_d} </fieldset> <fieldset class="order_address"> <legend>{$LANG.address.billing_address}</legend> {$OVERVIEW_SUMMARY.name}<br /> {if !empty($OVERVIEW_SUMMARY.company_name)}{$OVERVIEW_SUMMARY.company_name}<br />{/if} {$OVERVIEW_SUMMARY.line1}<br /> {if !empty($OVERVIEW_SUMMARY.line2)}{$OVERVIEW_SUMMARY.line2}<br />{/if} {$OVERVIEW_SUMMARY.town}<br /> {$OVERVIEW_SUMMARY.state}, {$OVERVIEW_SUMMARY.postcode}<br /> {$OVERVIEW_SUMMARY.country} </fieldset> <fieldset id="items"><legend>{$LANG.catalogue.title_items}</legend> {foreach from=$PRODUCTS item=product} <div id="item"> {$product.quantity} x {$product.name} - {$product.product_code} ({$product.line_formatted}) {if $product.digital}<a href="{$VAL_SELF}&reset_id={$product.id}" />[{$LANG.orders.reset_download_link}]</a>{/if}<span>{$product.price_total_formatted}</span> {if $product.options} <br />{$product.options} {/if} <p> <pre>EAN : {$product.ean} </pre> <pre>Supplier stock(.txt) : {$product.txt_stock}</pre> <pre>office stock(.csv) : {$product.csv_stock}</pre> <pre>Qty : {$product.qty} expacted date : {$product.txt_exdate}</pre> {$product.type_icon}{$product.type_alt} </p> </div> {/foreach} <div>{$LANG.basket.total_sub}:<span>{$OVERVIEW_SUMMARY.subtotal}</span></div> <div>{$LANG.basket.total_discount} {if !empty($OVERVIEW_SUMMARY.percent)}({$OVERVIEW_SUMMARY.percent}){/if}:<span>{$OVERVIEW_SUMMARY.discount}</span></div> <div>{$LANG.basket.shipping}:<span>{$OVERVIEW_SUMMARY.shipping}</span></div> {if isset($TAX_SUMMARY)} {foreach from=$TAX_SUMMARY item=tax} <div>{$tax.tax_name}:<span>{$tax.tax_amount}</span></div> {/foreach} {/if} <div><strong>{$LANG.basket.total}:<span>{$OVERVIEW_SUMMARY.total}</span></strong></div> </fieldset> <fieldset class="other"><legend>{$LANG.account.contact_details}</legend> <div><label>{$LANG.common.email}</label><span><a href="mailto:{$OVERVIEW_SUMMARY.email}">{$OVERVIEW_SUMMARY.email}</a></span></div> <div><label>{$LANG.address.phone}</label><span>{$OVERVIEW_SUMMARY.phone}</span></div> {if !empty($OVERVIEW_SUMMARY.mobile)} <div><label>{$LANG.address.mobile}</label><span>{$OVERVIEW_SUMMARY.mobile}</span></div> {/if} <div><label>{$LANG.common.ip_address}</label><span>{$OVERVIEW_SUMMARY.ip_address}</span></div> </fieldset> <fieldset class="other"><legend>{$LANG.orders.title_shipping}</legend> <div><label>{$LANG.orders.shipping_date}</label><span>{$OVERVIEW_SUMMARY.ship_date}</span></div> <div><label>{$LANG.orders.shipping_method}</label><span>{$OVERVIEW_SUMMARY.ship_method}</span></div> <div><label>{$LANG.orders.shipping_tracking}</label><span>{$OVERVIEW_SUMMARY.ship_tracking}</span></div> <div><label>{$LANG.orders.gateway_name}</label><span>{$OVERVIEW_SUMMARY.gateway}</span></div> </fieldset> </div> {/if} </div> <div id="order_billing" class="tab_content"> <h3>{$LANG.address.billing_address}</h3> <fieldset><legend>{$LANG.address.billing_address}</legend> <div> <label for="sum_name">{$LANG.orders.title_find_customers}</label> <span> <input type="hidden" id="ajax_customer_id" name="customer[customer_id]" value="{$SUMMARY.customer_id}" /> <input type="text" id="sum_name" class="textbox ajax" rel="user" /> </span> </div> <div> <label for="addresses">{$LANG.address.title_address}</label> <span> <select class="address-list textbox" rel="sum"> <option value="0">{$LANG.address.form_address_select}</option> {if isset($LIST_ADDRESS)}{foreach from=$LIST_ADDRESS item=address}<option value="{$address.key}" class="temporary">{$address.description}</option>{/foreach}{/if} </select> </span> </div> <div><label for="ajax_title">{$LANG.user.title}</label><span><input type="text" id="ajax_title" name="customer[title]" value="{$SUMMARY.title}" class="textbox billing" /></span></div> <div><label for="ajax_first_name">{$LANG.user.name_first}</label><span><input type="text" id="ajax_first_name" name="customer[first_name]" value="{$SUMMARY.first_name}" class="textbox billing required" /></span></div> <div><label for="ajax_last_name">{$LANG.user.name_last}</label><span><input type="text" id="ajax_last_name" name="customer[last_name]" value="{$SUMMARY.last_name}" class="textbox billing required" /></span></div> <div><label for="sum_company_name">{$LANG.address.company_name}</label><span><input type="text" id="sum_company_name" name="customer[company_name]" value="{$SUMMARY.company_name}" class="textbox billing" /></span></div> <div><label for="sum_line1">{$LANG.address.line1}</label><span><input type="text" id="sum_line1" name="customer[line1]" value="{$SUMMARY.line1}" class="textbox billing required" /></span></div> <div><label for="sum_line2">{$LANG.address.line2}</label><span><input type="text" id="sum_line2" name="customer[line2]" value="{$SUMMARY.line2}" class="textbox billing" /></span></div> <div><label for="sum_town">{$LANG.address.town}</label><span><input type="text" id="sum_town" name="customer[town]" value="{$SUMMARY.town}" class="textbox billing required" /></span></div> <div> <label for="sum_country">{$LANG.address.country}</label> <span> <select name="customer[country]" id="sum_country" class="textbox billing country-list required" rel="sum_state"> {foreach from=$LIST_COUNTRY item=country}<option value="{$country.numcode}"{$country.is_billing} {$country.selected}>{$country.name}</option>{/foreach} </select> </span> </div> <div><label for="sum_state">{$LANG.address.state}</label><span><input type="text" id="sum_state" name="customer[state]" value="{$SUMMARY.state}" class="textbox billing state-list required" /></span></div> <div><label for="sum_postcode">{$LANG.address.postcode}</label><span><input type="text" id="sum_postcode" name="customer[postcode]" value="{$SUMMARY.postcode}" class="textbox billing" /></span></div> </fieldset> <fieldset><legend>{$LANG.account.contact_details}</legend> <div><label for="ajax_email">{$LANG.common.email}</label><span><input type="text" id="ajax_email" name="customer" value="{$SUMMARY.email}" class="textbox billing required" /></span></div> <div><label for="ajax_phone">{$LANG.address.phone}</label><span><input type="text" id="ajax_phone" name="customer[phone]" value="{$SUMMARY.phone}" class="textbox billing required" /></span></div> <div><label for="ajax_mobile">{$LANG.address.mobile}</label><span><input type="text" id="ajax_mobile" name="customer[mobile]" value="{$SUMMARY.mobile}" class="textbox billing" /></span></div> </fieldset> </div> <div id="order_delivery" class="tab_content"> <h3>{$LANG.address.delivery_address}</h3> <fieldset><legend>{$LANG.address.delivery_address}</legend> <div> <label for="d_addresses">{$LANG.address.title_address}</label> <span> <select id="d_addresses" class="address-list textbox" rel="d_sum:d_ajax"> <option value="0">{$LANG.address.form_address_select}</option> {if isset($LIST_ADDRESS)}{foreach from=$LIST_ADDRESS item=address}<option value="{$address.key}" class="temporary">{$address.description}</option>{/foreach}{/if} </select> </span> <a href="#" class="duplicate" rel="billing" target="d_">{$LANG.address.copy_from_billing}</a> </div> <div><label for="d_ajax_title">{$LANG.user.title}</label><span><input type="text" id="d_ajax_title" name="customer[title_d]" value="{$SUMMARY.title_d}" class="textbox" /></span></div> <div><label for="d_ajax_first_name">{$LANG.user.name_first}</label><span><input type="text" id="d_ajax_first_name" name="customer[first_name_d]" value="{$SUMMARY.first_name_d}" class="textbox required" /></span></div> <div><label for="d_ajax_last_name">{$LANG.user.name_last}</label><span><input type="text" id="d_ajax_last_name" name="customer[last_name_d]" value="{$SUMMARY.last_name_d}" class="textbox required" /></span></div> <div><label for="d_sum_company_name">{$LANG.address.company_name}</label><span><input type="text" id="d_sum_company_name" name="customer[company_name_d]" value="{$SUMMARY.company_name_d}" class="textbox" /></span></div> <div><label for="d_sum_line1">{$LANG.address.line1}</label><span><input type="text" id="d_sum_line1" name="customer[line1_d]" value="{$SUMMARY.line1_d}" class="textbox required" /></span></div> <div><label for="d_sum_line2">{$LANG.address.line2}</label><span><input type="text" id="d_sum_line2" name="customer[line2_d]" value="{$SUMMARY.line2_d}" class="textbox" /></span></div> <div><label for="d_sum_town">{$LANG.address.town}</label><span><input type="text" id="d_sum_town" name="customer[town_d]" value="{$SUMMARY.town_d}" class="textbox required" /></span></div> <div> <label for="d_sum_country">{$LANG.address.country}</label> <span> <select name="customer[country_d]" id="d_sum_country" class="textbox country-list required" rel="d_sum_state"> {foreach from=$LIST_COUNTRY item=country}<option value="{$country.numcode}"{$country.is_delivery} {$country.selected}>{$country.name}</option>{/foreach} </select> </span> </div> <div><label for="d_sum_state">{$LANG.address.state}</label><span><input type="text" id="d_sum_state" name="customer[state_d]" value="{$SUMMARY.state_d}" class="textbox state-list required" /></span></div> <div><label for="d_sum_postcode">{$LANG.address.postcode}</label><span><input type="text" id="d_sum_postcode" name="customer[postcode_d]" value="{$SUMMARY.postcode_d}" class="textbox required" /></span></div> </fieldset> <fieldset><legend>{$LANG.orders.title_shipping}</legend> <div><label for="sum_ship_date">{$LANG.orders.shipping_date}</label><span><input type="text" id="sum_ship_date" name="summary[ship_date]" value="{$SUMMARY.ship_date}" class="textbox date" /></span></div> <div><label for="sum_ship_method">{$LANG.orders.shipping_method}</label><span><input type="text" id="sum_ship_method" name="summary[ship_method]" value="{$SUMMARY.ship_method}" class="textbox" /></span></div> <div><label for="sum_ship_tracking">{$LANG.orders.shipping_tracking}</label><span><input type="text" id="sum_ship_tracking" name="summary[ship_tracking]" value="{$SUMMARY.ship_tracking}" class="textbox" /></span></div> </fieldset> </div> <div id="order_inventory" class="tab_content"> <h3>{$LANG.orders.title_order_inventory}</h3> <div style="display: none;"> <span class="actions"> <img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" /> </span> </div> <table class="list"> <thead> <tr> <th width="102">{$LANG.common.quantity}</th> <th>{$LANG.catalogue.product_name}</th> <th width="102">{$LANG.common.price_unit}</th> <th width="102">{$LANG.common.price}</th> <th width="20"> </th> </tr> </thead> <tbody id="inventory-list"> {if isset($PRODUCTS)} {foreach from=$PRODUCTS item=product} <tr class="update-subtotal"> <td> <input type="hidden" name="inv[{$product.id}][id]" class="saved" value="{$product.id}" /> <input type="text" name="inv[{$product.id}][quantity]" class="textbox number quantity" value="{$product.quantity}" /> </td> <td><span class="editable" name="inv[{$product.id}][name]">{$product.name}</span></td> <td align="right"><input type="text" name="inv[{$product.id}][price]" class="textbox number-right lineprice" value="{$product.line}" /></td> <td align="right"><input type="text" name="inv[{$product.id}][line_price]" class="textbox number-right subtotal" value="{$product.price_total}" /></td> <td align="center"><a href="#{$product.id}" class="remove" title="{$LANG.notification.confirm_delete}" name="inv_remove" rel="{$PRODUCT.id}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" title="{$LANG.common.delete}" /></a></td> </tr> {/foreach} {/if} </tbody> <tfoot> <tr class="update-subtotal inline-add"> <td><input type="text" class="textbox number quantity" rel="product_quantity" value="1" /></td> <td><input type="hidden" id="ajax_product_id" rel="product_id" /><input type="text" id="ajax_name" class="textbox ajax not-empty" rel="product" /></td> <td><input type="text" id="ajax_price" class="textbox number-right lineprice" rel="price" value="0.00" /></td> <td align="right"><input type="text" rel="line_price" class="textbox number-right subtotal" value="0.00" /></td> <td align="center" class="action"><a href="#" title="{$LANG.common.add}" class="add" target="inventory-list"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/add.png" alt="{$LANG.common.add}" title="{$LANG.common.add}" /></a></td> </tr> <!-- Source for inline adding --> <tr class="update-subtotal inline-source" name="inv_add"> <td><input type="text" rel="product_quantity" class="textbox number quantity" /></td> <td><input type="hidden" rel="product_id" /><input type="hidden" rel="product" /><span rel="product"></span> <span rel="product_options"></span></td> <td><input type="text" rel="price" class="textbox number-right lineprice" /></td> <td><input type="text" rel="line_price" class="textbox number-right subtotal" /></td> <td><span class="action"><a href="#" class="remove dynamic" title="{$LANG.common.decision_remove}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" title="{$LANG.common.delete}" /></a></span></td> </tr> <tr> <th colspan="3">{$LANG.basket.total_sub}</th> <td><input type="text" id="subtotal" name="summary[subtotal]" class="textbox number-right" value="{$SUMMARY.subtotal}" /></td> <td> </td> </tr> <tr class="update-subtotal"> <th colspan="3"> <select name="summary[discount_type]" id="discount_type"> <option value="f" {if $SUMMARY.discount_type == "f"}selected="selected"{/if}>{$LANG.catalogue.discount_price}</option> <option value="p" {if $SUMMARY.discount_type == "p"}selected="selected"{/if}>{$LANG.catalogue.discount_percent}</option> </select> </th> <td><input type="text" id="discount" name="summary[discount]" class="textbox number-right lineprice" value="{$SUMMARY.discount_form}" /></td> <td><span id="discount_percent">{if $SUMMARY.discount_type == "p"}%{/if}</span></td> </tr> <tr class="update-subtotal"> <th colspan="3">{$LANG.basket.shipping}</th> <td><input type="text" id="shipping" name="summary[shipping]" class="textbox number-right lineprice" value="{$SUMMARY.shipping}" /></td> <td> </td> </tr> {if isset($LIST_TAXES)} {foreach from=$LIST_TAXES item=tax} <tr class="update-subtotal"> <th colspan="3">{$tax.type_name}: {$tax.display}</th> <td><input type="text" name="tax[{$tax.id}]" class="textbox number-right tax" value="{$tax.amount}" /></td> <td><a href="#" class="remove" name="tax_remove" rel="{$tax.id}" title=""><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.remove}" title="{$LANG.common.remove}" /></a></td> </tr> {/foreach} {/if} <tr class="inline-source"> <th colspan="3">{$tax.type_name}: {$tax.display}</th> <td><input type="text" name="tax[{$tax.id}]" class="textbox number-right tax" value="{$tax.amount}" /></td> <td><a href="#" class="remove" name="tax_remove" rel="{$tax.id}" title=""><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.remove}" title="{$LANG.common.remove}" /></a></td> </tr> <tr class="inline-add"> <th colspan="3"> <select class="textbox not-empty" rel="tax_id"> <option value="">{$LANG.form.please_select}</option> {if isset($SELECT_TAX)} {foreach from=$SELECT_TAX item=country key=taxes} <optgroup label="{$taxes}"> {foreach from=$country item=tax}<option value="{$tax.id}">{$tax.type_name}: {$tax.display}</option>{/foreach} </optgroup> {/foreach} {/if} </select> </th> <td><input type="text" rel="amount" class="textbox number-right tax not-empty" /></td> <td><a href="#" class="add" target="tax-list"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/add.png" alt="{$LANG.common.add}" title="{$LANG.common.add}" /></a></td> </tr> <!-- Source for inline adding --> <tr class="update-subtotal inline-source" name="tax_add"> <th colspan="3"><input type="hidden" rel="tax_id" /><span rel="tax_id"></span></th> <td><input type="text" rel="amount" class="textbox number-right tax" /></td> <td><a href="#" class="remove dynamic" title=""><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" /></a></td> </tr> <tr> <th colspan="3">{$LANG.basket.total_tax}</th> <td><input type="text" id="total_tax" name="summary[total_tax]" class="textbox number-right" value="{$SUMMARY.total_tax}" /></td> <td> </td> </tr> <!-- Add total tax: read only --> <tr> <th colspan="3">{$LANG.basket.total}</th> <td><input type="text" id="total" name="summary[total]" class="textbox number-right" value="{$SUMMARY.total}" /></td> <td><a href="#" class="refresh"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/arrow_refresh.png" alt="{$LANG.common.refresh}" title="{$LANG.common.refresh}" /></a></td> </tr> </tfoot> </table> </div> <div id="order_notes" class="tab_content"> <h3>{$LANG.orders.title_order_notes}</h3> {if isset($LIST_NOTES)}{foreach from=$LIST_NOTES item=note} <div class="note"> <span class="actions"> <a href="{$note.delete}" class="delete" title="{$LANG.notification.confirm_delete}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" /></a> </span> <div class="note-header">{if !empty($note.author)}{$LANG.dashboard.note_by} {$note.author} - {/if}{$note.time}</div>{$note.content|nl2br} </div> {/foreach} {/if} <fieldset><legend>{$LANG.orders.title_note_add}</legend> <div> <div><label for="note">{$LANG.orders.note_content}</label><span><textarea name="note" class="textbox"></textarea></span></div> <div><label class="spacer"> </label>{$LANG.orders.note_explain_viewable}</div> </div> </fieldset> </div> <div id="order_history" class="tab_content"> <h3>{$LANG.orders.title_order_history}</h3> <table class="list"> <thead> <tr> <td width="150">{$LANG.common.status}</td> <td>{$LANG.common.date_time}</td> </tr> </thead> <tbody> {if isset($LIST_HISTORY)} {foreach from=$LIST_HISTORY item=history} <tr> <td width="200">{$history.status}</td> <td>{$history.updated}</td> </tr> {/foreach} {/if} </tbody> </table> </div> {if isset($DISPLAY_TRANSACTIONS)} <div id="order_transactions" class="tab_content"> <h3>{$LANG.orders.title_transaction_logs}</h3> <table> <thead> <tr> <td>{$LANG.orders.transaction_id}</td> <td>{$LANG.common.status}</td> <td>{$LANG.common.amount}</td> <td>{$LANG.orders.gateway_name}</td> <td>{$LANG.common.date_time}</td> <td>{$LANG.common.notes}</td> {if $DISPLAY_ACTIONS}<td width="60">{$LANG.common.action}</td>{/if} </tr> </thead> <tbody class="list"> {foreach from=$TRANSACTIONS item=transaction} <tr> <td>{$transaction.trans_id}</td> <td align="center">{$transaction.status}</td> <td align="center">{$transaction.amount}</td> <td align="center">{$transaction.gateway}</td> <td align="center">{$transaction.time}</td> <td>{$transaction.notes}</td> {if isset($DISPLAY_ACTIONS)} <td align="center"> {foreach from=$transaction.actions item=action} <a href="{$action.url}" title="{$action.title}" class="delete"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/{$action.icon}" alt="{$action.title}" /></a> {/foreach} </td> {/if} </tr> {/foreach} </tbody> </table> </div> {/if} {if isset($DISPLAY_CARD)} <div id="credit_card" class="tab_content"> <h3>{$LANG.orders.title_card_details}</h3> <fieldset><legend>{$LANG.orders.title_card_details}</legend> {foreach from=$CARD_DATA item=data} <div><label for="{$card}">{$data.name}</label><span><input type="text" name="card[{$card}]" id="{$card}" value="{$data.value}" class="textbox" /></span></div> {/foreach} <div><label for="delete">{$LANG.orders.card_delete}</label><span><a href="{$CARD_DELETE}" class="delete" title="{$LANG.notification.confirm_delete}"><img src="{$SKIN_VARS.admin_folder}/skins/{$SKIN_VARS.skin_folder}/images/delete.png" alt="{$LANG.common.delete}" /></a></span></div> </fieldset> </div> {/if} {if isset($PLUGIN_TABS)} {foreach from=$PLUGIN_TABS item=tab} {$tab} {/foreach} {/if} {include file='templates/element.hook_form_content.php'} <div class="form_control"> <input type="hidden" name="previous-tab" id="previous-tab" /> <input type="hidden" name="cart_order_id" value="{$SUMMARY.cart_order_id}" /> <input type="submit" value="{$LANG.common.save}" /> <input type="submit" name="submit_cont" value="{$LANG.common.save_reload}" /> </div> </div> <script type="text/javascript"> var county_list = {$STATE_JSON};<!-- BEGIN: address_json --> {if $ADDRESS_JSON}var addresses = {$ADDRESS_JSON};<!-- END: address_json -->{/if} </script> {/if} <input type="hidden" name="token" value="{$SESSION_TOKEN}" /> </form>
-
Hi, I am using cubecart 5.2.12. in this admin side order index page in display product images. How to display please help me. check attachment file.
-
thanks reply But how to use this code other file or new created file. i am create new file like hello.php if user is login after run this file display file inner content other wise not display.
-
i am use cubecart 5.2.12 and run one link if user is admin other wise this link not run. how to check user login or not. please help me.
-
How to check cubecart 5 in admin login or not.