Codnitive_Defaultrtl - Version 1.5.01

Version Notes

Please note: first test all modules in a test store then install them on your production. Always create a backup of your store, before any extension installation.

Download this release

Release Info

Developer Hassan Barza
Extension Codnitive_Defaultrtl
Version 1.5.01
Comparing to
See all releases


Version 1.5.01

Files changed (181) hide show
  1. app/code/community/Codnitive/Defaultrtl/Block/Bundle/Catalog/Product/View/Type/Bundle/Option/Checkbox.php +49 -0
  2. app/code/community/Codnitive/Defaultrtl/Block/Bundle/Catalog/Product/View/Type/Bundle/Option/Radio.php +54 -0
  3. app/code/community/Codnitive/Defaultrtl/Block/Catalog/Product/View/Options/Type/Date.php +69 -0
  4. app/code/community/Codnitive/Defaultrtl/Block/Catalog/Product/View/Options/Type/Select.php +141 -0
  5. app/code/community/Codnitive/Defaultrtl/Helper/Data.php +17 -0
  6. app/code/community/Codnitive/Defaultrtl/Model/Config.php +44 -0
  7. app/code/community/Codnitive/Defaultrtl/etc/config.xml +142 -0
  8. app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Contact.php +36 -0
  9. app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/ECD.php +26 -0
  10. app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Extensions/List.php +56 -0
  11. app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/PCD.php +26 -0
  12. app/code/local/Codnitive/Codall/Helper/Data.php +25 -0
  13. app/code/local/Codnitive/Codall/etc/adminhtml.xml +48 -0
  14. app/code/local/Codnitive/Codall/etc/config.xml +106 -0
  15. app/code/local/Codnitive/Codall/etc/system.xml +64 -0
  16. app/design/frontend/default/default_rtl/layout/defaultrtl.xml +32 -0
  17. app/design/frontend/default/default_rtl/template/bundle/sales/order/creditmemo/items/renderer.phtml +328 -0
  18. app/design/frontend/default/default_rtl/template/bundle/sales/order/invoice/items/renderer.phtml +352 -0
  19. app/design/frontend/default/default_rtl/template/bundle/sales/order/items/renderer.phtml +375 -0
  20. app/design/frontend/default/default_rtl/template/bundle/sales/order/shipment/items/renderer.phtml +111 -0
  21. app/design/frontend/default/default_rtl/template/catalog/layer/filter.phtml +46 -0
  22. app/design/frontend/default/default_rtl/template/catalog/product/view/addtocart.phtml +38 -0
  23. app/design/frontend/default/default_rtl/template/catalog/product/view/options/type/date.phtml +92 -0
  24. app/design/frontend/default/default_rtl/template/catalog/product/view/tierprices.phtml +181 -0
  25. app/design/frontend/default/default_rtl/template/checkout/cart/sidebar/default.phtml +135 -0
  26. app/design/frontend/default/default_rtl/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml +307 -0
  27. app/design/frontend/default/default_rtl/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml +307 -0
  28. app/design/frontend/default/default_rtl/template/downloadable/sales/order/items/renderer/downloadable.phtml +329 -0
  29. app/design/frontend/default/default_rtl/template/newsletter/subscribe.phtml +62 -0
  30. app/design/frontend/default/default_rtl/template/page/html/footer.phtml +34 -0
  31. app/design/frontend/default/default_rtl/template/page/html/pager.phtml +124 -0
  32. app/design/frontend/default/default_rtl/template/sales/order/creditmemo/items.phtml +65 -0
  33. app/design/frontend/default/default_rtl/template/sales/order/creditmemo/items/renderer/default.phtml +298 -0
  34. app/design/frontend/default/default_rtl/template/sales/order/invoice/items.phtml +61 -0
  35. app/design/frontend/default/default_rtl/template/sales/order/invoice/items/renderer/default.phtml +295 -0
  36. app/design/frontend/default/default_rtl/template/sales/order/items.phtml +69 -0
  37. app/design/frontend/default/default_rtl/template/sales/order/items/renderer/default.phtml +323 -0
  38. app/design/frontend/default/default_rtl/template/sales/order/print.phtml +85 -0
  39. app/design/frontend/default/default_rtl/template/sales/order/print/creditmemo.phtml +98 -0
  40. app/design/frontend/default/default_rtl/template/sales/order/print/invoice.phtml +94 -0
  41. app/design/frontend/default/default_rtl/template/sales/order/print/shipment.phtml +97 -0
  42. app/design/frontend/default/default_rtl/template/sales/order/shipment/items.phtml +89 -0
  43. app/design/frontend/default/default_rtl/template/sales/order/shipment/items/renderer/default.phtml +61 -0
  44. app/etc/modules/Codnitive_Codall.xml +33 -0
  45. app/etc/modules/Codnitive_Defaultrtl.xml +32 -0
  46. app/locale/en_US/Codnitive_Codall.csv +3 -0
  47. app/locale/fa_IR/Codnitive_Codall.csv +3 -0
  48. package.xml +18 -0
  49. skin/frontend/default/default_rtl/css/print.css +33 -0
  50. skin/frontend/default/default_rtl/css/styles-aie.css +70 -0
  51. skin/frontend/default/default_rtl/css/styles-ie.css +284 -0
  52. skin/frontend/default/default_rtl/css/styles-ie9.css +25 -0
  53. skin/frontend/default/default_rtl/css/styles.css +1790 -0
  54. skin/frontend/default/default_rtl/css/widgets.css +95 -0
  55. skin/frontend/default/default_rtl/images/best_selling_tr_even_bg.gif +0 -0
  56. skin/frontend/default/default_rtl/images/best_selling_tr_odd_bg.gif +0 -0
  57. skin/frontend/default/default_rtl/images/bkg_account_box.gif +0 -0
  58. skin/frontend/default/default_rtl/images/bkg_block-actions.gif +0 -0
  59. skin/frontend/default/default_rtl/images/bkg_block-currency.gif +0 -0
  60. skin/frontend/default/default_rtl/images/bkg_block-layered-dd.gif +0 -0
  61. skin/frontend/default/default_rtl/images/bkg_block-layered-dt.gif +0 -0
  62. skin/frontend/default/default_rtl/images/bkg_block-layered-label.gif +0 -0
  63. skin/frontend/default/default_rtl/images/bkg_block-layered-li.gif +0 -0
  64. skin/frontend/default/default_rtl/images/bkg_block-layered-title.gif +0 -0
  65. skin/frontend/default/default_rtl/images/bkg_block-layered1.gif +0 -0
  66. skin/frontend/default/default_rtl/images/bkg_block-title-account.gif +0 -0
  67. skin/frontend/default/default_rtl/images/bkg_block-title.gif +0 -0
  68. skin/frontend/default/default_rtl/images/bkg_body.gif +0 -0
  69. skin/frontend/default/default_rtl/images/bkg_buttons-set1.gif +0 -0
  70. skin/frontend/default/default_rtl/images/bkg_checkout.gif +0 -0
  71. skin/frontend/default/default_rtl/images/bkg_collapse-gm.gif +0 -0
  72. skin/frontend/default/default_rtl/images/bkg_collapse.gif +0 -0
  73. skin/frontend/default/default_rtl/images/bkg_divider1.gif +0 -0
  74. skin/frontend/default/default_rtl/images/bkg_form-search.gif +0 -0
  75. skin/frontend/default/default_rtl/images/bkg_grand-total.gif +0 -0
  76. skin/frontend/default/default_rtl/images/bkg_grid.gif +0 -0
  77. skin/frontend/default/default_rtl/images/bkg_header.jpg +0 -0
  78. skin/frontend/default/default_rtl/images/bkg_login-box.gif +0 -0
  79. skin/frontend/default/default_rtl/images/bkg_main1.gif +0 -0
  80. skin/frontend/default/default_rtl/images/bkg_main2.gif +0 -0
  81. skin/frontend/default/default_rtl/images/bkg_nav0.jpg +0 -0
  82. skin/frontend/default/default_rtl/images/bkg_nav1.gif +0 -0
  83. skin/frontend/default/default_rtl/images/bkg_nav2.gif +0 -0
  84. skin/frontend/default/default_rtl/images/bkg_opc-title-off.gif +0 -0
  85. skin/frontend/default/default_rtl/images/bkg_pipe1.gif +0 -0
  86. skin/frontend/default/default_rtl/images/bkg_pipe2.gif +0 -0
  87. skin/frontend/default/default_rtl/images/bkg_pipe3.gif +0 -0
  88. skin/frontend/default/default_rtl/images/bkg_product-view.gif +0 -0
  89. skin/frontend/default/default_rtl/images/bkg_product_collateral.gif +0 -0
  90. skin/frontend/default/default_rtl/images/bkg_rating.gif +0 -0
  91. skin/frontend/default/default_rtl/images/bkg_sp-methods.gif +0 -0
  92. skin/frontend/default/default_rtl/images/bkg_tfoot.gif +0 -0
  93. skin/frontend/default/default_rtl/images/bkg_th-v.gif +0 -0
  94. skin/frontend/default/default_rtl/images/bkg_th.gif +0 -0
  95. skin/frontend/default/default_rtl/images/bkg_toolbar.gif +0 -0
  96. skin/frontend/default/default_rtl/images/btn_checkout.gif +0 -0
  97. skin/frontend/default/default_rtl/images/btn_edit.gif +0 -0
  98. skin/frontend/default/default_rtl/images/btn_gm-close.gif +0 -0
  99. skin/frontend/default/default_rtl/images/btn_google_checkout.gif +0 -0
  100. skin/frontend/default/default_rtl/images/btn_paypal_checkout.gif +0 -0
  101. skin/frontend/default/default_rtl/images/btn_place_order.gif +0 -0
  102. skin/frontend/default/default_rtl/images/btn_proceed_to_checkout.gif +0 -0
  103. skin/frontend/default/default_rtl/images/btn_proceed_to_checkout_dis.gif +0 -0
  104. skin/frontend/default/default_rtl/images/btn_remove.gif +0 -0
  105. skin/frontend/default/default_rtl/images/btn_remove2.gif +0 -0
  106. skin/frontend/default/default_rtl/images/btn_search.gif +0 -0
  107. skin/frontend/default/default_rtl/images/btn_trash.gif +0 -0
  108. skin/frontend/default/default_rtl/images/btn_window_close.gif +0 -0
  109. skin/frontend/default/default_rtl/images/calendar.gif +0 -0
  110. skin/frontend/default/default_rtl/images/cvv.gif +0 -0
  111. skin/frontend/default/default_rtl/images/cvv.jpg +0 -0
  112. skin/frontend/default/default_rtl/images/fam_book_open.png +0 -0
  113. skin/frontend/default/default_rtl/images/footer_copyright_logo.png +0 -0
  114. skin/frontend/default/default_rtl/images/grid-cal.gif +0 -0
  115. skin/frontend/default/default_rtl/images/i_arrow-top.gif +0 -0
  116. skin/frontend/default/default_rtl/images/i_asc_arrow.gif +0 -0
  117. skin/frontend/default/default_rtl/images/i_availability_only.gif +0 -0
  118. skin/frontend/default/default_rtl/images/i_availability_only_arrow.gif +0 -0
  119. skin/frontend/default/default_rtl/images/i_block-cart.gif +0 -0
  120. skin/frontend/default/default_rtl/images/i_block-currency.gif +0 -0
  121. skin/frontend/default/default_rtl/images/i_block-list.gif +0 -0
  122. skin/frontend/default/default_rtl/images/i_block-poll.gif +0 -0
  123. skin/frontend/default/default_rtl/images/i_block-related.gif +0 -0
  124. skin/frontend/default/default_rtl/images/i_block-subscribe.gif +0 -0
  125. skin/frontend/default/default_rtl/images/i_block-tags.gif +0 -0
  126. skin/frontend/default/default_rtl/images/i_block-viewed.gif +0 -0
  127. skin/frontend/default/default_rtl/images/i_block-wishlist.gif +0 -0
  128. skin/frontend/default/default_rtl/images/i_desc_arrow.gif +0 -0
  129. skin/frontend/default/default_rtl/images/i_discount.gif +0 -0
  130. skin/frontend/default/default_rtl/images/i_folder-table.gif +0 -0
  131. skin/frontend/default/default_rtl/images/i_ma-info.gif +0 -0
  132. skin/frontend/default/default_rtl/images/i_ma-reviews.gif +0 -0
  133. skin/frontend/default/default_rtl/images/i_ma-tags.gif +0 -0
  134. skin/frontend/default/default_rtl/images/i_msg-error.gif +0 -0
  135. skin/frontend/default/default_rtl/images/i_msg-note.gif +0 -0
  136. skin/frontend/default/default_rtl/images/i_msg-success.gif +0 -0
  137. skin/frontend/default/default_rtl/images/i_notice.gif +0 -0
  138. skin/frontend/default/default_rtl/images/i_page1.gif +0 -0
  139. skin/frontend/default/default_rtl/images/i_page2.gif +0 -0
  140. skin/frontend/default/default_rtl/images/i_pager-next.gif +0 -0
  141. skin/frontend/default/default_rtl/images/i_pager-prev.gif +0 -0
  142. skin/frontend/default/default_rtl/images/i_print.gif +0 -0
  143. skin/frontend/default/default_rtl/images/i_rss-big.png +0 -0
  144. skin/frontend/default/default_rtl/images/i_rss.gif +0 -0
  145. skin/frontend/default/default_rtl/images/i_search_criteria.gif +0 -0
  146. skin/frontend/default/default_rtl/images/i_shipping.gif +0 -0
  147. skin/frontend/default/default_rtl/images/i_tag_add.gif +0 -0
  148. skin/frontend/default/default_rtl/images/i_tier.gif +0 -0
  149. skin/frontend/default/default_rtl/images/i_type_grid.gif +0 -0
  150. skin/frontend/default/default_rtl/images/i_type_list.gif +0 -0
  151. skin/frontend/default/default_rtl/images/logo.gif +0 -0
  152. skin/frontend/default/default_rtl/images/logo_email.gif +0 -0
  153. skin/frontend/default/default_rtl/images/logo_print.gif +0 -0
  154. skin/frontend/default/default_rtl/images/magnifier_handle.gif +0 -0
  155. skin/frontend/default/default_rtl/images/np_cart_thumb.gif +0 -0
  156. skin/frontend/default/default_rtl/images/np_more_img.gif +0 -0
  157. skin/frontend/default/default_rtl/images/np_product_main.gif +0 -0
  158. skin/frontend/default/default_rtl/images/np_thumb.gif +0 -0
  159. skin/frontend/default/default_rtl/images/np_thumb2.gif +0 -0
  160. skin/frontend/default/default_rtl/images/opc-ajax-loader.gif +0 -0
  161. skin/frontend/default/default_rtl/images/pager_arrow_left.gif +0 -0
  162. skin/frontend/default/default_rtl/images/pager_arrow_right.gif +0 -0
  163. skin/frontend/default/default_rtl/images/product_zoom_overlay_magnif.gif +0 -0
  164. skin/frontend/default/default_rtl/images/slider_bg.gif +0 -0
  165. skin/frontend/default/default_rtl/images/slider_btn_zoom_in.gif +0 -0
  166. skin/frontend/default/default_rtl/images/slider_btn_zoom_out.gif +0 -0
  167. skin/frontend/default/default_rtl/images/spacer.gif +0 -0
  168. skin/frontend/default/default_rtl/images/validation_advice_bg.gif +0 -0
  169. skin/frontend/default/default_rtl/images/widgets/i_block-list.gif +0 -0
  170. skin/frontend/default/default_rtl/images/widgets/i_widget-link.gif +0 -0
  171. skin/frontend/default/default_rtl/images/widgets/i_widget-new.gif +0 -0
  172. skin/frontend/default/default_rtl/images/xmlconnect/catalog/category/placeholder/image.jpg +0 -0
  173. skin/frontend/default/default_rtl/images/xmlconnect/catalog/category/placeholder/small_image.jpg +0 -0
  174. skin/frontend/default/default_rtl/images/xmlconnect/catalog/category/placeholder/thumbnail.jpg +0 -0
  175. skin/frontend/default/default_rtl/images/xmlconnect/tab_account.png +0 -0
  176. skin/frontend/default/default_rtl/images/xmlconnect/tab_cart.png +0 -0
  177. skin/frontend/default/default_rtl/images/xmlconnect/tab_home.png +0 -0
  178. skin/frontend/default/default_rtl/images/xmlconnect/tab_more.png +0 -0
  179. skin/frontend/default/default_rtl/images/xmlconnect/tab_page.png +0 -0
  180. skin/frontend/default/default_rtl/images/xmlconnect/tab_search.png +0 -0
  181. skin/frontend/default/default_rtl/images/xmlconnect/tab_shop.png +0 -0
app/code/community/Codnitive/Defaultrtl/Block/Bundle/Catalog/Product/View/Type/Bundle/Option/Checkbox.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
11
+ * versions in the future. If you wish to customize Magento for your
12
+ * needs please refer to http://www.magentocommerce.com for more information.
13
+ *
14
+ * @category Codnitive
15
+ * @package Codnitive_Defaultrtl
16
+ * @author Hassan Barza <support@codnitive.com>
17
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
18
+ */
19
+
20
+
21
+ /**
22
+ * Bundle option renderer
23
+ *
24
+ * @category Codnitive
25
+ * @package Codnitive_Defaultrtl
26
+ * @author Hassan Barza <support@codnitive.com>
27
+ */
28
+ class Codnitive_Defaultrtl_Block_Bundle_Catalog_Product_View_Type_Bundle_Option_Checkbox
29
+ extends Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Checkbox
30
+ {
31
+ public function getSelectionQtyTitlePrice($_selection, $includeContainer = true)
32
+ {
33
+ $config = Mage::getModel('defaultrtl/config');
34
+ if (!$config->isSetTemplate()) {
35
+ return parent::getSelectionQtyTitlePrice($_selection, $includeContainer);
36
+ }
37
+
38
+ $price = $this->getProduct()->getPriceModel()->getSelectionPreFinalPrice($this->getProduct(), $_selection);
39
+ $this->setFormatProduct($_selection);
40
+ $priceTitle = '<span class="bundle-option-title"><span class="bundle-option-title">' . $_selection->getSelectionQty()*1 . '&nbsp;x&nbsp;</span>' . $_selection->getName() . '</span>';
41
+
42
+ $priceTitle .= ' &nbsp; ' . ($includeContainer ? '<span class="price-notice">' : '')
43
+ . '+' . $this->formatPriceString($price, $includeContainer)
44
+ . ($includeContainer ? '</span>' : '');
45
+
46
+ return $priceTitle;
47
+ }
48
+
49
+ }
app/code/community/Codnitive/Defaultrtl/Block/Bundle/Catalog/Product/View/Type/Bundle/Option/Radio.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
11
+ * versions in the future. If you wish to customize Magento for your
12
+ * needs please refer to http://www.magentocommerce.com for more information.
13
+ *
14
+ * @category Codnitive
15
+ * @package Codnitive_Defaultrtl
16
+ * @author Hassan Barza <support@codnitive.com>
17
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
18
+ */
19
+
20
+
21
+ /**
22
+ * Bundle option renderer
23
+ *
24
+ * @category Codnitive
25
+ * @package Codnitive_Defaultrtl
26
+ * @author Hassan Barza <support@codnitive.com>
27
+ */
28
+ class Codnitive_Defaultrtl_Block_Bundle_Catalog_Product_View_Type_Bundle_Option_Radio
29
+ extends Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Radio
30
+ {
31
+ /**
32
+ * Get title price for selection product
33
+ *
34
+ * @param Mage_Catalog_Model_Product $_selection
35
+ * @param bool $includeContainer
36
+ * @return string
37
+ */
38
+ public function getSelectionTitlePrice($_selection, $includeContainer = true)
39
+ {
40
+ $config = Mage::getModel('defaultrtl/config');
41
+ if (!$config->isSetTemplate()) {
42
+ return parent::getSelectionTitlePrice($_selection, $includeContainer);
43
+ }
44
+
45
+ $price = $this->getProduct()->getPriceModel()->getSelectionPreFinalPrice($this->getProduct(), $_selection, 1);
46
+ $this->setFormatProduct($_selection);
47
+ $priceTitle = '<span class="bundle-option-title">' . $_selection->getName() . '</span>';
48
+ $priceTitle .= ' &nbsp; ' . ($includeContainer ? '<span class="price-notice">' : '')
49
+ . '+' . $this->formatPriceString($price, $includeContainer)
50
+ . ($includeContainer ? '</span>' : '');
51
+ return $priceTitle;
52
+ }
53
+
54
+ }
app/code/community/Codnitive/Defaultrtl/Block/Catalog/Product/View/Options/Type/Date.php ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
11
+ * versions in the future. If you wish to customize Magento for your
12
+ * needs please refer to http://www.magentocommerce.com for more information.
13
+ *
14
+ * @category Codnitive
15
+ * @package Codnitive_Defaultrtl
16
+ * @author Hassan Barza <support@codnitive.com>
17
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
18
+ */
19
+
20
+
21
+ /**
22
+ * Product options text type block
23
+ *
24
+ * @category Design
25
+ * @package Codnitive_Defaultrtl
26
+ * @author Hassan Barza <h.barza@gmail.com>
27
+ */
28
+ class Codnitive_Defaultrtl_Block_Catalog_Product_View_Options_Type_Date extends Mage_Catalog_Block_Product_View_Options_Type_Date
29
+ {
30
+ /**
31
+ * HTML select element
32
+ *
33
+ * @param string $name Id/name of html select element
34
+ * @return Mage_Core_Block_Html_Select
35
+ */
36
+ protected function _getHtmlSelect($name, $value = null)
37
+ {
38
+ $config = Mage::getModel('defaultrtl/config');
39
+ if (!$config->isSetTemplate()) {
40
+ return parent::_getHtmlSelect($name, $value);
41
+ }
42
+
43
+ $option = $this->getOption();
44
+
45
+ // $require = $this->getOption()->getIsRequire() ? ' required-entry' : '';
46
+ $require = '';
47
+ $select = $this->getLayout()->createBlock('core/html_select')
48
+ ->setId('options_' . $this->getOption()->getId() . '_' . $name)
49
+ ->setClass('product-custom-option datetime-picker ' . $name . $require)
50
+ ->setExtraParams()
51
+ ->setName('options[' . $option->getId() . '][' . $name . ']');
52
+
53
+ $extraParams = 'style="width:auto"';
54
+ if (!$this->getSkipJsReloadPrice()) {
55
+ $extraParams .= ' onchange="opConfig.reloadPrice()"';
56
+ }
57
+ $select->setExtraParams($extraParams);
58
+
59
+ if (is_null($value)) {
60
+ $value = $this->getProduct()->getPreconfiguredValues()->getData('options/' . $option->getId() . '/' . $name);
61
+ }
62
+ if (!is_null($value)) {
63
+ $select->setValue($value);
64
+ }
65
+
66
+ return $select;
67
+ }
68
+
69
+ }
app/code/community/Codnitive/Defaultrtl/Block/Catalog/Product/View/Options/Type/Select.php ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
11
+ * versions in the future. If you wish to customize Magento for your
12
+ * needs please refer to http://www.magentocommerce.com for more information.
13
+ *
14
+ * @category Codnitive
15
+ * @package Codnitive_Defaultrtl
16
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
17
+ */
18
+
19
+
20
+ /**
21
+ * Product options text type block
22
+ *
23
+ * @category Codnitive
24
+ * @package Codnitive_Defaultrtl
25
+ * @author Magento Core Team <core@magentocommerce.com>
26
+ */
27
+ class Codnitive_Defaultrtl_Block_Catalog_Product_View_Options_Type_Select
28
+ extends Mage_Catalog_Block_Product_View_Options_Type_Select
29
+ {
30
+ /**
31
+ * Return html for control element
32
+ *
33
+ * @return string
34
+ */
35
+ public function getValuesHtml()
36
+ {
37
+ $config = Mage::getModel('defaultrtl/config');
38
+ if (!$config->isSetTemplate()) {
39
+ return parent::getValuesHtml();
40
+ }
41
+
42
+ $_option = $this->getOption();
43
+ $configValue = $this->getProduct()->getPreconfiguredValues()->getData('options/' . $_option->getId());
44
+ $store = $this->getProduct()->getStore();
45
+
46
+ if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DROP_DOWN
47
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_MULTIPLE) {
48
+ $require = ($_option->getIsRequire()) ? ' required-entry' : '';
49
+ $extraParams = '';
50
+ $select = $this->getLayout()->createBlock('core/html_select')
51
+ ->setData(array(
52
+ 'id' => 'select_'.$_option->getId(),
53
+ 'class' => $require.' product-custom-option'
54
+ ));
55
+ if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DROP_DOWN) {
56
+ $select->setName('options['.$_option->getid().']')
57
+ ->addOption('', $this->__('-- Please Select --'));
58
+ } else {
59
+ $select->setName('options['.$_option->getid().'][]');
60
+ $select->setClass('multiselect'.$require.' product-custom-option');
61
+ }
62
+ foreach ($_option->getValues() as $_value) {
63
+ $priceStr = $this->_formatPrice(array(
64
+ 'is_percent' => ($_value->getPriceType() == 'percent') ? true : false,
65
+ 'pricing_value' => $_value->getPrice(true)
66
+ ), false);
67
+ $select->addOption(
68
+ $_value->getOptionTypeId(),
69
+ $_value->getTitle() . ' ' . $priceStr . '',
70
+ array('price' => $this->helper('core')->currencyByStore($_value->getPrice(true), $store, false))
71
+ );
72
+ }
73
+ if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_MULTIPLE) {
74
+ $extraParams = ' multiple="multiple"';
75
+ }
76
+ if (!$this->getSkipJsReloadPrice()) {
77
+ $extraParams .= ' onchange="opConfig.reloadPrice()"';
78
+ }
79
+ $select->setExtraParams($extraParams);
80
+
81
+ if ($configValue) {
82
+ $select->setValue($configValue);
83
+ }
84
+
85
+ return $select->getHtml();
86
+ }
87
+
88
+ if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO
89
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX
90
+ ) {
91
+ $selectHtml = '<ul id="options-'.$_option->getId().'-list" class="options-list">';
92
+ $require = ($_option->getIsRequire()) ? ' validate-one-required-by-name' : '';
93
+ $arraySign = '';
94
+ switch ($_option->getType()) {
95
+ case Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO:
96
+ $type = 'radio';
97
+ $class = 'radio';
98
+ if (!$_option->getIsRequire()) {
99
+ $selectHtml .= '<li><input type="radio" id="options_'.$_option->getId().'" class="'.$class.' product-custom-option" name="options['.$_option->getId().']"' . ($this->getSkipJsReloadPrice() ? '' : ' onclick="opConfig.reloadPrice()"') . ' value="" checked="checked" /><span class="label"><label for="options_'.$_option->getId().'">' . $this->__('None') . '</label></span></li>';
100
+ }
101
+ break;
102
+ case Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX:
103
+ $type = 'checkbox';
104
+ $class = 'checkbox';
105
+ $arraySign = '[]';
106
+ break;
107
+ }
108
+ $count = 1;
109
+ foreach ($_option->getValues() as $_value) {
110
+ $count++;
111
+
112
+ $priceStr = $this->_formatPrice(array(
113
+ 'is_percent' => ($_value->getPriceType() == 'percent') ? true : false,
114
+ 'pricing_value' => $_value->getPrice(true)
115
+ ));
116
+
117
+ $htmlValue = $_value->getOptionTypeId();
118
+ if ($arraySign) {
119
+ $checked = (is_array($configValue) && in_array($htmlValue, $configValue)) ? 'checked' : '';
120
+ } else {
121
+ $checked = $configValue == $htmlValue ? 'checked' : '';
122
+ }
123
+
124
+ $selectHtml .= '<li>' .
125
+ '<input type="'.$type.'" class="'.$class.' '.$require.' product-custom-option"' . ($this->getSkipJsReloadPrice() ? '' : ' onclick="opConfig.reloadPrice()"') . ' name="options['.$_option->getId().']'.$arraySign.'" id="options_'.$_option->getId().'_'.$count.'" value="' . $htmlValue . '" ' . $checked . ' price="' . $this->helper('core')->currencyByStore($_value->getPrice(true), $store, false) . '" />' .
126
+ '<span class="label"><label for="options_'.$_option->getId().'_'.$count.'"><span class="product-option-title">'.$_value->getTitle().'</span> '.$priceStr.'</label></span>';
127
+ if ($_option->getIsRequire()) {
128
+ $selectHtml .= '<script type="text/javascript">' .
129
+ '$(\'options_'.$_option->getId().'_'.$count.'\').advaiceContainer = \'options-'.$_option->getId().'-container\';' .
130
+ '$(\'options_'.$_option->getId().'_'.$count.'\').callbackFunction = \'validateOptionsCallback\';' .
131
+ '</script>';
132
+ }
133
+ $selectHtml .= '</li>';
134
+ }
135
+ $selectHtml .= '</ul>';
136
+
137
+ return $selectHtml;
138
+ }
139
+ }
140
+
141
+ }
app/code/community/Codnitive/Defaultrtl/Helper/Data.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ *
8
+ * @category Codnitive
9
+ * @package Codnitive_Defaultrtl
10
+ * @author Hassan Barza <support@codnitive.com>
11
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
12
+ */
13
+
14
+ class Codnitive_Defaultrtl_Helper_Data extends Mage_Core_Helper_Data
15
+ {
16
+
17
+ }
app/code/community/Codnitive/Defaultrtl/Model/Config.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
11
+ * versions in the future. If you wish to customize Magento for your
12
+ * needs please refer to http://www.magentocommerce.com for more information.
13
+ *
14
+ * @category Codnitive
15
+ * @package Codnitive_Defaultrtl
16
+ * @author Hassan Barza <support@codnitive.com>
17
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
18
+ */
19
+
20
+
21
+ /**
22
+ * Catalog category
23
+ *
24
+ * @category Design
25
+ * @package Codnitive_Defaultrtl
26
+ * @author Hassan Barza <h.barza@gmail.com>
27
+ */
28
+ class Codnitive_Defaultrtl_Model_Config
29
+ {
30
+ /**
31
+ * Check for theme is set or not
32
+ *
33
+ * @return boolean
34
+ */
35
+ public function isSetTemplate()
36
+ {
37
+ $template = Mage::getStoreConfig('design/theme/template');
38
+ if ($template === 'default_rtl') {
39
+ return true;
40
+ }
41
+ return false;
42
+ }
43
+
44
+ }
app/code/community/Codnitive/Defaultrtl/etc/config.xml ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
12
+ * versions in the future. If you wish to customize Magento for your
13
+ * needs please refer to http://www.magentocommerce.com for more information.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Defaultrtl
17
+ * @author Hassan Barza <support@codnitive.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ */
20
+ -->
21
+ <config>
22
+ <modules>
23
+ <Codnitive_Defaultrtl>
24
+ <version>1.5.01</version>
25
+ <title>RtL Default Theme</title>
26
+ <link><![CDATA[http://www.codnitive.com/]]>
27
+ </link>
28
+ </Codnitive_Defaultrtl>
29
+ </modules>
30
+ <global>
31
+ <models>
32
+ <defaultrtl>
33
+ <class>Codnitive_Defaultrtl_Model</class>
34
+ </defaultrtl>
35
+ </models>
36
+ <helpers>
37
+ <defaultrtl>
38
+ <class>Codnitive_Defaultrtl_Helper</class>
39
+ </defaultrtl>
40
+ </helpers>
41
+ <resources>
42
+ <defaultrtl_setup>
43
+ <setup>
44
+ <module>Codnitive_Defaultrtl</module>
45
+ </setup>
46
+ <connection>
47
+ <use>core_setup</use>
48
+ </connection>
49
+ </defaultrtl_setup>
50
+ <defaultrtl_write>
51
+ <connection>
52
+ <use>core_write</use>
53
+ </connection>
54
+ </defaultrtl_write>
55
+ <defaultrtl_read>
56
+ <connection>
57
+ <use>core_read</use>
58
+ </connection>
59
+ </defaultrtl_read>
60
+ </resources>
61
+ <blocks>
62
+ <bundle>
63
+ <rewrite>
64
+ <catalog_product_view_type_bundle_option_checkbox>Codnitive_Defaultrtl_Block_Bundle_Catalog_Product_View_Type_Bundle_Option_Checkbox</catalog_product_view_type_bundle_option_checkbox>
65
+ <catalog_product_view_type_bundle_option_radio>Codnitive_Defaultrtl_Block_Bundle_Catalog_Product_View_Type_Bundle_Option_Radio</catalog_product_view_type_bundle_option_radio>
66
+ </rewrite>
67
+ </bundle>
68
+ <catalog>
69
+ <rewrite>
70
+ <product_view_options_type_date>Codnitive_Defaultrtl_Block_Catalog_Product_View_Options_Type_Date</product_view_options_type_date>
71
+ <product_view_options_type_select>Codnitive_Defaultrtl_Block_Catalog_Product_View_Options_Type_Select</product_view_options_type_select>
72
+ </rewrite>
73
+ </catalog>
74
+ <defaultrtl>
75
+ <class>Codnitive_Defaultrtl_Block</class>
76
+ </defaultrtl>
77
+ </blocks>
78
+ </global>
79
+
80
+ <!-- <adminhtml>
81
+ <acl>
82
+ <resources>
83
+ <all>
84
+ <title>Allow Everything</title>
85
+ </all>
86
+ <admin>
87
+ <children>
88
+ <system>
89
+ <children>
90
+ <config>
91
+ <children>
92
+ <codnitivecatalog>
93
+ <title>CODNITIVE Catalog</title>
94
+ </codnitivecatalog>
95
+ </children>
96
+ </config>
97
+ </children>
98
+ </system>
99
+ </children>
100
+ </admin>
101
+ </resources>
102
+ </acl>
103
+
104
+ <translate>
105
+ <modules>
106
+ <Codnitive_Defaultrtl>
107
+ <files>
108
+ <default>Codnitive_Defaultrtl.csv</default>
109
+ </files>
110
+ </Codnitive_Defaultrtl>
111
+ </modules>
112
+ </translate>
113
+ </adminhtml> -->
114
+
115
+ <frontend>
116
+ <!-- <translate>
117
+ <modules>
118
+ <Codnitive_Defaultrtl>
119
+ <files>
120
+ <default>Codnitive_Defaultrtl.csv</default>
121
+ </files>
122
+ </Codnitive_Defaultrtl>
123
+ </modules>
124
+ </translate> -->
125
+
126
+ <layout>
127
+ <updates>
128
+ <defaultrtl>
129
+ <file>defaultrtl.xml</file>
130
+ </defaultrtl>
131
+ </updates>
132
+ </layout>
133
+ </frontend>
134
+
135
+ <!-- <default>
136
+ <codnitivecatalog>
137
+ <defaultrtl>
138
+ <active>1</active>
139
+ </defaultrtl>
140
+ </codnitivecatalog>
141
+ </default> -->
142
+ </config>
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Contact.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Codall
17
+ * @author Hassan Barza <support@codnitive.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Codnitive_Codall_Block_System_Config_Form_Fieldset_Contact
22
+ extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
23
+ {
24
+ public function render(Varien_Data_Form_Element_Abstract $element)
25
+ {
26
+ $local = Mage::app()->getLocale()->getLocaleCode();
27
+ $html = $this->_getHeaderHtml($element);
28
+ if ($local == 'fa_IR')
29
+ $html .= include 'PCD.php';
30
+ else
31
+ $html .= include 'ECD.php';
32
+ $html .= $this->_getFooterHtml($element);
33
+
34
+ return $html;
35
+ }
36
+ }
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/ECD.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Codall
17
+ * @author Hassan Barza <support@codnitive.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ return <<<ECD
22
+
23
+ <p>Please visit <a href='http://www.codnitive.com/en/' target='_blank'>our website</a>, for more extensions.</p>
24
+ <p>You can contact us via <a href='http://www.codnitive.com/en/contacts/' target='_blank'>our website</a> or at <a href='mailto:support@codnitive.com' target='_blank'>support@codnitive.com</a>, if you have any question.</p>
25
+
26
+ ECD;
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Extensions/List.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Codall
17
+ * @author Hassan Barza <support@codnitive.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ class Codnitive_Codall_Block_System_Config_Form_Fieldset_Extensions_List
22
+ extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
23
+ {
24
+ public function render(Varien_Data_Form_Element_Abstract $element)
25
+ {
26
+ $html = $this->_getHeaderHtml($element);
27
+ $modules = Mage::getConfig()->getNode('modules')->children();
28
+ $linkTitle = Mage::helper('codall')->__('Goto Extension Page');
29
+
30
+ foreach ($modules as $moduleName => $values) {
31
+ if (0 !== strpos($moduleName, 'Codnitive_')) {
32
+ continue;
33
+ }
34
+ /*if($moduleName == 'Codnitive_Codall'){
35
+ continue;
36
+ }*/
37
+ if ($values->title) {
38
+ $moduleName = (string) $values->title;
39
+ }
40
+ // if ($values->link) {
41
+ // $link = (string) $values->link;
42
+ // $moduleName = "<a href='{$link}' target='_blank' title='{$linkTitle}'>{$moduleName}</a>";
43
+ // }
44
+
45
+ $field = $element->addField($moduleName, 'label', array(
46
+ 'label' => $moduleName,
47
+ 'value' => (string) $values->version
48
+ ));
49
+ $html .= $field->toHtml();
50
+ }
51
+
52
+ $html .= $this->_getFooterHtml($element);
53
+
54
+ return $html;
55
+ }
56
+ }
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/PCD.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Codall
17
+ * @author Hassan Barza <support@codnitive.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+ return <<<PCD
22
+
23
+ <p> برای اکستنشن‌های بیشتر، لطفا از <a href='http://www.codnitive.com/fa/' target='_blank'> وب‌سایت ما</a>, بازدید نمایید.</p>
24
+ <p> در صورت داشت هر گونه سوال، شما می‌توانید با ما از طریق <a href='http://www.codnitive.com/fa/contacts/' target='_blank'> وب‌سایت‌مان</a> یا <a href='mailto:support@codnitive.com' target='_blank'>support@codnitive.com</a>, تماس بگیرید.</p>
25
+
26
+ PCD;
app/code/local/Codnitive/Codall/Helper/Data.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Codall
17
+ * @author Hassan Barza <support@codnitive.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
+ */
21
+
22
+ class Codnitive_Codall_Helper_Data extends Mage_Core_Helper_Data
23
+ {
24
+
25
+ }
app/code/local/Codnitive/Codall/etc/adminhtml.xml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
15
+ * versions in the future. If you wish to customize Magento for your
16
+ * needs please refer to http://www.magentocommerce.com for more information.
17
+ *
18
+ * @category Codnitive
19
+ * @package Codnitive_Codall
20
+ * @author Hassan Barza <support@codnitive.com>
21
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
22
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23
+ */
24
+ -->
25
+ <config>
26
+ <acl>
27
+ <resources>
28
+ <all>
29
+ <title>Allow Everything</title>
30
+ </all>
31
+ <admin>
32
+ <children>
33
+ <system>
34
+ <children>
35
+ <config>
36
+ <children>
37
+ <codall>
38
+ <title>CODNITIVE Information</title>
39
+ </codall>
40
+ </children>
41
+ </config>
42
+ </children>
43
+ </system>
44
+ </children>
45
+ </admin>
46
+ </resources>
47
+ </acl>
48
+ </config>
app/code/local/Codnitive/Codall/etc/config.xml ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
15
+ * versions in the future. If you wish to customize Magento for your
16
+ * needs please refer to http://www.magentocommerce.com for more information.
17
+ *
18
+ * @category Codnitive
19
+ * @package Codnitive_Codall
20
+ * @author Hassan Barza <support@codnitive.com>
21
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
22
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23
+ */
24
+ -->
25
+ <config>
26
+ <modules>
27
+ <Codnitive_Codall>
28
+ <version>1.0.29</version>
29
+ <title>CODNITIVE® Information</title>
30
+ <link><![CDATA[http://www.codnitive.com/]]></link>
31
+ </Codnitive_Codall>
32
+ </modules>
33
+
34
+ <global>
35
+ <models>
36
+ <codall>
37
+ <class>Codnitive_Codall_Model</class>
38
+ </codall>
39
+ </models>
40
+ <helpers>
41
+ <codall>
42
+ <class>Codnitive_Codall_Helper</class>
43
+ </codall>
44
+ </helpers>
45
+ <resources>
46
+ <codall_setup>
47
+ <setup>
48
+ <module>Codnitive_Codall</module>
49
+ </setup>
50
+ <connection>
51
+ <use>core_setup</use>
52
+ </connection>
53
+ </codall_setup>
54
+ <codall_write>
55
+ <connection>
56
+ <use>core_write</use>
57
+ </connection>
58
+ </codall_write>
59
+ <codall_read>
60
+ <connection>
61
+ <use>core_read</use>
62
+ </connection>
63
+ </codall_read>
64
+ </resources>
65
+ <blocks>
66
+ <codall>
67
+ <class>Codnitive_Codall_Block</class>
68
+ </codall>
69
+ </blocks>
70
+ </global>
71
+
72
+ <adminhtml>
73
+ <translate>
74
+ <modules>
75
+ <Codnitive_Codall>
76
+ <files>
77
+ <default>Codnitive_Codall.csv</default>
78
+ </files>
79
+ </Codnitive_Codall>
80
+ </modules>
81
+ </translate>
82
+
83
+ <acl>
84
+ <resources>
85
+ <all>
86
+ <title>Allow Everything</title>
87
+ </all>
88
+ <admin>
89
+ <children>
90
+ <system>
91
+ <children>
92
+ <config>
93
+ <children>
94
+ <codall>
95
+ <title>CODNITIVE Information</title>
96
+ </codall>
97
+ </children>
98
+ </config>
99
+ </children>
100
+ </system>
101
+ </children>
102
+ </admin>
103
+ </resources>
104
+ </acl>
105
+ </adminhtml>
106
+ </config>
app/code/local/Codnitive/Codall/etc/system.xml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
15
+ * versions in the future. If you wish to customize Magento for your
16
+ * needs please refer to http://www.magentocommerce.com for more information.
17
+ *
18
+ * @category Codnitive
19
+ * @package Codnitive_Codall
20
+ * @author Hassan Barza <support@codnitive.com>
21
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
22
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23
+ */
24
+ -->
25
+ <config>
26
+ <tabs>
27
+ <codall translate="label" module="codall">
28
+ <label>CODNITIVE</label>
29
+ <sort_order>250</sort_order>
30
+ </codall>
31
+ </tabs>
32
+
33
+ <sections>
34
+ <codall translate="label" module="codall">
35
+ <label>Information</label>
36
+ <tab>codall</tab>
37
+ <frontend_type>text</frontend_type>
38
+ <sort_order>99999</sort_order>
39
+ <show_in_default>1</show_in_default>
40
+ <show_in_website>1</show_in_website>
41
+ <show_in_store>1</show_in_store>
42
+ <groups>
43
+ <contact translate="label comment" module="codall">
44
+ <label>Contact</label>
45
+ <frontend_type>text</frontend_type>
46
+ <frontend_model>codall/system_config_form_fieldset_contact</frontend_model>
47
+ <sort_order>10</sort_order>
48
+ <show_in_default>1</show_in_default>
49
+ <show_in_website>1</show_in_website>
50
+ <show_in_store>1</show_in_store>
51
+ </contact>
52
+ <extensions translate="label" module="codall">
53
+ <label>Installed Extensions</label>
54
+ <frontend_type>text</frontend_type>
55
+ <frontend_model>codall/system_config_form_fieldset_extensions_list</frontend_model>
56
+ <sort_order>20</sort_order>
57
+ <show_in_default>1</show_in_default>
58
+ <show_in_website>1</show_in_website>
59
+ <show_in_store>1</show_in_store>
60
+ </extensions>
61
+ </groups>
62
+ </codall>
63
+ </sections>
64
+ </config>
app/design/frontend/default/default_rtl/layout/defaultrtl.xml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
12
+ * versions in the future. If you wish to customize Magento for your
13
+ * needs please refer to http://www.magentocommerce.com for more information.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Defaultrtl
17
+ * @author Hassan Barza <h.barza@gmail.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ */
20
+ -->
21
+ <layout version="0.1.0">
22
+ <!--
23
+ Default layout, loads most of the pages
24
+ -->
25
+
26
+ <default translate="label" module="page">
27
+ <reference name="head">
28
+ <action method="addItem"><type>skin_css</type><name>css/styles-aie.css</name><params/><if>IE</if></action>
29
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie9.css</name><params/><if>IE 9</if></action>
30
+ </reference>
31
+ </default>
32
+ </layout>
app/design/frontend/default/default_rtl/template/bundle/sales/order/creditmemo/items/renderer.phtml ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $parentItem = $this->getItem() ?>
28
+
29
+ <?php $items = $this->getChilds($parentItem) ?>
30
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
31
+ <?php $_count = count ($items) ?>
32
+ <?php $_index = 0 ?>
33
+
34
+ <?php $_prevOptionId = '' ?>
35
+
36
+ <?php foreach ($items as $_item): ?>
37
+
38
+ <?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
39
+ <?php $_showlastRow = true ?>
40
+ <?php else: ?>
41
+ <?php $_showlastRow = false ?>
42
+ <?php endif; ?>
43
+
44
+ <?php if ($_item->getOrderItem()->getParentItem()): ?>
45
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
46
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
47
+ <tr>
48
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ <td>&nbsp;</td>
52
+ <td>&nbsp;</td>
53
+ <td>&nbsp;</td>
54
+ <td>&nbsp;</td>
55
+ </tr>
56
+ <?php $_prevOptionId = $attributes['option_id'] ?>
57
+ <?php endif; ?>
58
+ <?php endif; ?>
59
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
60
+ <?php if (!$_item->getOrderItem()->getParentItem()): ?>
61
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
62
+ </td>
63
+ <?php else: ?>
64
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
65
+ <?php endif; ?>
66
+ <td class="rtl-left-align"><?php echo $this->htmlEscape($_item->getSku()) ?></td>
67
+ <td class="a-right">
68
+ <?php if ($this->canShowPriceInfo($_item)): ?>
69
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
70
+ <span class="price-excl-tax">
71
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
72
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
73
+ <span class="cart-price">
74
+ <?php endif; ?>
75
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
76
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
77
+ </span>
78
+ <?php endif; ?>
79
+ <?php endif; ?>
80
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
81
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
82
+ <?php else: ?>
83
+ <span class="cart-price">
84
+ <?php endif; ?>
85
+
86
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
87
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
88
+ <?php else: ?>
89
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
90
+ <?php endif; ?>
91
+
92
+ </span>
93
+
94
+
95
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
96
+
97
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
98
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
99
+ <small>
100
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
101
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
102
+ <?php endforeach; ?>
103
+ </small>
104
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
105
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
106
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
107
+ <?php endforeach; ?>
108
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
109
+ <small>
110
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
111
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
112
+ <?php endforeach; ?>
113
+ </small>
114
+ <?php endif; ?>
115
+ </span>
116
+
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
118
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
119
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
120
+ </span>
121
+ <?php endif; ?>
122
+ <?php endif; ?>
123
+ </span>
124
+ <br />
125
+ <?php endif; ?>
126
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
127
+ <span class="price-incl-tax">
128
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
129
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
130
+ <span class="cart-price">
131
+ <?php endif; ?>
132
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
133
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
134
+ </span>
135
+ <?php endif; ?>
136
+ <?php endif; ?>
137
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
138
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
139
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
140
+ <?php else: ?>
141
+ <span class="cart-price">
142
+ <?php endif; ?>
143
+
144
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
145
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
146
+ <?php else: ?>
147
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
148
+ <?php endif; ?>
149
+
150
+ </span>
151
+
152
+
153
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
154
+
155
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
156
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
157
+ <small>
158
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
159
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
160
+ <?php endforeach; ?>
161
+ </small>
162
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
163
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
164
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
165
+ <?php endforeach; ?>
166
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
167
+ <small>
168
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
169
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
170
+ <?php endforeach; ?>
171
+ </small>
172
+ <?php endif; ?>
173
+ </span>
174
+
175
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
176
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
177
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total Incl. Tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
178
+ </span>
179
+ <?php endif; ?>
180
+ <?php endif; ?>
181
+ </span>
182
+ <?php endif; ?>
183
+ <?php else: ?>
184
+ &nbsp;
185
+ <?php endif; ?>
186
+ </td>
187
+ <td class="a-center">
188
+ <?php if ($this->canShowPriceInfo($_item)): ?>
189
+ <?php echo $_item->getQty()*1 ?>
190
+ <?php else: ?>
191
+ &nbsp;
192
+ <?php endif; ?>
193
+ </td>
194
+ <td class="a-right">
195
+ <?php if ($this->canShowPriceInfo($_item)): ?>
196
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
197
+ <span class="price-excl-tax">
198
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
199
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
200
+ <span class="cart-price">
201
+ <?php endif; ?>
202
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
203
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
204
+ </span>
205
+ <?php endif; ?>
206
+ <?php endif; ?>
207
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
208
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
209
+ <?php else: ?>
210
+ <span class="cart-price">
211
+ <?php endif; ?>
212
+
213
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
214
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
215
+ <?php else: ?>
216
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
217
+ <?php endif; ?>
218
+
219
+ </span>
220
+
221
+
222
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
223
+
224
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
225
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
226
+ <small>
227
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
228
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
229
+ <?php endforeach; ?>
230
+ </small>
231
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
232
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
233
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
234
+ <?php endforeach; ?>
235
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
236
+ <small>
237
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
238
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
239
+ <?php endforeach; ?>
240
+ </small>
241
+ <?php endif; ?>
242
+ </span>
243
+
244
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
245
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
246
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
247
+ </span>
248
+ <?php endif; ?>
249
+ <?php endif; ?>
250
+ </span>
251
+ <br />
252
+ <?php endif; ?>
253
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
254
+ <span class="price-incl-tax">
255
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
256
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
257
+ <span class="cart-price">
258
+ <?php endif; ?>
259
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
260
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
261
+ </span>
262
+ <?php endif; ?>
263
+ <?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
264
+ <?php endif; ?>
265
+ </span>
266
+ <?php else: ?>
267
+ &nbsp;
268
+ <?php endif; ?>
269
+ <?php else: ?>
270
+ &nbsp;
271
+ <?php endif; ?>
272
+ </td>
273
+ <td class="a-right">
274
+ <?php if ($this->canShowPriceInfo($_item)): ?>
275
+ <?php echo $this->getOrder()->formatPrice(-$_item->getDiscountAmount()) ?>
276
+ <?php else: ?>
277
+ &nbsp;
278
+ <?php endif; ?>
279
+ </td>
280
+ <td class="last a-right">
281
+ <?php if ($this->canShowPriceInfo($_item)): ?>
282
+ <?php echo $this->getOrder()->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()+$_item->getWeeeTaxAppliedRowAmount()) ?>
283
+ <?php else: ?>
284
+ &nbsp;
285
+ <?php endif; ?>
286
+ </td>
287
+ </tr>
288
+ <?php endforeach; ?>
289
+
290
+ <?php if ($_showlastRow): ?>
291
+ <tr class="border">
292
+ <td>
293
+ <?php if($_options = $this->getItemOptions()): ?>
294
+ <dl class="item-options">
295
+ <?php foreach ($_options as $_option) : ?>
296
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
297
+ <?php if (!$this->getPrintStatus()): ?>
298
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
299
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
300
+ <?php echo $_formatedOptionValue['value'] ?>
301
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
302
+ <div class="truncated_full_value">
303
+ <dl class="item-options">
304
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
305
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
306
+ </dl>
307
+ </div>
308
+ <?php endif; ?>
309
+ </dd>
310
+ <?php else: ?>
311
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
312
+ <?php endif; ?>
313
+ <?php endforeach; ?>
314
+ </dl>
315
+ <?php endif; ?>
316
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
317
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
318
+ <a href="#" id="order-item-gift-message-link-<?php echo $parentItem->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $parentItem->getId() ?>')"><?php echo Mage::helper('sales')->__('Gift Message') ?></a>
319
+ <?php endif; ?>
320
+ </td>
321
+ <td>&nbsp;</td>
322
+ <td>&nbsp;</td>
323
+ <td>&nbsp;</td>
324
+ <td>&nbsp;</td>
325
+ <td>&nbsp;</td>
326
+ <td>&nbsp;</td>
327
+ </tr>
328
+ <?php endif; ?>
app/design/frontend/default/default_rtl/template/bundle/sales/order/invoice/items/renderer.phtml ADDED
@@ -0,0 +1,352 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $parentItem = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+
30
+ <?php $items = $this->getChilds($parentItem) ?>
31
+ <?php $_count = count ($items) ?>
32
+ <?php $_index = 0 ?>
33
+
34
+ <?php $_prevOptionId = '' ?>
35
+
36
+ <?php foreach ($items as $_item): ?>
37
+
38
+ <?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
39
+ <?php $_showlastRow = true ?>
40
+ <?php else: ?>
41
+ <?php $_showlastRow = false ?>
42
+ <?php endif; ?>
43
+
44
+ <?php if ($_item->getOrderItem()->getParentItem()): ?>
45
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
46
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
47
+ <tr>
48
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ <td>&nbsp;</td>
52
+ <td>&nbsp;</td>
53
+ </tr>
54
+ <?php $_prevOptionId = $attributes['option_id'] ?>
55
+ <?php endif; ?>
56
+ <?php endif; ?>
57
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
58
+ <?php if (!$_item->getOrderItem()->getParentItem()): ?>
59
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4></td>
60
+ <?php else: ?>
61
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
62
+ <?php endif; ?>
63
+ <td class="rtl-left-align"><?php echo $this->htmlEscape($_item->getSku()) ?></td>
64
+ <td class="a-right">
65
+ <?php if ($this->canShowPriceInfo($_item)): ?>
66
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
67
+ <span class="price-excl-tax">
68
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
69
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
70
+ <span class="cart-price">
71
+ <?php endif; ?>
72
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
73
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
74
+ </span>
75
+ <?php endif; ?>
76
+ <?php endif; ?>
77
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
78
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
79
+ <?php else: ?>
80
+ <span class="cart-price">
81
+ <?php endif; ?>
82
+
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
84
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
85
+ <?php else: ?>
86
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
87
+ <?php endif; ?>
88
+
89
+ </span>
90
+
91
+
92
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
93
+
94
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
95
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
96
+ <small>
97
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
98
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
99
+ <?php endforeach; ?>
100
+ </small>
101
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
102
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
103
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
104
+ <?php endforeach; ?>
105
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
106
+ <small>
107
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
108
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
109
+ <?php endforeach; ?>
110
+ </small>
111
+ <?php endif; ?>
112
+ </span>
113
+
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
115
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
116
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
117
+ </span>
118
+ <?php endif; ?>
119
+ <?php endif; ?>
120
+ </span>
121
+ <br />
122
+ <?php endif; ?>
123
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
124
+ <span class="price-incl-tax">
125
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
126
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
127
+ <span class="cart-price">
128
+ <?php endif; ?>
129
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
130
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
131
+ </span>
132
+ <?php endif; ?>
133
+ <?php endif; ?>
134
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
135
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
136
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
137
+ <?php else: ?>
138
+ <span class="cart-price">
139
+ <?php endif; ?>
140
+
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
142
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
143
+ <?php else: ?>
144
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
145
+ <?php endif; ?>
146
+
147
+ </span>
148
+
149
+
150
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
151
+
152
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
153
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
154
+ <small>
155
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
156
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
157
+ <?php endforeach; ?>
158
+ </small>
159
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
160
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
161
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
162
+ <?php endforeach; ?>
163
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
164
+ <small>
165
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
166
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
167
+ <?php endforeach; ?>
168
+ </small>
169
+ <?php endif; ?>
170
+ </span>
171
+
172
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
173
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
174
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
175
+ </span>
176
+ <?php endif; ?>
177
+ <?php endif; ?>
178
+ </span>
179
+ <?php endif; ?>
180
+ <?php else: ?>
181
+ &nbsp;
182
+ <?php endif; ?>
183
+ </td>
184
+ <td class="a-center">
185
+ <?php if ($this->canShowPriceInfo($_item)): ?>
186
+ <?php echo $_item->getQty()*1 ?>
187
+ <?php else: ?>
188
+ &nbsp;
189
+ <?php endif; ?>
190
+ </td>
191
+ <td class="a-right">
192
+ <?php if ($this->canShowPriceInfo($_item)): ?>
193
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
194
+ <span class="price-excl-tax">
195
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
196
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
197
+ <span class="cart-price">
198
+ <?php endif; ?>
199
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
200
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
201
+ </span>
202
+ <?php endif; ?>
203
+ <?php endif; ?>
204
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
205
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
206
+ <?php else: ?>
207
+ <span class="cart-price">
208
+ <?php endif; ?>
209
+
210
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
211
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
212
+ <?php else: ?>
213
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
214
+ <?php endif; ?>
215
+
216
+ </span>
217
+
218
+
219
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
220
+
221
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
222
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
223
+ <small>
224
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
225
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
226
+ <?php endforeach; ?>
227
+ </small>
228
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
229
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
230
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
231
+ <?php endforeach; ?>
232
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
233
+ <small>
234
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
235
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
236
+ <?php endforeach; ?>
237
+ </small>
238
+ <?php endif; ?>
239
+ </span>
240
+
241
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
242
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
243
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
244
+ </span>
245
+ <?php endif; ?>
246
+ <?php endif; ?>
247
+ </span>
248
+ <br />
249
+ <?php endif; ?>
250
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
251
+ <span class="price-incl-tax">
252
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
253
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
254
+ <span class="cart-price">
255
+ <?php endif; ?>
256
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
257
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
258
+ </span>
259
+ <?php endif; ?>
260
+ <?php endif; ?>
261
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
262
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
263
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
264
+ <?php else: ?>
265
+ <span class="cart-price">
266
+ <?php endif; ?>
267
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
268
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
269
+ <?php else: ?>
270
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
271
+ <?php endif; ?>
272
+
273
+ </span>
274
+
275
+
276
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
277
+
278
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
279
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
280
+ <small>
281
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
282
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
283
+ <?php endforeach; ?>
284
+ </small>
285
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
286
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
287
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
288
+ <?php endforeach; ?>
289
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
290
+ <small>
291
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
292
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
293
+ <?php endforeach; ?>
294
+ </small>
295
+ <?php endif; ?>
296
+ </span>
297
+
298
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
299
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
300
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
301
+ </span>
302
+ <?php endif; ?>
303
+ <?php endif; ?>
304
+
305
+
306
+
307
+ </span>
308
+ <?php endif; ?>
309
+ <?php else: ?>
310
+ &nbsp;
311
+ <?php endif; ?>
312
+ </td>
313
+ </tr>
314
+ <?php endforeach; ?>
315
+
316
+ <?php if ($_showlastRow): ?>
317
+ <tr class="border">
318
+ <td>
319
+ <?php if($_options = $this->getItemOptions()): ?>
320
+ <dl class="item-options">
321
+ <?php foreach ($_options as $_option) : ?>
322
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
323
+ <?php if (!$this->getPrintStatus()): ?>
324
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
325
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
326
+ <?php echo $_formatedOptionValue['value'] ?>
327
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
328
+ <div class="truncated_full_value">
329
+ <dl class="item-options">
330
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
331
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
332
+ </dl>
333
+ </div>
334
+ <?php endif; ?>
335
+ </dd>
336
+ <?php else: ?>
337
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
338
+ <?php endif; ?>
339
+ <?php endforeach; ?>
340
+ </dl>
341
+ <?php endif; ?>
342
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
343
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
344
+ <a href="#" id="order-item-gift-message-link-<?php echo $parentItem->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $parentItem->getId() ?>')"><?php echo Mage::helper('sales')->__('Gift Message') ?></a>
345
+ <?php endif; ?>
346
+ </td>
347
+ <td>&nbsp;</td>
348
+ <td>&nbsp;</td>
349
+ <td>&nbsp;</td>
350
+ <td>&nbsp;</td>
351
+ </tr>
352
+ <?php endif; ?>
app/design/frontend/default/default_rtl/template/bundle/sales/order/items/renderer.phtml ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $parentItem = $this->getItem() ?>
28
+ <?php $items = array_merge(array($parentItem), $parentItem->getChildrenItems()); ?>
29
+ <?php $_count = count ($items) ?>
30
+ <?php $_index = 0 ?>
31
+
32
+ <?php $_prevOptionId = '' ?>
33
+
34
+ <?php foreach ($items as $_item): ?>
35
+
36
+ <?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
37
+ <?php $_showlastRow = true ?>
38
+ <?php else: ?>
39
+ <?php $_showlastRow = false ?>
40
+ <?php endif; ?>
41
+
42
+ <?php if ($_item->getParentItem()): ?>
43
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
44
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
45
+ <tr<?php if ($_item->getLastRow()) echo 'class="last"'; ?>>
46
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
47
+ <td>&nbsp;</td>
48
+ <td>&nbsp;</td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ </tr>
52
+ <?php $_prevOptionId = $attributes['option_id'] ?>
53
+ <?php endif; ?>
54
+ <?php endif; ?>
55
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
56
+
57
+ <?php if (!$_item->getParentItem()): ?>
58
+ <td><h3 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h3></td>
59
+ <?php else: ?>
60
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item)?></div></td>
61
+ <?php endif; ?>
62
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($_item->getSku())) ?></td>
63
+ <td class="a-right">
64
+ <?php if (!$_item->getParentItem()): ?>
65
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
66
+ <span class="price-excl-tax">
67
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
68
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
69
+ <span class="cart-price">
70
+ <?php endif; ?>
71
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
72
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
73
+ </span>
74
+ <?php endif; ?>
75
+ <?php endif; ?>
76
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
77
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
78
+ <?php else: ?>
79
+ <span class="cart-price">
80
+ <?php endif; ?>
81
+
82
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
83
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
84
+ <?php else: ?>
85
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
86
+ <?php endif; ?>
87
+
88
+ </span>
89
+
90
+
91
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
92
+
93
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
94
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
95
+ <small>
96
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
97
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
98
+ <?php endforeach; ?>
99
+ </small>
100
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
101
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
102
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
103
+ <?php endforeach; ?>
104
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
105
+ <small>
106
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
107
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
108
+ <?php endforeach; ?>
109
+ </small>
110
+ <?php endif; ?>
111
+ </span>
112
+
113
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
114
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
115
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
116
+ </span>
117
+ <?php endif; ?>
118
+ <?php endif; ?>
119
+ </span>
120
+ <br />
121
+ <?php endif; ?>
122
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
123
+ <span class="price-incl-tax">
124
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
125
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
126
+ <span class="cart-price">
127
+ <?php endif; ?>
128
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
129
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
130
+ </span>
131
+ <?php endif; ?>
132
+ <?php endif; ?>
133
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
134
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
135
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
136
+ <?php else: ?>
137
+ <span class="cart-price">
138
+ <?php endif; ?>
139
+
140
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
141
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
142
+ <?php else: ?>
143
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
144
+ <?php endif; ?>
145
+
146
+ </span>
147
+
148
+
149
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
150
+
151
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
152
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
153
+ <small>
154
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
155
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
156
+ <?php endforeach; ?>
157
+ </small>
158
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
159
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
160
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
161
+ <?php endforeach; ?>
162
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
163
+ <small>
164
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
165
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
166
+ <?php endforeach; ?>
167
+ </small>
168
+ <?php endif; ?>
169
+ </span>
170
+
171
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
172
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
173
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
174
+ </span>
175
+ <?php endif; ?>
176
+ <?php endif; ?>
177
+ </span>
178
+ <?php endif; ?>
179
+ <?php else: ?>
180
+ &nbsp;
181
+ <?php endif; ?>
182
+ </td>
183
+ <td class="rtl-left-align">
184
+ <?php if (($_item->getParentItem() && $this->isChildCalculated()) ||
185
+ (!$_item->getParentItem() && !$this->isChildCalculated())): ?>
186
+ <span class="nobr">
187
+ <?php if ($_item->getQtyOrdered() > 0): ?>
188
+ <?php echo Mage::helper('sales')->__('Ordered'); ?>: <strong><?php echo $_item->getQtyOrdered()*1 ?></strong><br />
189
+ <?php endif; ?>
190
+ <?php if ($_item->getQtyShipped() > 0 && !$this->isShipmentSeparately()): ?>
191
+ <?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong><br />
192
+ <?php endif; ?>
193
+ <?php if ($_item->getQtyCanceled() > 0): ?>
194
+ <?php echo Mage::helper('sales')->__('Canceled'); ?>: <strong><?php echo $_item->getQtyCanceled()*1 ?></strong><br />
195
+ <?php endif; ?>
196
+ <?php if ($_item->getQtyRefunded() > 0): ?>
197
+ <?php echo Mage::helper('sales')->__('Refunded'); ?>: <strong><?php echo $_item->getQtyRefunded()*1 ?></strong>
198
+ <?php endif; ?>
199
+ </span>
200
+ <?php elseif ($_item->getQtyShipped() > 0 && $_item->getParentItem() && $this->isShipmentSeparately()): ?>
201
+ <span class="nobr"><?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong></span>
202
+ <?php else: ?>
203
+ &nbsp;
204
+ <?php endif; ?>
205
+ </td>
206
+ <td class="a-right">
207
+ <?php if (!$_item->getParentItem()): ?>
208
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
209
+ <span class="price-excl-tax">
210
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
211
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
212
+ <span class="cart-price">
213
+ <?php endif; ?>
214
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
215
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
216
+ </span>
217
+ <?php endif; ?>
218
+ <?php endif; ?>
219
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
220
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
221
+ <?php else: ?>
222
+ <span class="cart-price">
223
+ <?php endif; ?>
224
+
225
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
226
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
227
+ <?php else: ?>
228
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
229
+ <?php endif; ?>
230
+
231
+ </span>
232
+
233
+
234
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
235
+
236
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
237
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
238
+ <small>
239
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
240
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
241
+ <?php endforeach; ?>
242
+ </small>
243
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
244
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
245
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
246
+ <?php endforeach; ?>
247
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
248
+ <small>
249
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
250
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
251
+ <?php endforeach; ?>
252
+ </small>
253
+ <?php endif; ?>
254
+ </span>
255
+
256
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
257
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
258
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
259
+ </span>
260
+ <?php endif; ?>
261
+ <?php endif; ?>
262
+ </span>
263
+ <br />
264
+ <?php endif; ?>
265
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
266
+ <span class="price-incl-tax">
267
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
268
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
269
+ <span class="cart-price">
270
+ <?php endif; ?>
271
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
272
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
273
+ </span>
274
+ <?php endif; ?>
275
+ <?php endif; ?>
276
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
277
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
278
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
279
+ <?php else: ?>
280
+ <span class="cart-price">
281
+ <?php endif; ?>
282
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
283
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
284
+ <?php else: ?>
285
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
286
+ <?php endif; ?>
287
+
288
+ </span>
289
+
290
+
291
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
292
+
293
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
294
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
295
+ <small>
296
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
297
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
298
+ <?php endforeach; ?>
299
+ </small>
300
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
301
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
302
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
303
+ <?php endforeach; ?>
304
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
305
+ <small>
306
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
307
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
308
+ <?php endforeach; ?>
309
+ </small>
310
+ <?php endif; ?>
311
+ </span>
312
+
313
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
314
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
315
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total Incl. Tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
316
+ </span>
317
+ <?php endif; ?>
318
+ <?php endif; ?>
319
+
320
+
321
+
322
+ </span>
323
+ <?php endif; ?>
324
+ <?php else: ?>
325
+ &nbsp;
326
+ <?php endif; ?>
327
+ </td>
328
+ <!--
329
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
330
+ <th class="a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
331
+ <?php endif; ?>
332
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
333
+ <th class="a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
334
+ <?php endif; ?>
335
+ -->
336
+ </tr>
337
+ <?php endforeach; ?>
338
+
339
+ <?php if ($_showlastRow): ?>
340
+ <tr class="border">
341
+ <td>
342
+ <?php if($_options = $this->getItemOptions()): ?>
343
+ <dl class="item-options">
344
+ <?php foreach ($_options as $_option) : ?>
345
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
346
+ <?php if (!$this->getPrintStatus()): ?>
347
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
348
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
349
+ <?php echo $_formatedOptionValue['value'] ?>
350
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
351
+ <div class="truncated_full_value">
352
+ <dl class="item-options">
353
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
354
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
355
+ </dl>
356
+ </div>
357
+ <?php endif; ?>
358
+ </dd>
359
+ <?php else: ?>
360
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
361
+ <?php endif; ?>
362
+ <?php endforeach; ?>
363
+ </dl>
364
+ <?php endif; ?>
365
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
366
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
367
+ <a href="#" id="order-item-gift-message-link-<?php echo $parentItem->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $parentItem->getId() ?>')"><?php echo Mage::helper('sales')->__('Gift Message') ?></a>
368
+ <?php endif; ?>
369
+ </td>
370
+ <td>&nbsp;</td>
371
+ <td>&nbsp;</td>
372
+ <td>&nbsp;</td>
373
+ <td>&nbsp;</td>
374
+ </tr>
375
+ <?php endif; ?>
app/design/frontend/default/default_rtl/template/bundle/sales/order/shipment/items/renderer.phtml ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $parentItem = $this->getItem() ?>
28
+ <?php $items = array_merge(array($parentItem->getOrderItem()), $parentItem->getOrderItem()->getChildrenItems()) ?>
29
+ <?php $shipItems = $this->getChilds($parentItem) ?>
30
+ <?php $_count = count ($items) ?>
31
+ <?php $_index = 0 ?>
32
+
33
+ <?php $_prevOptionId = '' ?>
34
+
35
+ <?php foreach ($items as $_item): ?>
36
+
37
+ <?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
38
+ <?php $_showlastRow = true ?>
39
+ <?php else: ?>
40
+ <?php $_showlastRow = false ?>
41
+ <?php endif; ?>
42
+
43
+ <?php if ($_item->getParentItem()): ?>
44
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
45
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
46
+ <tr>
47
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
48
+ <td>&nbsp;</td>
49
+ <td>&nbsp;</td>
50
+ </tr>
51
+ <?php $_prevOptionId = $attributes['option_id'] ?>
52
+ <?php endif; ?>
53
+ <?php endif; ?>
54
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
55
+ <?php if (!$_item->getParentItem()): ?>
56
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4></td>
57
+ <?php else: ?>
58
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
59
+ <?php endif; ?>
60
+ <td class="rtl-left-align"><?php echo $this->htmlEscape($_item->getSku()) ?></td>
61
+ <td class="a-center">
62
+ <?php if (($this->isShipmentSeparately() && $_item->getParentItem()) || (!$this->isShipmentSeparately() && !$_item->getParentItem())): ?>
63
+ <?php if (isset($shipItems[$_item->getId()])): ?>
64
+ <?php echo $shipItems[$_item->getId()]->getQty()*1 ?>
65
+ <?php elseif ($_item->getIsVirtual()): ?>
66
+ <?php echo $this->__('N/A') ?>
67
+ <?php else: ?>
68
+ 0
69
+ <?php endif; ?>
70
+ <?php else: ?>
71
+ &nbsp;
72
+ <?php endif; ?>
73
+ </td>
74
+ </tr>
75
+ <?php endforeach; ?>
76
+
77
+ <?php if ($_showlastRow): ?>
78
+ <tr class="border">
79
+ <td>
80
+ <?php if($_options = $this->getItemOptions()): ?>
81
+ <dl class="item-options">
82
+ <?php foreach ($_options as $_option) : ?>
83
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
84
+ <?php if (!$this->getPrintStatus()): ?>
85
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
86
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
87
+ <?php echo $_formatedOptionValue['value'] ?>
88
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
89
+ <div class="truncated_full_value">
90
+ <dl class="item-options">
91
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
92
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
93
+ </dl>
94
+ </div>
95
+ <?php endif; ?>
96
+ </dd>
97
+ <?php else: ?>
98
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
99
+ <?php endif; ?>
100
+ <?php endforeach; ?>
101
+ </dl>
102
+ <?php endif; ?>
103
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
104
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
105
+ <a href="#" id="order-item-gift-message-link-<?php echo $parentItem->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $parentItem->getId() ?>')"><?php echo Mage::helper('sales')->__('Gift Message') ?></a>
106
+ <?php endif; ?>
107
+ </td>
108
+ <td>&nbsp;</td>
109
+ <td>&nbsp;</td>
110
+ </tr>
111
+ <?php endif; ?>
app/design/frontend/default/default_rtl/template/catalog/layer/filter.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for filter items block
30
+ *
31
+ * @see Mage_Catalog_Block_Layer_Filter
32
+ */
33
+ ?>
34
+
35
+ <ol>
36
+ <?php foreach ($this->getItems() as $_item): ?>
37
+ <li>
38
+ <?php if ($_item->getCount() > 0): ?>
39
+ <a href="<?php echo $this->urlEscape($_item->getUrl()) ?>"><?php echo $_item->getLabel() ?></a>
40
+ <?php else: ?>
41
+ <span class="layered-nav-name"><?php echo $_item->getLabel() ?></span>
42
+ <?php endif; ?>
43
+ (<?php echo $_item->getCount() ?>)
44
+ </li>
45
+ <?php endforeach ?>
46
+ </ol>
app/design/frontend/default/default_rtl/template/catalog/product/view/addtocart.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_product = $this->getProduct(); ?>
28
+ <?php $buttonTitle = $this->__('Add to Cart'); ?>
29
+ <?php if($_product->isSaleable()): ?>
30
+ <div class="add-to-cart">
31
+ <?php if(!$_product->isGrouped()): ?>
32
+ <label for="qty"><?php echo $this->__('Qty:') ?></label>
33
+ <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
34
+ <?php endif; ?>
35
+ <button type="button" title="<?php echo $buttonTitle ?>" class="button <?php echo (!$_product->isGrouped()) ? 'btn-cart' : 'grouped-btn-cart'; ?>" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
36
+ <?php echo $this->getChildHtml('', true, true) ?>
37
+ </div>
38
+ <?php endif; ?>
app/design/frontend/default/default_rtl/template/catalog/product/view/options/type/date.phtml ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_option = $this->getOption() ?>
28
+ <?php $_optionId = $_option->getId() ?>
29
+ <dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->htmlEscape($_option->getTitle()) ?></label>
30
+ <?php echo $this->getFormatedPrice() ?></dt>
31
+ <dd class="product-date-time-option<?php if ($_option->decoratedIsLast){?> last<?php }?>">
32
+
33
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
34
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE): ?>
35
+
36
+ <?php echo $this->getDateHtml() ?>
37
+
38
+ <?php if (!$this->useCalendar()): ?>
39
+ <script type="text/javascript">
40
+ //<![CDATA[
41
+ Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
42
+ Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
43
+ //]]>
44
+ </script>
45
+ <?php endif; ?>
46
+
47
+ <?php endif; ?>
48
+
49
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
50
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
51
+ <span class="time-picker"><?php echo $this->getTimeHtml() ?></span>
52
+ <?php endif; ?>
53
+
54
+ <input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
55
+ <script type="text/javascript">
56
+ //<![CDATA[
57
+ <?php if ($_option->getIsRequire()): ?>
58
+ Validation.addAllThese(
59
+ [
60
+ ['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
61
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
62
+ for (var i=0; i < dateTimeParts.length; i++) {
63
+ if (dateTimeParts[i].value == "") return false;
64
+ }
65
+ return true;
66
+ }]
67
+ ]
68
+ );
69
+ <?php else: ?>
70
+ Validation.add(
71
+ 'validate-datetime-<?php echo $_optionId ?>',
72
+ '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('Field is not complete') )?>',
73
+ function(v) {
74
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
75
+ var hasWithValue = false, hasWithNoValue = false;
76
+ var pattern = /day_part$/i;
77
+ for (var i=0; i < dateTimeParts.length; i++) {
78
+ if (! pattern.test(dateTimeParts[i].id)) {
79
+ if (dateTimeParts[i].value === "") {
80
+ hasWithValue = true;
81
+ } else {
82
+ hasWithNoValue = true;
83
+ }
84
+ }
85
+ }
86
+ return hasWithValue ^ hasWithNoValue;
87
+ }
88
+ );
89
+ <?php endif; ?>
90
+ //]]>
91
+ </script>
92
+ </dd>
app/design/frontend/default/default_rtl/template/catalog/product/view/tierprices.phtml ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ /**
30
+ * @see Mage_Catalog_Block_Product_View
31
+ */
32
+ $_product = $this->getProduct();
33
+ $_tierPrices = $this->getTierPrices();
34
+ $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true);
35
+
36
+ $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product);
37
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
38
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
39
+ }
40
+
41
+ ?>
42
+ <?php if (count($_tierPrices) > 0): ?>
43
+ <ul class="<?php echo ($this->getInGrouped() ? 'tier-prices-grouped product-pricing-grouped' : 'tier-prices product-pricing'); ?>">
44
+ <?php if ($this->getInGrouped()): ?>
45
+ <?php $_tierPrices = $this->getTierPrices($_product); ?>
46
+ <?php endif; ?>
47
+ <?php Mage::helper('weee')->processTierPrices($_product, $_tierPrices); ?>
48
+
49
+ <?php foreach ($_tierPrices as $_price): ?>
50
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
51
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
52
+ <li><?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price_incl_weee_only'], $_price['formated_price_incl_weee']) ?>
53
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
54
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
55
+ <?php if ($_weeeTaxAttributes): ?>
56
+ (<small>
57
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
58
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
59
+ <?php echo $separator; ?>
60
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
61
+ <?php endforeach; ?>
62
+ </small>)
63
+ <?php endif; ?>
64
+ <?php echo $this->__('each') ?>
65
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
66
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
67
+ <?php if ($_weeeTaxAttributes): ?>
68
+ (<small>
69
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
70
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
71
+ <?php echo $separator; ?>
72
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
73
+ <?php endforeach; ?>
74
+ </small>)
75
+ <?php endif; ?>
76
+ <?php echo $this->__('each') ?>
77
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
78
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
79
+ <?php if ($_weeeTaxAttributes): ?>
80
+ (<small>
81
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
82
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
83
+ <?php endforeach; ?>
84
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
85
+ </small>)
86
+ <?php endif; ?>
87
+ <?php echo $this->__('each') ?>
88
+ <?php else: ?>
89
+ <li><?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price'], $_price['formated_price_incl_tax']) ?>
90
+ <?php endif; ?>
91
+ <?php else: ?>
92
+ <?php if ($this->helper('tax')->displayPriceIncludingTax()): ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
94
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee']) ?>
95
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
96
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
97
+ <?php if ($_weeeTaxAttributes): ?>
98
+ (</small>
99
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
100
+ <?php echo $separator; ?>
101
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
102
+ <?php $separator = ' + '; endforeach; ?>
103
+ <small>)
104
+ <?php endif; ?>
105
+ <?php echo $this->__('each') ?>
106
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
107
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
108
+ <?php if ($_weeeTaxAttributes): ?>
109
+ (</small>
110
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
111
+ <?php echo $separator; ?>
112
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
113
+ <?php $separator = ' + '; endforeach; ?>
114
+ <small>)
115
+ <?php endif; ?>
116
+ <?php echo $this->__('each') ?>
117
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
118
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_tax']); ?>
119
+ <?php if ($_weeeTaxAttributes): ?>
120
+ (<small>
121
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
122
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
123
+ <?php endforeach; ?>
124
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
125
+ </small>)
126
+ <?php endif; ?>
127
+ <?php echo $this->__('each') ?>
128
+ <?php else: ?>
129
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_tax']) ?>
130
+ <?php endif; ?>
131
+ <?php else: ?>
132
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
133
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee_only']) ?>
134
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
135
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
136
+ <?php if ($_weeeTaxAttributes): ?>
137
+ (<small>
138
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
139
+ <?php echo $separator; ?>
140
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
141
+ <?php $separator = ' + '; endforeach; ?>
142
+ </small>)
143
+ <?php endif; ?>
144
+ <?php echo $this->__('each') ?>
145
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
146
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
147
+ <?php if ($_weeeTaxAttributes): ?>
148
+ (<small>
149
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
150
+ <?php echo $separator; ?>
151
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
152
+ <?php $separator = ' + '; endforeach; ?>
153
+ </small>)
154
+ <?php endif; ?>
155
+ <?php echo $this->__('each') ?>
156
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
157
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
158
+ <?php if ($_weeeTaxAttributes): ?>
159
+ (<small>
160
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
161
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
162
+ <?php endforeach; ?>
163
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee_only']); ?>
164
+ </small>)
165
+ <?php endif; ?>
166
+ <?php echo $this->__('each') ?>
167
+ <?php else: ?>
168
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price']) ?>
169
+ <?php endif; ?>
170
+ <?php endif; ?>
171
+ <?php endif; ?>
172
+ <?php if (!$this->getInGrouped()): ?>
173
+ <?php if(($_product->getPrice() == $_product->getFinalPrice() && $_product->getPrice() > $_price['price'])
174
+ || ($_product->getPrice() != $_product->getFinalPrice() && $_product->getFinalPrice() > $_price['price'])): ?>
175
+ <?php echo $this->__('and') ?>&nbsp;<strong class="benefit"><?php echo $_price['savePercent']?>%&nbsp;<?php echo $this->__("'save'")?>
176
+ <?php endif ?></strong>
177
+ <?php endif; ?>
178
+ </li>
179
+ <?php endforeach ?>
180
+ </ul>
181
+ <?php endif;?>
app/design/frontend/default/default_rtl/template/checkout/cart/sidebar/default.phtml ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ ?>
31
+ <li class="item">
32
+ <?php if ($this->hasProductUrl()): ?>
33
+ <a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a>
34
+ <?php else: ?>
35
+ <span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></span>
36
+ <?php endif; ?>
37
+ <div class="product-details">
38
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
39
+ <?php if ($isVisibleProduct): ?>
40
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit"><?php echo $this->__('Edit item')?></a>
41
+ <?php endif ?>
42
+ <p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->htmlEscape($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
43
+ <span class="codnitive-sidebar-cart-qty"><strong><?php echo $this->getQty() ?></strong>&nbsp;x&nbsp;</span>
44
+
45
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
46
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
47
+ <?php echo $this->__('Excl. Tax'); ?>:
48
+ <?php endif; ?>
49
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
50
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
51
+ <?php else: ?>
52
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
53
+ <?php endif; ?>
54
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
55
+ <br />
56
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
57
+ <small>
58
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
59
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
60
+ <?php endforeach; ?>
61
+ </small>
62
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
63
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
64
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
65
+ <?php endforeach; ?>
66
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
67
+ <small>
68
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
69
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
70
+ <?php endforeach; ?>
71
+ </small>
72
+ <?php endif; ?>
73
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
74
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
75
+ <?php endif; ?>
76
+ <?php endif; ?>
77
+ <?php endif; ?>
78
+
79
+
80
+
81
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
82
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
83
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
84
+ <br /><?php echo $this->__('Incl. Tax'); ?>:
85
+ <?php endif; ?>
86
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
87
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
88
+ <?php else: ?>
89
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
90
+ <?php endif; ?>
91
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
92
+ <br />
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
94
+ <small>
95
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
96
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
97
+ <?php endforeach; ?>
98
+ </small>
99
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
100
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
101
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
102
+ <?php endforeach; ?>
103
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
104
+ <small>
105
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
106
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
107
+ <?php endforeach; ?>
108
+ </small>
109
+ <?php endif; ?>
110
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
111
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
112
+ <?php endif; ?>
113
+ <?php endif; ?>
114
+ <?php endif; ?>
115
+ <?php if ($_options = $this->getOptionList()):?>
116
+ <div class="truncated">
117
+ <div class="truncated_full_value">
118
+ <dl class="item-options">
119
+ <?php foreach ($_options as $_option) : ?>
120
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
121
+ <dd>
122
+ <?php if (is_array($_option['value'])): ?>
123
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
124
+ <?php else: ?>
125
+ <?php echo $_option['value'] ?>
126
+ <?php endif; ?>
127
+ </dd>
128
+ <?php endforeach; ?>
129
+ </dl>
130
+ </div>
131
+ <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
132
+ </div>
133
+ <?php endif; ?>
134
+ </div>
135
+ </li>
app/design/frontend/default/default_rtl/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
31
+ <?php if($_options = $this->getItemOptions()): ?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <?php if (!$this->getPrintStatus()): ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
42
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
43
+ </dl>
44
+ </div>
45
+ <?php endif; ?>
46
+ </dd>
47
+ <?php else: ?>
48
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <?php endif; ?>
53
+
54
+ <!-- downloadable -->
55
+ <?php if ($links = $this->getLinks()): ?>
56
+ <dl class="item-options">
57
+ <dt><?php echo $this->getLinksTitle() ?></dt>
58
+ <?php foreach ($links->getPurchasedItems() as $link): ?>
59
+ <dd><?php echo $link->getLinkTitle() ?></dd>
60
+ <?php endforeach; ?>
61
+ </dl>
62
+ <?php endif; ?>
63
+ <!-- EOF downloadable -->
64
+
65
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
66
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
67
+ <br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
68
+ <?php endif; ?>
69
+ </td>
70
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
71
+ <td class="a-right nowrap">
72
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
73
+ <span class="price-excl-tax">
74
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
75
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
76
+ <span class="cart-price">
77
+ <?php endif; ?>
78
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
79
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
80
+ </span>
81
+ <?php endif; ?>
82
+ <?php endif; ?>
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
84
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
85
+ <?php else: ?>
86
+ <span class="cart-price">
87
+ <?php endif; ?>
88
+
89
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
90
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
91
+ <?php else: ?>
92
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
93
+ <?php endif; ?>
94
+
95
+ </span>
96
+
97
+
98
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
99
+
100
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
101
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
102
+ <small>
103
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
104
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
105
+ <?php endforeach; ?>
106
+ </small>
107
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
108
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
109
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
110
+ <?php endforeach; ?>
111
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
112
+ <small>
113
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
114
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
115
+ <?php endforeach; ?>
116
+ </small>
117
+ <?php endif; ?>
118
+ </span>
119
+
120
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
121
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
122
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
123
+ </span>
124
+ <?php endif; ?>
125
+ <?php endif; ?>
126
+ </span>
127
+ <br />
128
+ <?php endif; ?>
129
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
130
+ <span class="price-incl-tax">
131
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
132
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
133
+ <span class="cart-price">
134
+ <?php endif; ?>
135
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
136
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
137
+ </span>
138
+ <?php endif; ?>
139
+ <?php endif; ?>
140
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
142
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
143
+ <?php else: ?>
144
+ <span class="cart-price">
145
+ <?php endif; ?>
146
+
147
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
148
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
149
+ <?php else: ?>
150
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
151
+ <?php endif; ?>
152
+
153
+ </span>
154
+
155
+
156
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
157
+
158
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
159
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
160
+ <small>
161
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
162
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
163
+ <?php endforeach; ?>
164
+ </small>
165
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
166
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
167
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
168
+ <?php endforeach; ?>
169
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
170
+ <small>
171
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
172
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
173
+ <?php endforeach; ?>
174
+ </small>
175
+ <?php endif; ?>
176
+ </span>
177
+
178
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
179
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
180
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
181
+ </span>
182
+ <?php endif; ?>
183
+ <?php endif; ?>
184
+ </span>
185
+ <?php endif; ?>
186
+ </td>
187
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
188
+ <td class="a-right nowrap">
189
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
190
+ <span class="price-excl-tax">
191
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
192
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
193
+ <span class="cart-price">
194
+ <?php endif; ?>
195
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
196
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
197
+ </span>
198
+ <?php endif; ?>
199
+ <?php endif; ?>
200
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
201
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
202
+ <?php else: ?>
203
+ <span class="cart-price">
204
+ <?php endif; ?>
205
+
206
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
207
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
208
+ <?php else: ?>
209
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
210
+ <?php endif; ?>
211
+
212
+ </span>
213
+
214
+
215
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
216
+
217
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
218
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
219
+ <small>
220
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
221
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
222
+ <?php endforeach; ?>
223
+ </small>
224
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
225
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
226
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
227
+ <?php endforeach; ?>
228
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
229
+ <small>
230
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
231
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
232
+ <?php endforeach; ?>
233
+ </small>
234
+ <?php endif; ?>
235
+ </span>
236
+
237
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
238
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
239
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
240
+ </span>
241
+ <?php endif; ?>
242
+ <?php endif; ?>
243
+ </span>
244
+ <br />
245
+ <?php endif; ?>
246
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
247
+ <span class="price-incl-tax">
248
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
249
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
250
+ <span class="cart-price">
251
+ <?php endif; ?>
252
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
253
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
254
+ </span>
255
+ <?php endif; ?>
256
+ <?php endif; ?>
257
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
258
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
259
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
260
+ <?php else: ?>
261
+ <span class="cart-price">
262
+ <?php endif; ?>
263
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
264
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
265
+ <?php else: ?>
266
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
267
+ <?php endif; ?>
268
+
269
+ </span>
270
+
271
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
272
+
273
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
274
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
275
+ <small>
276
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
277
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
278
+ <?php endforeach; ?>
279
+ </small>
280
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
281
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
282
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
283
+ <?php endforeach; ?>
284
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
285
+ <small>
286
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
287
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
288
+ <?php endforeach; ?>
289
+ </small>
290
+ <?php endif; ?>
291
+ </span>
292
+
293
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
294
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
295
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
296
+ </span>
297
+ <?php endif; ?>
298
+ <?php endif; ?>
299
+
300
+ </span>
301
+ <?php endif; ?>
302
+ </td>
303
+ <td class="a-right"><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
304
+ <td class="last a-right">
305
+ <?php echo $_order->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()+$_item->getWeeeTaxAppliedRowAmount()) ?>
306
+ </td>
307
+ </tr>
app/design/frontend/default/default_rtl/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml ADDED
@@ -0,0 +1,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
31
+ <?php if($_options = $this->getItemOptions()): ?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <?php if (!$this->getPrintStatus()): ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
38
+ <?php echo $_formatedOptionValue['value'] ?>
39
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
40
+ <div class="truncated_full_value">
41
+ <dl class="item-options">
42
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
43
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
44
+ </dl>
45
+ </div>
46
+ <?php endif; ?>
47
+ </dd>
48
+ <?php else: ?>
49
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
50
+ <?php endif; ?>
51
+ <?php endforeach; ?>
52
+ </dl>
53
+ <?php endif; ?>
54
+
55
+ <!-- downloadable -->
56
+ <?php if ($links = $this->getLinks()): ?>
57
+ <dl class="item-options">
58
+ <dt><?php echo $this->getLinksTitle() ?></dt>
59
+ <?php foreach ($links->getPurchasedItems() as $link): ?>
60
+ <dd><?php echo $link->getLinkTitle() ?></dd>
61
+ <?php endforeach; ?>
62
+ </dl>
63
+ <?php endif; ?>
64
+ <!-- EOF downloadable -->
65
+
66
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
67
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
68
+ <br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
69
+ <?php endif; ?>
70
+ </td>
71
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
72
+ <td class="a-right nowrap">
73
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
74
+ <span class="price-excl-tax">
75
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
76
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
77
+ <span class="cart-price">
78
+ <?php endif; ?>
79
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
80
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
81
+ </span>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
85
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
86
+ <?php else: ?>
87
+ <span class="cart-price">
88
+ <?php endif; ?>
89
+
90
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
91
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
92
+ <?php else: ?>
93
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
94
+ <?php endif; ?>
95
+
96
+ </span>
97
+
98
+
99
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
100
+
101
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
102
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
103
+ <small>
104
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
105
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
106
+ <?php endforeach; ?>
107
+ </small>
108
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
109
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
110
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
111
+ <?php endforeach; ?>
112
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
113
+ <small>
114
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
115
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
116
+ <?php endforeach; ?>
117
+ </small>
118
+ <?php endif; ?>
119
+ </span>
120
+
121
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
122
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
123
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
124
+ </span>
125
+ <?php endif; ?>
126
+ <?php endif; ?>
127
+ </span>
128
+ <br />
129
+ <?php endif; ?>
130
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
131
+ <span class="price-incl-tax">
132
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
133
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
134
+ <span class="cart-price">
135
+ <?php endif; ?>
136
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
137
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
138
+ </span>
139
+ <?php endif; ?>
140
+ <?php endif; ?>
141
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
142
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
143
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
144
+ <?php else: ?>
145
+ <span class="cart-price">
146
+ <?php endif; ?>
147
+
148
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
149
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
150
+ <?php else: ?>
151
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
152
+ <?php endif; ?>
153
+
154
+ </span>
155
+
156
+
157
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
158
+
159
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
160
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
161
+ <small>
162
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
163
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
164
+ <?php endforeach; ?>
165
+ </small>
166
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
167
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
168
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
169
+ <?php endforeach; ?>
170
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
171
+ <small>
172
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
173
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
174
+ <?php endforeach; ?>
175
+ </small>
176
+ <?php endif; ?>
177
+ </span>
178
+
179
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
180
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
181
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
182
+ </span>
183
+ <?php endif; ?>
184
+ <?php endif; ?>
185
+ </span>
186
+ <?php endif; ?>
187
+ </td>
188
+ <td class="a-center"><?php echo $_item->getQty()*1 ?> </td>
189
+ <td class="a-right nowrap">
190
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
191
+ <span class="price-excl-tax">
192
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
193
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
194
+ <span class="cart-price">
195
+ <?php endif; ?>
196
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
197
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
198
+ </span>
199
+ <?php endif; ?>
200
+ <?php endif; ?>
201
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
202
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
203
+ <?php else: ?>
204
+ <span class="cart-price">
205
+ <?php endif; ?>
206
+
207
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
208
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
209
+ <?php else: ?>
210
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
211
+ <?php endif; ?>
212
+
213
+ </span>
214
+
215
+
216
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
217
+
218
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
219
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
220
+ <small>
221
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
222
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
223
+ <?php endforeach; ?>
224
+ </small>
225
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
226
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
227
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
228
+ <?php endforeach; ?>
229
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
230
+ <small>
231
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
232
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
233
+ <?php endforeach; ?>
234
+ </small>
235
+ <?php endif; ?>
236
+ </span>
237
+
238
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
239
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
240
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
241
+ </span>
242
+ <?php endif; ?>
243
+ <?php endif; ?>
244
+ </span>
245
+ <br />
246
+ <?php endif; ?>
247
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
248
+ <span class="price-incl-tax">
249
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
250
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
251
+ <span class="cart-price">
252
+ <?php endif; ?>
253
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
254
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
255
+ </span>
256
+ <?php endif; ?>
257
+ <?php endif; ?>
258
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
259
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
260
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
261
+ <?php else: ?>
262
+ <span class="cart-price">
263
+ <?php endif; ?>
264
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
265
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
266
+ <?php else: ?>
267
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
268
+ <?php endif; ?>
269
+
270
+ </span>
271
+
272
+
273
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
274
+
275
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
276
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
277
+ <small>
278
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
279
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
280
+ <?php endforeach; ?>
281
+ </small>
282
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
283
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
284
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
285
+ <?php endforeach; ?>
286
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
287
+ <small>
288
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
289
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
290
+ <?php endforeach; ?>
291
+ </small>
292
+ <?php endif; ?>
293
+ </span>
294
+
295
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
296
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
297
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
298
+ </span>
299
+ <?php endif; ?>
300
+ <?php endif; ?>
301
+
302
+
303
+
304
+ </span>
305
+ <?php endif; ?>
306
+ </td>
307
+ </tr>
app/design/frontend/default/default_rtl/template/downloadable/sales/order/items/renderer/downloadable.phtml ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
29
+ <td><h3 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h3>
30
+ <?php if($_options = $this->getItemOptions()): ?>
31
+ <dl class="item-options">
32
+ <?php foreach ($_options as $_option) : ?>
33
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
34
+ <?php if (!$this->getPrintStatus()): ?>
35
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
36
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
37
+ <?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
42
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
43
+ </dl>
44
+ </div>
45
+ <?php endif; ?>
46
+ </dd>
47
+ <?php else: ?>
48
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <?php endif; ?>
53
+
54
+ <!-- downloadable -->
55
+ <?php if ($links = $this->getLinks()): ?>
56
+ <dl class="item-options">
57
+ <dt><?php echo $this->getLinksTitle() ?></dt>
58
+ <?php foreach ($links->getPurchasedItems() as $link): ?>
59
+ <dd><?php echo $link->getLinkTitle() ?></dd>
60
+ <?php endforeach; ?>
61
+ </dl>
62
+ <?php endif; ?>
63
+ <!-- EOF downloadable -->
64
+
65
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
66
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
67
+ <br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
68
+ <?php endif; ?>
69
+ </td>
70
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
71
+ <td class="a-right nowrap">
72
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
73
+ <span class="price-excl-tax">
74
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
75
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
76
+ <span class="cart-price">
77
+ <?php endif; ?>
78
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
79
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
80
+ </span>
81
+ <?php endif; ?>
82
+ <?php endif; ?>
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
84
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
85
+ <?php else: ?>
86
+ <span class="cart-price">
87
+ <?php endif; ?>
88
+
89
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
90
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
91
+ <?php else: ?>
92
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
93
+ <?php endif; ?>
94
+
95
+ </span>
96
+
97
+
98
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
99
+
100
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
101
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
102
+ <small>
103
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
104
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
105
+ <?php endforeach; ?>
106
+ </small>
107
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
108
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
109
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
110
+ <?php endforeach; ?>
111
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
112
+ <small>
113
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
114
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
115
+ <?php endforeach; ?>
116
+ </small>
117
+ <?php endif; ?>
118
+ </span>
119
+
120
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
121
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
122
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
123
+ </span>
124
+ <?php endif; ?>
125
+ <?php endif; ?>
126
+ </span>
127
+ <br />
128
+ <?php endif; ?>
129
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
130
+ <span class="price-incl-tax">
131
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
132
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
133
+ <span class="cart-price">
134
+ <?php endif; ?>
135
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
136
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
137
+ </span>
138
+ <?php endif; ?>
139
+ <?php endif; ?>
140
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
142
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
143
+ <?php else: ?>
144
+ <span class="cart-price">
145
+ <?php endif; ?>
146
+
147
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
148
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
149
+ <?php else: ?>
150
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
151
+ <?php endif; ?>
152
+
153
+ </span>
154
+
155
+
156
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
157
+
158
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
159
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
160
+ <small>
161
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
162
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
163
+ <?php endforeach; ?>
164
+ </small>
165
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
166
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
167
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
168
+ <?php endforeach; ?>
169
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
170
+ <small>
171
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
172
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
173
+ <?php endforeach; ?>
174
+ </small>
175
+ <?php endif; ?>
176
+ </span>
177
+
178
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
179
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
180
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
181
+ </span>
182
+ <?php endif; ?>
183
+ <?php endif; ?>
184
+ </span>
185
+ <?php endif; ?>
186
+ </td>
187
+ <td class="rtl-left-align nowrap">
188
+ <span class="nobr">
189
+ <?php if ($this->getItem()->getQtyOrdered() > 0): ?>
190
+ <?php echo $this->__('Ordered'); ?>: <strong><?php echo $this->getItem()->getQtyOrdered()*1 ?></strong><br />
191
+ <?php endif; ?>
192
+ <?php if ($this->getItem()->getQtyShipped() > 0): ?>
193
+ <?php echo $this->__('Shipped'); ?>: <strong><?php echo $this->getItem()->getQtyShipped()*1 ?></strong><br />
194
+ <?php endif; ?>
195
+ <?php if ($this->getItem()->getQtyCanceled() > 0): ?>
196
+ <?php echo $this->__('Canceled'); ?>: <strong><?php echo $this->getItem()->getQtyCanceled()*1 ?></strong><br />
197
+ <?php endif; ?>
198
+ <?php if ($this->getItem()->getQtyRefunded() > 0): ?>
199
+ <?php echo $this->__('Refunded'); ?>: <strong><?php echo $this->getItem()->getQtyRefunded()*1 ?></strong><br />
200
+ <?php endif; ?>
201
+ </span>
202
+ </td>
203
+ <td class="a-right nowrap">
204
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
205
+ <span class="price-excl-tax">
206
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
207
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
208
+ <span class="cart-price">
209
+ <?php endif; ?>
210
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
211
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
212
+ </span>
213
+ <?php endif; ?>
214
+ <?php endif; ?>
215
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
216
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
217
+ <?php else: ?>
218
+ <span class="cart-price">
219
+ <?php endif; ?>
220
+
221
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
222
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
223
+ <?php else: ?>
224
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
225
+ <?php endif; ?>
226
+
227
+ </span>
228
+
229
+
230
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
231
+
232
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
233
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
234
+ <small>
235
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
236
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
237
+ <?php endforeach; ?>
238
+ </small>
239
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
240
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
241
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
242
+ <?php endforeach; ?>
243
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
244
+ <small>
245
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
246
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
247
+ <?php endforeach; ?>
248
+ </small>
249
+ <?php endif; ?>
250
+ </span>
251
+
252
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
253
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
254
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
255
+ </span>
256
+ <?php endif; ?>
257
+ <?php endif; ?>
258
+ </span>
259
+ <br />
260
+ <?php endif; ?>
261
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
262
+ <span class="price-incl-tax">
263
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
264
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
265
+ <span class="cart-price">
266
+ <?php endif; ?>
267
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
268
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
269
+ </span>
270
+ <?php endif; ?>
271
+ <?php endif; ?>
272
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
273
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
274
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
275
+ <?php else: ?>
276
+ <span class="cart-price">
277
+ <?php endif; ?>
278
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
279
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
280
+ <?php else: ?>
281
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
282
+ <?php endif; ?>
283
+
284
+ </span>
285
+
286
+
287
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
288
+
289
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
290
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
291
+ <small>
292
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
293
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
294
+ <?php endforeach; ?>
295
+ </small>
296
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
297
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
298
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
299
+ <?php endforeach; ?>
300
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
301
+ <small>
302
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
303
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
304
+ <?php endforeach; ?>
305
+ </small>
306
+ <?php endif; ?>
307
+ </span>
308
+
309
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
310
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
311
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
312
+ </span>
313
+ <?php endif; ?>
314
+ <?php endif; ?>
315
+
316
+
317
+
318
+ </span>
319
+ <?php endif; ?>
320
+ </td>
321
+ <!--
322
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
323
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
324
+ <?php endif; ?>
325
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
326
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
327
+ <?php endif; ?>
328
+ -->
329
+ </tr>
app/design/frontend/default/default_rtl/template/newsletter/subscribe.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-subscribe">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Newsletter') ?></span></strong>
30
+ </div>
31
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
32
+ <div class="block-content">
33
+ <label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
34
+ <div class="input-box">
35
+ <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" onfocus="makeFieldLtr(this)" onblur="makeFieldRtl(this)" />
36
+ </div>
37
+ <div class="actions">
38
+ <button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
39
+ </div>
40
+ </div>
41
+ </form>
42
+ <script type="text/javascript">
43
+ //<![CDATA[
44
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
45
+
46
+ function makeFieldLtr($this)
47
+ {
48
+ $this.style.direction = 'ltr';
49
+ $this.style.textAlign = 'left';
50
+ }
51
+
52
+ function makeFieldRtl($this)
53
+ {
54
+ $this.value = $this.value.replace(/\s/g, '');
55
+ if (!$this.value) {
56
+ $this.style.direction = 'rtl';
57
+ $this.style.textAlign = 'right';
58
+ }
59
+ }
60
+ //]]>
61
+ </script>
62
+ </div>
app/design/frontend/default/default_rtl/template/page/html/footer.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="footer-container">
28
+ <div class="footer">
29
+ <?php echo $this->getChildHtml() ?>
30
+ <p class="bugs"><?php echo $this->__('Help Us to Keep Magento Healthy') ?> - <a href="http://www.magentocommerce.com/bug-tracking" onclick="this.target='_blank'"><strong><?php echo $this->__('Report All Bugs') ?></strong></a> <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?></p>
31
+ <address><?php echo $this->getCopyright() ?></address>
32
+ <div class="footer-copyrigh-logo"><a href="http://www.codnitive.com/" target="_blank"><img src="<?php echo $this->getSkinUrl('images/footer_copyright_logo.png') ?>" alt="Powered by CODNITIVE&trade;" title="Powered by CODNITIVE&trade;"/></a></div>
33
+ </div>
34
+ </div>
app/design/frontend/default/default_rtl/template/page/html/pager.phtml ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Pager template
30
+ *
31
+ * @see Mage_Page_Block_Html_Pager
32
+ */
33
+ ?>
34
+ <?php if($this->getCollection()->getSize()): ?>
35
+
36
+ <?php if($this->getUseContainer()): ?>
37
+ <div class="pager">
38
+ <?php endif ?>
39
+
40
+ <?php if($this->getShowAmounts()): ?>
41
+ <p class="amount">
42
+ <?php if($this->getLastPageNum()>1): ?>
43
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
44
+ <?php else: ?>
45
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
46
+ <?php endif; ?>
47
+ </p>
48
+ <?php endif ?>
49
+
50
+ <?php if($this->getShowPerPage()): ?>
51
+ <div class="limiter">
52
+ <label><?php echo $this->__('Show') ?></label>
53
+ <select onchange="setLocation(this.value)">
54
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
55
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
56
+ <?php echo $_limit ?>
57
+ </option>
58
+ <?php endforeach; ?>
59
+ </select> <?php echo $this->__('per page') ?>
60
+ </div>
61
+ <?php endif ?>
62
+
63
+ <?php if($this->getLastPageNum()>1): ?>
64
+ <div class="pages">
65
+ <strong><?php echo $this->__('Page:') ?></strong>
66
+ <ol>
67
+ <?php if (!$this->isFirstPage()): ?>
68
+ <li>
69
+ <a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
70
+ <?php if(!$this->getAnchorTextForPrevious()): ?>
71
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" /></a>
72
+ <?php else: ?>
73
+ <?php echo $this->getAnchorTextForPrevious() ?></a>
74
+ <?php endif;?>
75
+ <!--</a>-->
76
+ </li>
77
+ <?php endif;?>
78
+
79
+ <?php if ($this->canShowFirst()): ?>
80
+ <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
81
+ <?php endif;?>
82
+
83
+ <?php if ($this->canShowPreviousJump()): ?>
84
+ <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
85
+ <?php endif;?>
86
+
87
+ <?php foreach ($this->getFramePages() as $_page): ?>
88
+ <?php if ($this->isPageCurrent($_page)): ?>
89
+ <li class="current"><?php echo $_page ?></li>
90
+ <?php else: ?>
91
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
92
+ <?php endif;?>
93
+ <?php endforeach;?>
94
+
95
+
96
+ <?php if ($this->canShowNextJump()): ?>
97
+ <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
98
+ <?php endif;?>
99
+
100
+ <?php if ($this->canShowLast()): ?>
101
+ <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a></li>
102
+ <?php endif;?>
103
+
104
+ <?php if (!$this->isLastPage()): ?>
105
+ <li>
106
+ <a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
107
+ <?php if(!$this->getAnchorTextForNext()): ?>
108
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" /></a>
109
+ <?php else: ?>
110
+ <?php echo $this->getAnchorTextForNext() ?></a>
111
+ <?php endif;?>
112
+ <!--</a>-->
113
+ </li>
114
+ <?php endif;?>
115
+ </ol>
116
+
117
+ </div>
118
+ <?php endif; ?>
119
+
120
+ <?php if($this->getUseContainer()): ?>
121
+ </div>
122
+ <?php endif ?>
123
+
124
+ <?php endif ?>
app/design/frontend/default/default_rtl/template/sales/order/creditmemo/items.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <p class="order-links"><a href="<?php echo $this->getPrintAllCreditmemosUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Refunds') ?></a></p>
29
+ <?php foreach ($_order->getCreditmemosCollection() as $_creditmemo): ?>
30
+ <h2 class="sub-title"><?php echo $this->__('Refund #') ?><?php echo $_creditmemo->getIncrementId(); ?> <span class="separator">|</span> <a href="<?php echo $this->getPrintCreditmemoUrl($_creditmemo) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print Refund') ?></a></h2>
31
+ <h3 class="table-caption"><?php echo $this->__('Items Refunded') ?></h3>
32
+ <table class="data-table" id="my-refund-table-<?php echo $_creditmemo->getId(); ?>">
33
+ <col />
34
+ <col width="1" />
35
+ <col width="1" />
36
+ <col width="1" />
37
+ <col width="1" />
38
+ <col width="1" />
39
+ <col width="1" />
40
+ <thead>
41
+ <tr>
42
+ <th><?php echo $this->__('Product Name') ?></th>
43
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
44
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
45
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
46
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
47
+ <th class="a-center wrap"><?php echo $this->__('Discount Amount') ?></th>
48
+ <th class="a-right wrap"><?php echo $this->__('Row Total') ?></th>
49
+ </tr>
50
+ </thead>
51
+ <tfoot>
52
+ <?php echo $this->getTotalsHtml($_creditmemo);?>
53
+ </tfoot>
54
+ <?php $_items = $_creditmemo->getAllItems(); ?>
55
+ <?php $_count = count($_items) ?>
56
+ <?php foreach ($_items as $_item): ?>
57
+ <?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
58
+ <tbody>
59
+ <?php echo $this->getItemHtml($_item) ?>
60
+ </tbody>
61
+ <?php endforeach; ?>
62
+ </table>
63
+ <script type="text/javascript">decorateTable('my-refund-table-<?php echo $_creditmemo->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
64
+ <?php echo $this->getCommentsHtml($_creditmemo)?>
65
+ <?php endforeach; ?>
app/design/frontend/default/default_rtl/template/sales/order/creditmemo/items/renderer/default.phtml ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
31
+ <?php if($_options = $this->getItemOptions()): ?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <?php if (!$this->getPrintStatus()): ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
42
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
43
+ </dl>
44
+ </div>
45
+ <?php endif; ?>
46
+ </dd>
47
+ <?php else: ?>
48
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <?php endif; ?>
53
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
54
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
55
+ <a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
56
+ <?php endif; ?>
57
+ </td>
58
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
59
+ <td class="a-right">
60
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
61
+ <span class="price-excl-tax">
62
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
63
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
64
+ <span class="cart-price">
65
+ <?php endif; ?>
66
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
67
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
68
+ </span>
69
+ <?php endif; ?>
70
+ <?php endif; ?>
71
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
72
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
73
+ <?php else: ?>
74
+ <span class="cart-price">
75
+ <?php endif; ?>
76
+
77
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
78
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
79
+ <?php else: ?>
80
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
81
+ <?php endif; ?>
82
+
83
+ </span>
84
+
85
+
86
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
87
+
88
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
89
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
90
+ <small>
91
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
92
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
93
+ <?php endforeach; ?>
94
+ </small>
95
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
96
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
97
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
98
+ <?php endforeach; ?>
99
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
100
+ <small>
101
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
102
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
103
+ <?php endforeach; ?>
104
+ </small>
105
+ <?php endif; ?>
106
+ </span>
107
+
108
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
109
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
110
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
111
+ </span>
112
+ <?php endif; ?>
113
+ <?php endif; ?>
114
+ </span>
115
+ <br />
116
+ <?php endif; ?>
117
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
118
+ <span class="price-incl-tax">
119
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
120
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
121
+ <span class="cart-price">
122
+ <?php endif; ?>
123
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
124
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
125
+ </span>
126
+ <?php endif; ?>
127
+ <?php endif; ?>
128
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
129
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
130
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
131
+ <?php else: ?>
132
+ <span class="cart-price">
133
+ <?php endif; ?>
134
+
135
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
136
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
137
+ <?php else: ?>
138
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
139
+ <?php endif; ?>
140
+
141
+ </span>
142
+
143
+
144
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
145
+
146
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
147
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
148
+ <small>
149
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
150
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
151
+ <?php endforeach; ?>
152
+ </small>
153
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
154
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
155
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
156
+ <?php endforeach; ?>
157
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
158
+ <small>
159
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
160
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
161
+ <?php endforeach; ?>
162
+ </small>
163
+ <?php endif; ?>
164
+ </span>
165
+
166
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
167
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
168
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
169
+ </span>
170
+ <?php endif; ?>
171
+ <?php endif; ?>
172
+ </span>
173
+ <?php endif; ?>
174
+ </td>
175
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
176
+ <td class="a-right">
177
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
178
+ <span class="price-excl-tax">
179
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
180
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
181
+ <span class="cart-price">
182
+ <?php endif; ?>
183
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
184
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
185
+ </span>
186
+ <?php endif; ?>
187
+ <?php endif; ?>
188
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
189
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
190
+ <?php else: ?>
191
+ <span class="cart-price">
192
+ <?php endif; ?>
193
+
194
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
195
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
196
+ <?php else: ?>
197
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
198
+ <?php endif; ?>
199
+
200
+ </span>
201
+
202
+
203
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
204
+
205
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
206
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
207
+ <small>
208
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
209
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
210
+ <?php endforeach; ?>
211
+ </small>
212
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
213
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
214
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
215
+ <?php endforeach; ?>
216
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
217
+ <small>
218
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
219
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
220
+ <?php endforeach; ?>
221
+ </small>
222
+ <?php endif; ?>
223
+ </span>
224
+
225
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
226
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
227
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
228
+ </span>
229
+ <?php endif; ?>
230
+ <?php endif; ?>
231
+ </span>
232
+ <br />
233
+ <?php endif; ?>
234
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
235
+ <span class="price-incl-tax">
236
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
237
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
238
+ <span class="cart-price">
239
+ <?php endif; ?>
240
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
241
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
242
+ </span>
243
+ <?php endif; ?>
244
+ <?php endif; ?>
245
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
246
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
247
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
248
+ <?php else: ?>
249
+ <span class="cart-price">
250
+ <?php endif; ?>
251
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
252
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
253
+ <?php else: ?>
254
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
255
+ <?php endif; ?>
256
+
257
+ </span>
258
+
259
+
260
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
261
+
262
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
263
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
264
+ <small>
265
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
266
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
267
+ <?php endforeach; ?>
268
+ </small>
269
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
270
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
271
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
272
+ <?php endforeach; ?>
273
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
274
+ <small>
275
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
276
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
277
+ <?php endforeach; ?>
278
+ </small>
279
+ <?php endif; ?>
280
+ </span>
281
+
282
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
283
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
284
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
285
+ </span>
286
+ <?php endif; ?>
287
+ <?php endif; ?>
288
+
289
+
290
+
291
+ </span>
292
+ <?php endif; ?>
293
+ </td>
294
+ <td class="a-right"><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
295
+ <td class="last a-right">
296
+ <?php echo $_order->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()+$_item->getWeeeTaxAppliedRowAmount()) ?>
297
+ </td>
298
+ </tr>
app/design/frontend/default/default_rtl/template/sales/order/invoice/items.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <p class="order-links"><a href="<?php echo $this->getPrintAllInvoicesUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Invoices') ?></a></p>
29
+ <?php foreach ($_order->getInvoiceCollection() as $_invoice): ?>
30
+ <h2 class="sub-title"><?php echo $this->__('Invoice #') ?><?php echo $_invoice->getIncrementId(); ?> <span class="separator">|</span> <a href="<?php echo $this->getPrintInvoiceUrl($_invoice) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print Invoice') ?></a></h2>
31
+ <h3 class="table-caption"><?php echo $this->__('Items Invoiced') ?></h3>
32
+ <table class="data-table" id="my-invoice-table-<?php echo $_invoice->getId(); ?>">
33
+ <col />
34
+ <col width="1" />
35
+ <col width="1" />
36
+ <col width="1" />
37
+ <col width="1" />
38
+ <thead>
39
+ <tr>
40
+ <th><?php echo $this->__('Product Name') ?></th>
41
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
42
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
43
+ <th class="a-center"><span class="nobr"><?php echo $this->__('Qty Invoiced') ?></span></th>
44
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
45
+ </tr>
46
+ </thead>
47
+ <tfoot>
48
+ <?php echo $this->getInvoiceTotalsHtml($_invoice)?>
49
+ </tfoot>
50
+ <?php $_items = $_invoice->getAllItems(); ?>
51
+ <?php $_count = count($_items) ?>
52
+ <?php foreach ($_items as $_item): ?>
53
+ <?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
54
+ <tbody>
55
+ <?php echo $this->getItemHtml($_item) ?>
56
+ </tbody>
57
+ <?php endforeach; ?>
58
+ </table>
59
+ <script type="text/javascript">decorateTable('my-invoice-table-<?php echo $_invoice->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
60
+ <?php echo $this->getInvoiceCommentsHtml($_invoice)?>
61
+ <?php endforeach; ?>
app/design/frontend/default/default_rtl/template/sales/order/invoice/items/renderer/default.phtml ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
31
+ <?php if($_options = $this->getItemOptions()): ?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <?php if (!$this->getPrintStatus()): ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
38
+ <?php echo $_formatedOptionValue['value'] ?>
39
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
40
+ <div class="truncated_full_value">
41
+ <dl class="item-options">
42
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
43
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
44
+ </dl>
45
+ </div>
46
+ <?php endif; ?>
47
+ </dd>
48
+ <?php else: ?>
49
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
50
+ <?php endif; ?>
51
+ <?php endforeach; ?>
52
+ </dl>
53
+ <?php endif; ?>
54
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
55
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
56
+ <a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
57
+ <?php endif; ?>
58
+ </td>
59
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
60
+ <td class="a-right">
61
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
62
+ <span class="price-excl-tax">
63
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
64
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
65
+ <span class="cart-price">
66
+ <?php endif; ?>
67
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
68
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
69
+ </span>
70
+ <?php endif; ?>
71
+ <?php endif; ?>
72
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
73
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
74
+ <?php else: ?>
75
+ <span class="cart-price">
76
+ <?php endif; ?>
77
+
78
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
79
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
80
+ <?php else: ?>
81
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
82
+ <?php endif; ?>
83
+
84
+ </span>
85
+
86
+
87
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
88
+
89
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
90
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
91
+ <small>
92
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
93
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
94
+ <?php endforeach; ?>
95
+ </small>
96
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
97
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
98
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
99
+ <?php endforeach; ?>
100
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
101
+ <small>
102
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
103
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
104
+ <?php endforeach; ?>
105
+ </small>
106
+ <?php endif; ?>
107
+ </span>
108
+
109
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
110
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
111
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
112
+ </span>
113
+ <?php endif; ?>
114
+ <?php endif; ?>
115
+ </span>
116
+ <br />
117
+ <?php endif; ?>
118
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
119
+ <span class="price-incl-tax">
120
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
121
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
122
+ <span class="cart-price">
123
+ <?php endif; ?>
124
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
125
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
126
+ </span>
127
+ <?php endif; ?>
128
+ <?php endif; ?>
129
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
130
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
131
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
132
+ <?php else: ?>
133
+ <span class="cart-price">
134
+ <?php endif; ?>
135
+
136
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
137
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
138
+ <?php else: ?>
139
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
140
+ <?php endif; ?>
141
+
142
+ </span>
143
+
144
+
145
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
146
+
147
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
148
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
149
+ <small>
150
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
151
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
152
+ <?php endforeach; ?>
153
+ </small>
154
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
155
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
156
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
157
+ <?php endforeach; ?>
158
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
159
+ <small>
160
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
161
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
162
+ <?php endforeach; ?>
163
+ </small>
164
+ <?php endif; ?>
165
+ </span>
166
+
167
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
168
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
169
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
170
+ </span>
171
+ <?php endif; ?>
172
+ <?php endif; ?>
173
+ </span>
174
+ <?php endif; ?>
175
+ </td>
176
+ <td class="a-center"><?php echo $_item->getQty()*1 ?> </td>
177
+ <td class="a-right">
178
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
179
+ <span class="price-excl-tax">
180
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
181
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
182
+ <span class="cart-price">
183
+ <?php endif; ?>
184
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
185
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
186
+ </span>
187
+ <?php endif; ?>
188
+ <?php endif; ?>
189
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
190
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
191
+ <?php else: ?>
192
+ <span class="cart-price">
193
+ <?php endif; ?>
194
+
195
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
196
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
197
+ <?php else: ?>
198
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
199
+ <?php endif; ?>
200
+
201
+ </span>
202
+
203
+
204
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
205
+
206
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
207
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
208
+ <small>
209
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
210
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
211
+ <?php endforeach; ?>
212
+ </small>
213
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
214
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
215
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
216
+ <?php endforeach; ?>
217
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
218
+ <small>
219
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
220
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
221
+ <?php endforeach; ?>
222
+ </small>
223
+ <?php endif; ?>
224
+ </span>
225
+
226
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
227
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
228
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
229
+ </span>
230
+ <?php endif; ?>
231
+ <?php endif; ?>
232
+ </span>
233
+ <br />
234
+ <?php endif; ?>
235
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
236
+ <span class="price-incl-tax">
237
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
238
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
239
+ <span class="cart-price">
240
+ <?php endif; ?>
241
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
242
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
243
+ </span>
244
+ <?php endif; ?>
245
+ <?php endif; ?>
246
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
247
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
248
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
249
+ <?php else: ?>
250
+ <span class="cart-price">
251
+ <?php endif; ?>
252
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
253
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
254
+ <?php else: ?>
255
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
256
+ <?php endif; ?>
257
+
258
+ </span>
259
+
260
+
261
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
262
+
263
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
264
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
265
+ <small>
266
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
267
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
268
+ <?php endforeach; ?>
269
+ </small>
270
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
271
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
272
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
273
+ <?php endforeach; ?>
274
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
275
+ <small>
276
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
277
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
278
+ <?php endforeach; ?>
279
+ </small>
280
+ <?php endif; ?>
281
+ </span>
282
+
283
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
284
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
285
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
286
+ </span>
287
+ <?php endif; ?>
288
+ <?php endif; ?>
289
+
290
+
291
+
292
+ </span>
293
+ <?php endif; ?>
294
+ </td>
295
+ </tr>
app/design/frontend/default/default_rtl/template/sales/order/items.phtml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <table class="data-table" id="my-orders-table" summary="<?php echo $this->__('Items Ordered') ?>">
29
+ <col />
30
+ <col width="1" />
31
+ <col width="1" />
32
+ <col width="1" />
33
+ <col width="1" />
34
+ <thead>
35
+ <tr>
36
+ <th><?php echo $this->__('Product Name') ?></th>
37
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
38
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
39
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
40
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
41
+ </tr>
42
+ </thead>
43
+ <tfoot>
44
+ <?php echo $this->getChildHtml('order_totals') ?>
45
+ </tfoot>
46
+ <?php $_items = $_order->getItemsCollection(); ?>
47
+ <?php $_index = 0; ?>
48
+ <?php $_count = $_items->count(); ?>
49
+ <?php foreach ($_items as $_item): ?>
50
+ <?php if ($_item->getParentItem()) continue; ?>
51
+ <tbody>
52
+ <?php echo $this->getItemHtml($_item) ?>
53
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
54
+ <tr class="border<?php echo ($_index++ > $_count ?' last':'') ?>" id="order-item-gift-message-<?php echo $_item->getId() ?>" style="display:none;">
55
+ <?php $_giftMessage=$this->helper('giftmessage/message')->getGiftMessageForEntity($_item); ?>
56
+ <td class="gift-message-row" colspan="7">
57
+ <a href="#" title="<?php echo $this->__('Close') ?>" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>');" class="btn-close"><?php echo $this->__('Close') ?></a>
58
+ <dl class="gift-message">
59
+ <dt><strong><?php echo $this->__('From:') ?></strong> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?></dt>
60
+ <dt><strong><?php echo $this->__('To:') ?></strong> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?></dt>
61
+ <dd><?php echo $this->helper('giftmessage/message')->getEscapedGiftMessage($_item) ?></dd>
62
+ </dl>
63
+ </td>
64
+ </tr>
65
+ <?php endif ?>
66
+ </tbody>
67
+ <?php endforeach; ?>
68
+ </table>
69
+ <script type="text/javascript">decorateTable('my-orders-table', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
app/design/frontend/default/default_rtl/template/sales/order/items/renderer/default.phtml ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
29
+ <td><h3 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h3>
30
+ <?php if($_options = $this->getItemOptions()): ?>
31
+ <dl class="item-options">
32
+ <?php foreach ($_options as $_option) : ?>
33
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
34
+ <?php if (!$this->getPrintStatus()): ?>
35
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
36
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
37
+ <?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
42
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
43
+ </dl>
44
+ </div>
45
+ <?php endif; ?>
46
+ </dd>
47
+ <?php else: ?>
48
+ <dd>
49
+ <?php echo nl2br($this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) )) ?>
50
+ </dd>
51
+ <?php endif; ?>
52
+ <?php endforeach; ?>
53
+ </dl>
54
+ <?php endif; ?>
55
+ <?php $addtInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
56
+ <?php if ($addtInfoBlock) :?>
57
+ <?php echo $addtInfoBlock->setItem($_item)->toHtml(); ?>
58
+ <?php endif; ?>
59
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
60
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
61
+ <a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
62
+ <?php endif; ?>
63
+ </td>
64
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
65
+ <td class="a-right">
66
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
67
+ <span class="price-excl-tax">
68
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
69
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
70
+ <span class="cart-price">
71
+ <?php endif; ?>
72
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
73
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
74
+ </span>
75
+ <?php endif; ?>
76
+ <?php endif; ?>
77
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
78
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
79
+ <?php else: ?>
80
+ <span class="cart-price">
81
+ <?php endif; ?>
82
+
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
84
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
85
+ <?php else: ?>
86
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
87
+ <?php endif; ?>
88
+
89
+ </span>
90
+
91
+
92
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
93
+
94
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
95
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
96
+ <small>
97
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
98
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
99
+ <?php endforeach; ?>
100
+ </small>
101
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
102
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
103
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
104
+ <?php endforeach; ?>
105
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
106
+ <small>
107
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
108
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
109
+ <?php endforeach; ?>
110
+ </small>
111
+ <?php endif; ?>
112
+ </span>
113
+
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
115
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
116
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
117
+ </span>
118
+ <?php endif; ?>
119
+ <?php endif; ?>
120
+ </span>
121
+ <br />
122
+ <?php endif; ?>
123
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
124
+ <span class="price-incl-tax">
125
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
126
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
127
+ <span class="cart-price">
128
+ <?php endif; ?>
129
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
130
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
131
+ </span>
132
+ <?php endif; ?>
133
+ <?php endif; ?>
134
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
135
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
136
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
137
+ <?php else: ?>
138
+ <span class="cart-price">
139
+ <?php endif; ?>
140
+
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
142
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
143
+ <?php else: ?>
144
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
145
+ <?php endif; ?>
146
+
147
+ </span>
148
+
149
+
150
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
151
+
152
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
153
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
154
+ <small>
155
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
156
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
157
+ <?php endforeach; ?>
158
+ </small>
159
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
160
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
161
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
162
+ <?php endforeach; ?>
163
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
164
+ <small>
165
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
166
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
167
+ <?php endforeach; ?>
168
+ </small>
169
+ <?php endif; ?>
170
+ </span>
171
+
172
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
173
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
174
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
175
+ </span>
176
+ <?php endif; ?>
177
+ <?php endif; ?>
178
+ </span>
179
+ <?php endif; ?>
180
+ </td>
181
+ <td class="rtl-left-align">
182
+ <span class="nobr">
183
+ <?php if ($this->getItem()->getQtyOrdered() > 0): ?>
184
+ <?php echo $this->__('Ordered'); ?>: <strong><?php echo $this->getItem()->getQtyOrdered()*1 ?></strong><br />
185
+ <?php endif; ?>
186
+ <?php if ($this->getItem()->getQtyShipped() > 0): ?>
187
+ <?php echo $this->__('Shipped'); ?>: <strong><?php echo $this->getItem()->getQtyShipped()*1 ?></strong><br />
188
+ <?php endif; ?>
189
+ <?php if ($this->getItem()->getQtyCanceled() > 0): ?>
190
+ <?php echo $this->__('Canceled'); ?>: <strong><?php echo $this->getItem()->getQtyCanceled()*1 ?></strong><br />
191
+ <?php endif; ?>
192
+ <?php if ($this->getItem()->getQtyRefunded() > 0): ?>
193
+ <?php echo $this->__('Refunded'); ?>: <strong><?php echo $this->getItem()->getQtyRefunded()*1 ?></strong><br />
194
+ <?php endif; ?>
195
+ </span>
196
+ </td>
197
+ <td class="a-right">
198
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
199
+ <span class="price-excl-tax">
200
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
201
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
202
+ <span class="cart-price">
203
+ <?php endif; ?>
204
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
205
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
206
+ </span>
207
+ <?php endif; ?>
208
+ <?php endif; ?>
209
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
210
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
211
+ <?php else: ?>
212
+ <span class="cart-price">
213
+ <?php endif; ?>
214
+
215
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
216
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
217
+ <?php else: ?>
218
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
219
+ <?php endif; ?>
220
+
221
+ </span>
222
+
223
+
224
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
225
+
226
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
227
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
228
+ <small>
229
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
230
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
231
+ <?php endforeach; ?>
232
+ </small>
233
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
234
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
235
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
236
+ <?php endforeach; ?>
237
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
238
+ <small>
239
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
240
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
241
+ <?php endforeach; ?>
242
+ </small>
243
+ <?php endif; ?>
244
+ </span>
245
+
246
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
247
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
248
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
249
+ </span>
250
+ <?php endif; ?>
251
+ <?php endif; ?>
252
+ </span>
253
+ <br />
254
+ <?php endif; ?>
255
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
256
+ <span class="price-incl-tax">
257
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
258
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
259
+ <span class="cart-price">
260
+ <?php endif; ?>
261
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
262
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
263
+ </span>
264
+ <?php endif; ?>
265
+ <?php endif; ?>
266
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
267
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
268
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
269
+ <?php else: ?>
270
+ <span class="cart-price">
271
+ <?php endif; ?>
272
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
273
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
274
+ <?php else: ?>
275
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
276
+ <?php endif; ?>
277
+
278
+ </span>
279
+
280
+
281
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
282
+
283
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
284
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
285
+ <small>
286
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
287
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
288
+ <?php endforeach; ?>
289
+ </small>
290
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
291
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
292
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
293
+ <?php endforeach; ?>
294
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
295
+ <small>
296
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
297
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
298
+ <?php endforeach; ?>
299
+ </small>
300
+ <?php endif; ?>
301
+ </span>
302
+
303
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
304
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
305
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
306
+ </span>
307
+ <?php endif; ?>
308
+ <?php endif; ?>
309
+
310
+
311
+
312
+ </span>
313
+ <?php endif; ?>
314
+ </td>
315
+ <!--
316
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
317
+ <th class="a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
318
+ <?php endif; ?>
319
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
320
+ <th class="a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
321
+ <?php endif; ?>
322
+ -->
323
+ </tr>
app/design/frontend/default/default_rtl/template/sales/order/print.phtml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <h1><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h1>
29
+ <p class="order-date"><?php echo $this->__('Order Date: %s', $this->formatDate($_order->getCreatedAtStoreDate(), 'long')) ?></p>
30
+ <div class="col2-set">
31
+ <?php if (!$_order->getIsVirtual()): ?>
32
+ <div class="col-1">
33
+ <h2><?php echo $this->__('Shipping Address') ?></h2>
34
+ <address><?php echo $_order->getShippingAddress()->format('html') ?></address>
35
+ </div>
36
+ <div class="col-2">
37
+ <?php else: ?>
38
+ <div class="col-1">
39
+ <?php endif; ?>
40
+ <h2><?php echo $this->__('Billing Address') ?></h2>
41
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
42
+ </div>
43
+ <?php if (!$_order->getIsVirtual()): ?>
44
+ </div>
45
+ <div class="col2-set">
46
+ <div class="col-1">
47
+ <h2><?php echo $this->__('Shipping Method') ?></h2>
48
+ <?php echo $_order->getShippingDescription() ?>
49
+ </div>
50
+ <?php endif; ?>
51
+ <div class="col-2">
52
+ <h2><?php echo $this->__('Payment Method') ?></h2>
53
+ <?php echo $this->getPaymentInfoHtml() ?>
54
+ </div>
55
+ </div>
56
+ <h2><?php echo $this->__('Items Ordered') ?></h2>
57
+ <table class="data-table" id="my-orders-table">
58
+ <col />
59
+ <col width="1" />
60
+ <col width="1" />
61
+ <col width="1" />
62
+ <col width="1" />
63
+ <thead>
64
+ <tr>
65
+ <th><?php echo $this->__('Product Name') ?></th>
66
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
67
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
68
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
69
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
70
+ </tr>
71
+ </thead>
72
+ <tfoot>
73
+ <?php echo $this->getChildHtml('order_totals') ?>
74
+ </tfoot>
75
+ <?php $_items = $_order->getItemsCollection(); ?>
76
+ <?php $_count = $_items->count(); ?>
77
+ <?php foreach ($_items as $_item): ?>
78
+ <?php if ($_item->getParentItem()) continue; ?>
79
+ <tbody>
80
+ <?php echo $this->getItemHtml($_item) ?>
81
+ </tbody>
82
+ <?php endforeach; ?>
83
+ </table>
84
+ <script type="text/javascript">decorateTable('my-orders-table', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
85
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/default_rtl/template/sales/order/print/creditmemo.phtml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <h1><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h1>
29
+ <p class="order-date"><?php echo $this->__('Order Date: %s', $this->formatDate($_order->getCreatedAtStoreDate(), 'long')) ?></p>
30
+ <?php $_creditmemo = $this->getCreditmemo() ?>
31
+ <?php if($_creditmemo): ?>
32
+ <?php $_creditmemos = array($_creditmemo); ?>
33
+ <?php else: ?>
34
+ <?php $_creditmemos = $_order->getCreditmemosCollection() ?>
35
+ <?php endif; ?>
36
+ <?php foreach ($_creditmemos as $_creditmemo): ?>
37
+ <h2 class="h2"><?php echo $this->__('Refund #%s', $_creditmemo->getIncrementId()) ?></h2>
38
+ <div class="col2-set">
39
+ <div class="col-1">
40
+ <?php if (!$_order->getIsVirtual()): ?>
41
+ <h3><?php echo $this->__('Shipping Address') ?></h3>
42
+ <?php $_shipping = $_creditmemo->getShippingAddress() ?>
43
+ <address><?php echo $_shipping->format('html') ?></address>
44
+ </div>
45
+ <div class="col-2">
46
+ <?php endif; ?>
47
+ <h3><?php echo $this->__('Billing Address') ?></h3>
48
+ <?php $_billing = $_creditmemo->getbillingAddress() ?>
49
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
50
+ </div>
51
+ <?php if (!$_order->getIsVirtual()): ?>
52
+ </div>
53
+ <div class="col2-set">
54
+ <div class="col-1">
55
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
56
+ <?php echo $_order->getShippingDescription() ?>
57
+ </div>
58
+ <?php endif; ?>
59
+ <div class="col-2">
60
+ <h3><?php echo $this->__('Payment Method') ?></h3>
61
+ <?php echo $this->getPaymentInfoHtml() ?>
62
+ </div>
63
+ </div>
64
+ <h3><?php echo $this->__('Items Refunded') ?></h3>
65
+ <table class="data-table" id="my-refund-table-<?php echo $_creditmemo->getId(); ?>">
66
+ <col />
67
+ <col width="1" />
68
+ <col width="1" />
69
+ <col width="1" />
70
+ <col width="1" />
71
+ <col width="1" />
72
+ <col width="1" />
73
+ <thead>
74
+ <tr>
75
+ <th><?php echo $this->__('Product Name') ?></th>
76
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
77
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
78
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
79
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
80
+ <th class="a-center wrap"><?php echo $this->__('Discount Amount') ?></th>
81
+ <th class="a-center wrap"><?php echo $this->__('Row Total') ?></th>
82
+ </tr>
83
+ </thead>
84
+ <tfoot>
85
+ <?php echo $this->getTotalsHtml($_creditmemo);?>
86
+ </tfoot>
87
+ <?php $_items = $_creditmemo->getAllItems(); ?>
88
+ <?php $_count = count($_items); ?>
89
+ <?php foreach ($_items as $_item): ?>
90
+ <?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
91
+ <tbody>
92
+ <?php echo $this->getItemHtml($_item) ?>
93
+ </tbody>
94
+ <?php endforeach; ?>
95
+ </table>
96
+ <script type="text/javascript">decorateTable('my-refund-table-<?php echo $_creditmemo->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
97
+ <?php endforeach; ?>
98
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/default_rtl/template/sales/order/print/invoice.phtml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <h1><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h1>
29
+ <p class="order-date"><?php echo $this->__('Order Date: %s', $this->formatDate($_order->getCreatedAtStoreDate(), 'long')) ?></p>
30
+ <?php $_invoice = $this->getInvoice() ?>
31
+ <?php if($_invoice): ?>
32
+ <?php $_invoices = array($_invoice); ?>
33
+ <?php else: ?>
34
+ <?php $_invoices = $_order->getInvoiceCollection() ?>
35
+ <?php endif; ?>
36
+ <?php foreach ($_invoices as $_invoice): ?>
37
+ <h2 class="h2"><?php echo $this->__('Invoice #%s', $_invoice->getIncrementId()) ?></h2>
38
+ <div class="col2-set">
39
+ <div class="col-1">
40
+ <?php if (!$_order->getIsVirtual()): ?>
41
+ <h3><?php echo $this->__('Shipping Address') ?></h3>
42
+ <?php $_shipping = $_invoice->getShippingAddress() ?>
43
+ <address><?php echo $_shipping->format('html') ?></address>
44
+ </div>
45
+ <div class="col-2">
46
+ <?php endif; ?>
47
+ <h3><?php echo $this->__('Billing Address') ?></h3>
48
+ <?php $_billing = $_invoice->getbillingAddress() ?>
49
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
50
+ </div>
51
+ <?php if (!$_order->getIsVirtual()): ?>
52
+ </div>
53
+ <div class="col2-set">
54
+ <div class="col-1">
55
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
56
+ <?php echo $_order->getShippingDescription() ?>
57
+ </div>
58
+ <?php endif; ?>
59
+ <div class="col-2">
60
+ <h3><?php echo $this->__('Payment Method') ?></h3>
61
+ <?php echo $this->getPaymentInfoHtml() ?>
62
+ </div>
63
+ </div>
64
+ <h3><?php echo $this->__('Items Invoiced') ?></h3>
65
+ <table class="data-table" id="my-invoice-table-<?php echo $_invoice->getId(); ?>">
66
+ <col />
67
+ <col width="1" />
68
+ <col width="1" />
69
+ <col width="1" />
70
+ <col width="1" />
71
+ <thead>
72
+ <tr>
73
+ <th><?php echo $this->__('Product Name') ?></th>
74
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
75
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
76
+ <th class="a-center"><span class="nobr"><?php echo $this->__('Qty Invoiced') ?></span></th>
77
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
78
+ </tr>
79
+ </thead>
80
+ <tfoot>
81
+ <?php echo $this->getInvoiceTotalsHtml($_invoice)?>
82
+ </tfoot>
83
+ <?php $_items = $_invoice->getItemsCollection(); ?>
84
+ <?php $_count = $_items->count(); ?>
85
+ <?php foreach ($_items as $_item): ?>
86
+ <?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
87
+ <tbody>
88
+ <?php echo $this->getItemHtml($_item) ?>
89
+ </tbody>
90
+ <?php endforeach; ?>
91
+ </table>
92
+ <script type="text/javascript">decorateTable('my-invoice-table-<?php echo $_invoice->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
93
+ <?php endforeach; ?>
94
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/default_rtl/template/sales/order/print/shipment.phtml ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /* @var $this Mage_Sales_Block_Order_Print_Shipment */?>
28
+ <?php $order = $this->getOrder(); ?>
29
+ <h1><?php echo $this->__('Order #%s', $this->getObjectData($order, 'real_order_id')); ?></h1>
30
+ <p class="order-date"><?php echo $this->__('Order Date: %s', $this->formatDate($this->getObjectData($order, 'created_at_store_date'), 'long')) ?></p>
31
+ <?php if (!$this->getObjectData($order, 'is_virtual')): ?>
32
+ <?php foreach ($this->getShipmentsCollection() as $shipment): ?>
33
+ <h2 class="h2"><?php echo $this->__('Shipment #%s', $this->getObjectData($shipment, 'increment_id')); ?></h2>
34
+ <div class="col2-set">
35
+ <div class="col-1">
36
+ <h3><?php echo $this->__('Shipping Address') ?></h3>
37
+ <address><?php echo $this->getShipmentAddressFormattedHtml($shipment); ?></address>
38
+ </div>
39
+ <div class="col-2">
40
+ <h3><?php echo $this->__('Billing Address') ?></h3>
41
+ <address><?php echo $this->getBillingAddressFormattedHtml($order); ?></address>
42
+ </div>
43
+ </div>
44
+ <div class="col2-set">
45
+ <div class="col-1">
46
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
47
+ <?php echo $this->escapeHtml($this->getObjectData($order, 'shipping_description')); ?>
48
+ <?php $tracks = $this->getShipmentTracks($shipment);
49
+ if ($tracks): ?>
50
+ <table class="data-table" id="my-shipment-tracking">
51
+ <col />
52
+ <col />
53
+ <thead>
54
+ <tr>
55
+ <th><?php echo Mage::helper('sales')->__('Title')?></th>
56
+ <th><?php echo Mage::helper('sales')->__('Number')?></th>
57
+ </tr>
58
+ </thead>
59
+ <tbody>
60
+ <?php foreach ($tracks as $track): ?>
61
+ <tr>
62
+ <td><?php echo $this->escapeHtml($this->getObjectData($track, 'title')); ?></td>
63
+ <td><?php echo $this->escapeHtml($this->getObjectData($track, 'number')); ?></td>
64
+ </tr>
65
+ <?php endforeach; ?>
66
+ </tbody>
67
+ </table>
68
+ <script type="text/javascript">decorateTable('my-shipment-tracking');</script>
69
+ <?php endif; ?>
70
+ </div>
71
+ <div class="col-2">
72
+ <h3><?php echo $this->__('Payment Method') ?></h3>
73
+ <?php echo $this->getPaymentInfoHtml() ?>
74
+ </div>
75
+ </div>
76
+ <h3><?php echo $this->__('Items Shipped') ?></h3>
77
+ <table class="data-table" id="my-shipment-table-<?php echo $this->getObjectData($shipment, 'id') ?>">
78
+ <col />
79
+ <col width="1" />
80
+ <col width="1" />
81
+ <thead>
82
+ <tr>
83
+ <th><?php echo $this->__('Product Name') ?></th>
84
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
85
+ <th class="a-center"><span class="nobr"><?php echo $this->__('Qty Shipped') ?></span></th>
86
+ </tr>
87
+ </thead>
88
+ <?php foreach ($this->getShipmentItems($shipment) as $item): ?>
89
+ <tbody>
90
+ <?php echo $this->getItemHtml($item) ?>
91
+ </tbody>
92
+ <?php endforeach; ?>
93
+ </table>
94
+ <script type="text/javascript">decorateTable('my-shipment-table-<?php echo $this->getObjectData($shipment, 'id')?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
95
+ <?php endforeach; ?>
96
+ <?php endif; ?>
97
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/default_rtl/template/sales/order/shipment/items.phtml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <p class="order-links">
29
+ <?php if ($_order->getTracksCollection()->count()) : ?>
30
+ <a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo $this->__('Track all shipment(s)') ?>"><?php echo $this->__('Track all shipments') ?></a> <span class="separator">|</span>
31
+ <?php endif; ?>
32
+ <a href="<?php echo $this->getPrintAllShipmentsUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Shipments') ?></a>
33
+ </p>
34
+ <?php foreach ($_order->getShipmentsCollection() as $_shipment): ?>
35
+ <h2 class="sub-title"><?php echo $this->__('Shipment #') ?><?php echo $_shipment->getIncrementId(); ?> <span class="separator">|</span> <a href="<?php echo $this->getPrintShipmentUrl($_shipment) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print Shipment') ?></a></h2>
36
+ <?php $tracks = $_shipment->getTracksCollection(); ?>
37
+ <?php if ($tracks->count()): ?>
38
+ <table class="data-table tracking-table" id="my-tracking-table-<?php echo $_shipment->getId(); ?>">
39
+ <tbody>
40
+ <tr>
41
+ <td colspan="2">
42
+ <a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_shipment) ?>','trackshipment','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo $this->__('Track this shipment') ?>"><?php echo $this->__('Track this shipment') ?></a>
43
+ </td>
44
+ </tr>
45
+ <tr>
46
+ <th class="label"><?php echo $this->__('Tracking Number(s):') ?></th>
47
+ <td>&nbsp;
48
+ <?php
49
+ $i = 1;
50
+ $_size = $tracks->count();
51
+ foreach($tracks as $track): ?>
52
+ <?php if($track->isCustom()): ?>
53
+ <?php echo $track->getNumber() ?>
54
+ <?php else: ?>
55
+ <a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($track) ?>','trackorder','width=800,height=600,left=0,top=0,resizable=yes,scrollbars=yes')" ><?php echo $track->getNumber() ?></a>
56
+ <?php endif; ?>
57
+ <?php if($i!=$_size): ?>, <?php endif; ?>
58
+ <?php $i++;
59
+ endforeach; ?>
60
+ </td>
61
+ </tr>
62
+ </tbody>
63
+ </table>
64
+ <script type="text/javascript">decorateTable('my-tracking-table-<?php echo $_shipment->getId(); ?>')</script>
65
+ <?php endif; ?>
66
+ <h3 class="table-caption"><?php echo $this->__('Items Shipped') ?></h3>
67
+ <table class="data-table" id="my-shipment-table-<?php echo $_shipment->getId(); ?>">
68
+ <col />
69
+ <col width="1" />
70
+ <col width="1" />
71
+ <thead>
72
+ <tr>
73
+ <th><?php echo $this->__('Product Name') ?></th>
74
+ <th class="rtl-left-align"><?php echo $this->__('SKU') ?></th>
75
+ <th class="a-center"><span class="nobr"><?php echo $this->__('Qty Shipped') ?></span></th>
76
+ </tr>
77
+ </thead>
78
+ <?php $_items = $_shipment->getAllItems(); ?>
79
+ <?php $_count = count($_items) ?>
80
+ <?php foreach ($_items as $_item): ?>
81
+ <?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
82
+ <tbody>
83
+ <?php echo $this->getItemHtml($_item) ?>
84
+ </tbody>
85
+ <?php endforeach; ?>
86
+ </table>
87
+ <script type="text/javascript">decorateTable('my-shipment-table-<?php echo $_shipment->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
88
+ <?php echo $this->getCommentsHtml($_shipment)?>
89
+ <?php endforeach; ?>
app/design/frontend/default/default_rtl/template/sales/order/shipment/items/renderer/default.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
31
+ <?php if($_options = $this->getItemOptions()): ?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <?php if (!$this->getPrintStatus()): ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
38
+ <?php echo $_formatedOptionValue['value'] ?>
39
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
40
+ <div class="truncated_full_value">
41
+ <dl class="item-options">
42
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
43
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
44
+ </dl>
45
+ </div>
46
+ <?php endif; ?>
47
+ </dd>
48
+ <?php else: ?>
49
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
50
+ <?php endif; ?>
51
+ <?php endforeach; ?>
52
+ </dl>
53
+ <?php endif; ?>
54
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
55
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
56
+ <a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
57
+ <?php endif; ?>
58
+ </td>
59
+ <td class="rtl-left-align"><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
60
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
61
+ </tr>
app/etc/modules/Codnitive_Codall.xml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * DISCLAIMER
13
+ *
14
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
15
+ * versions in the future. If you wish to customize Magento for your
16
+ * needs please refer to http://www.magentocommerce.com for more information.
17
+ *
18
+ * @category Codnitive
19
+ * @package Codnitive_Codall
20
+ * @author Hassan Barza <support@codnitive.com>
21
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
22
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
23
+ */
24
+ -->
25
+ <config>
26
+ <modules>
27
+ <Codnitive_Codall>
28
+ <active>true</active>
29
+ <codePool>local</codePool>
30
+ <version>1.0.29</version>
31
+ </Codnitive_Codall>
32
+ </modules>
33
+ </config>
app/etc/modules/Codnitive_Defaultrtl.xml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ *
9
+ * DISCLAIMER
10
+ *
11
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
12
+ * versions in the future. If you wish to customize Magento for your
13
+ * needs please refer to http://www.magentocommerce.com for more information.
14
+ *
15
+ * @category Codnitive
16
+ * @package Codnitive_Defaultrtl
17
+ * @author Hassan Barza <h.barza@gmail.com>
18
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
19
+ */
20
+ -->
21
+ <config>
22
+ <modules>
23
+ <Codnitive_Defaultrtl>
24
+ <active>true</active>
25
+ <codePool>community</codePool>
26
+ <depends>
27
+ <Mage_Core />
28
+ </depends>
29
+ <version>1.5.01</version>
30
+ </Codnitive_Defaultrtl>
31
+ </modules>
32
+ </config>
app/locale/en_US/Codnitive_Codall.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ "Information","Information"
2
+ "Contact","Contact"
3
+ "Installed Extensions","Installed Extensions"
app/locale/fa_IR/Codnitive_Codall.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ "Information","اطلاعات"
2
+ "Contact","تماس"
3
+ "Installed Extensions","اکستنشن‌های نصب شده"
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Codnitive_Defaultrtl</name>
4
+ <version>1.5.01</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.opensource.org/licenses/gpl-3.0.html">GNU General Public License, version 3 (GPLv3)</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This is Right to Left edition of Magento default Theme.</summary>
10
+ <description>This theme is Right to Left edition of Magento default theme which is suitable for right to left languages like Persian (Farsi), Hebrew and Arabic.</description>
11
+ <notes>Please note: first test all modules in a test store then install them on your production. Always create a backup of your store, before any extension installation.</notes>
12
+ <authors><author><name>Hassan Barza</name><user>hbarza</user><email>support@codnitive.com</email></author></authors>
13
+ <date>2012-05-04</date>
14
+ <time>12:40:25</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Codnitive_Codall.xml" hash="6e18a95e6783cbdfc9d51c5853265eaa"/><file name="Codnitive_Defaultrtl.xml" hash="194cf0ebaab0068f00157e9ff09dd8df"/></dir></target><target name="magelocal"><dir name="Codnitive"><dir name="Codall"><dir><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Contact.php" hash="62e20a1f93c1b0394a5b1f1fefe09447"/><file name="ECD.php" hash="b0a8c85e5c2d20f513ca17fc5b58ab35"/><dir name="Extensions"><file name="List.php" hash="b06731682a2f24f6b50f01166c4dc4f2"/></dir><file name="PCD.php" hash="b821a4ed3d705567a9d82fb3910d4b50"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="db05202ae83bf9e4cc4454acb5fd8615"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0bed954bf2a459b1f5d6a25050d770d7"/><file name="config.xml" hash="2b54846594d6ca90381a3b5937bd3443"/><file name="system.xml" hash="287da42ea1c5bdf169365f1b54529cd4"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Codnitive_Codall.csv" hash="bea852e5e3c3f17c54d3c21e96115c68"/></dir><dir name="fa_IR"><file name="Codnitive_Codall.csv" hash="3691ccfe6c605575aace69417351e0f7"/></dir></target><target name="magecommunity"><dir name="Codnitive"><dir name="Defaultrtl"><dir><dir name="Block"><dir name="Bundle"><dir name="Catalog"><dir name="Product"><dir name="View"><dir name="Type"><dir name="Bundle"><dir name="Option"><file name="Checkbox.php" hash="55903f97dca5c5229cda735e0b879cb9"/><file name="Radio.php" hash="06d8964bbbf92dc68b82314041d1ac13"/></dir></dir></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><dir name="View"><dir name="Options"><dir name="Type"><file name="Date.php" hash="371ecc3c7bf17185a01dd87aa75315f4"/><file name="Select.php" hash="60306afc74307f54eb7bd95abe13ac84"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="7eb98924316509a59599dd2a65153051"/></dir><dir name="Model"><file name="Config.php" hash="f1a4e443e4f2b93e6900c5cd178f9d23"/></dir><dir name="etc"><file name="config.xml" hash="bcf9219adbead48a568f35d543e3b51f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default_rtl"><dir><dir name="layout"><file name="defaultrtl.xml" hash="70f77e28218ab11e28a2708d6438d2c8"/></dir><dir name="template"><dir name="bundle"><dir name="sales"><dir name="order"><dir name="creditmemo"><dir name="items"><file name="renderer.phtml" hash="8cf45d039f9778c95095e24fd0fc1e4a"/></dir></dir><dir name="invoice"><dir name="items"><file name="renderer.phtml" hash="320ca015a5260502eb0836f5683a4ce2"/></dir></dir><dir name="items"><file name="renderer.phtml" hash="c8e696e7382ab067d40ea995d10f730e"/></dir><dir name="shipment"><dir name="items"><file name="renderer.phtml" hash="4f5fd34604a754daaf72038de86ac062"/></dir></dir></dir></dir></dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="158864615e71581f5020ac36fd1fea0a"/></dir><dir name="product"><dir name="view"><file name="addtocart.phtml" hash="ded802f7b78c62ee29b1ec3627f0d897"/><dir name="options"><dir name="type"><file name="date.phtml" hash="95ee98cd7de078c0ce6d0596ba0f0836"/></dir></dir><file name="tierprices.phtml" hash="6086057e2da1831f65964eb26f990b57"/></dir></dir></dir><dir name="checkout"><dir name="cart"><dir name="sidebar"><file name="default.phtml" hash="8944e23758a74a95725f321c9a67c1d4"/></dir></dir></dir><dir name="downloadable"><dir name="sales"><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="756000be240b092d7977172619dbea36"/></dir></dir></dir><dir name="invoice"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="4a303ce536b6d165f6199e616b46f0b4"/></dir></dir></dir><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="a511a1df287d72443a9d8d947199ff0b"/></dir></dir></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="98fceb7c47be962fd313eb6134d0a035"/></dir><dir name="page"><dir name="html"><file name="footer.phtml" hash="b383c190fe5fc586e1050a223eb7b77d"/><file name="pager.phtml" hash="44113ae4a8fc2462fd148ab9b8159270"/></dir></dir><dir name="sales"><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="76c2b1ba9293319596162b04440bfbdb"/></dir></dir><file name="items.phtml" hash="a7c6de72279bf4d4621d7a9825225763"/></dir><dir name="invoice"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="f48c4a9a3168786ca01307c4d4017fdf"/></dir></dir><file name="items.phtml" hash="77e6cc4cde2bf0dd3a970d74e7997774"/></dir><dir name="items"><dir name="renderer"><file name="default.phtml" hash="b6fd2dd4a4561367c7fc58b68119931c"/></dir></dir><file name="items.phtml" hash="dc58441069e5e1edb553d6792f9f4738"/><dir name="print"><file name="creditmemo.phtml" hash="f12e5efb13bb186c8db96b65b49bcf86"/><file name="invoice.phtml" hash="a43586df667656fa055227f262eb4e4d"/><file name="shipment.phtml" hash="1d4dc304ed71a4b6b0573be5ab2f8c47"/></dir><file name="print.phtml" hash="fc7e8a9a92301e61ef20c8c7d72f7a8f"/><dir name="shipment"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="80d4f0a3a80c905d02b3f25d32b7d10f"/></dir></dir><file name="items.phtml" hash="8b4bc774fc8c97177900a4180d2c6fea"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default_rtl"><dir><dir name="css"><file name="print.css" hash="cfe716fe3e5c43f0d5ecf52589bce3a2"/><file name="styles-aie.css" hash="593ab756fab5a102f83468ab738838c0"/><file name="styles-ie.css" hash="20ca826772ef26a973d1d0bf271c7d22"/><file name="styles-ie9.css" hash="fc99f08db99d828a2548260db800d770"/><file name="styles.css" hash="dd333267ab6edac448b54ce056083929"/><file name="widgets.css" hash="0ec634c7ae72e141072e39ca716d3304"/></dir><dir name="images"><file name="best_selling_tr_even_bg.gif" hash="5022d648379090e306f00cd64738b146"/><file name="best_selling_tr_odd_bg.gif" hash="926622704f53796801bb5d097e116c8e"/><file name="bkg_account_box.gif" hash="dd98174b6e3e5605a3f9551a59c66841"/><file name="bkg_block-actions.gif" hash="da2970eac0a22c850b19ee3680475d51"/><file name="bkg_block-currency.gif" hash="bfaad1b64557c05ad6f4b124ad3d3532"/><file name="bkg_block-layered-dd.gif" hash="6ae6f8184e87de496fb74eeec65737c9"/><file name="bkg_block-layered-dt.gif" hash="ffc29b2be33228b3d4c9163814e09949"/><file name="bkg_block-layered-label.gif" hash="73ce547103a2f069e99551a5b640dd2d"/><file name="bkg_block-layered-li.gif" hash="753ebb76a4fc2b5b6915c536fcf4d487"/><file name="bkg_block-layered-title.gif" hash="753ca43e9a8ed8f5bcb864f60451b3a6"/><file name="bkg_block-layered1.gif" hash="607167f198572e83a0e728b6b9383a70"/><file name="bkg_block-title-account.gif" hash="a64f1df5a7e3d0f6a58b017f74311cb1"/><file name="bkg_block-title.gif" hash="f8c1f130ad69464fe7aff2f589b2ec75"/><file name="bkg_body.gif" hash="82bfc5bfe346c8e974cd33b1314b0acf"/><file name="bkg_buttons-set1.gif" hash="2c641e927bc83156b7004ea37920513c"/><file name="bkg_checkout.gif" hash="11258fe49feff5513c9608f2ea486776"/><file name="bkg_collapse-gm.gif" hash="37418f23e65006dcfde07ce9b249e057"/><file name="bkg_collapse.gif" hash="2333c68e38163ed4656da82b9bcf362b"/><file name="bkg_divider1.gif" hash="260ebae91ffb1b7c663906b29a069925"/><file name="bkg_form-search.gif" hash="f1b8c5e87fee0b0979d1c91e56d109b6"/><file name="bkg_grand-total.gif" hash="10f1c3d82d78170706fa3e9c4baa7e04"/><file name="bkg_grid.gif" hash="a6f64fedbac51fb1b86184cd488cc4e6"/><file name="bkg_header.jpg" hash="ba6ab0d686a476cf532e59150c019d8f"/><file name="bkg_login-box.gif" hash="5538675d7f1c35d96a2b8013948f42a6"/><file name="bkg_main1.gif" hash="8be40631bdd605b2a3950a567c0a5455"/><file name="bkg_main2.gif" hash="7882b3de185093d54a537ac002c39819"/><file name="bkg_nav0.jpg" hash="ff4534ed647ab48b0adfd1c6dee547c4"/><file name="bkg_nav1.gif" hash="f4e26840c8cca0e74aba5b810341c5c0"/><file name="bkg_nav2.gif" hash="faf60c0233800ec55b1c51b617a4a413"/><file name="bkg_opc-title-off.gif" hash="f69b40b5331ab3760f54d038daf287eb"/><file name="bkg_pipe1.gif" hash="7852290f6a443000ead96b8cec5cd7c7"/><file name="bkg_pipe2.gif" hash="7da64eefaf4da3855ab6ee76dbced0c2"/><file name="bkg_pipe3.gif" hash="11bfac1e590f0c77fb12f37d7f05cd3c"/><file name="bkg_product-view.gif" hash="4a6da285c2d5ead1ddd89bf7ea56a00c"/><file name="bkg_product_collateral.gif" hash="1d4d6b22e5108aefae52709d3934f397"/><file name="bkg_rating.gif" hash="0a8777c815350ddf1e316a537ad0c335"/><file name="bkg_sp-methods.gif" hash="5867f3089792611dc686a1b4477e5bef"/><file name="bkg_tfoot.gif" hash="da2970eac0a22c850b19ee3680475d51"/><file name="bkg_th-v.gif" hash="d318990175de7c67cd64e3485e1e6f35"/><file name="bkg_th.gif" hash="f249911b08f2822fc0b561b7f98575d2"/><file name="bkg_toolbar.gif" hash="fb7ed019476eaa1643af922b59ede4fb"/><file name="btn_checkout.gif" hash="d2060501e14e86c29e28137130e5726e"/><file name="btn_edit.gif" hash="df3565eb4e4d0dc578201df60de54b47"/><file name="btn_gm-close.gif" hash="346e26eece27449a2f224aef76ae372e"/><file name="btn_google_checkout.gif" hash="843d75249ce05b5d87ca5419f37b1c3b"/><file name="btn_paypal_checkout.gif" hash="6edd61270b7b5632eafad10557129114"/><file name="btn_place_order.gif" hash="d35219f86ae2c983ee1a31557e37b612"/><file name="btn_proceed_to_checkout.gif" hash="4daac687b514fecfd1068539500ac3d7"/><file name="btn_proceed_to_checkout_dis.gif" hash="9e152c01d5d88f690dc52cb62428f3b6"/><file name="btn_remove.gif" hash="6182e723aa2a253dc6cf334a3dfaaa84"/><file name="btn_remove2.gif" hash="9b466894aa775b7ec4cd3c511bdd5b52"/><file name="btn_search.gif" hash="2d93b43c0a1c1182358677661e26a978"/><file name="btn_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="c83f3cbbb2aedfc580dff78d5cfb63ed"/><file name="calendar.gif" hash="b1468e5239504974c689eea5d93f86d4"/><file name="cvv.gif" hash="ed0f392004a405466291071a760b285d"/><file name="cvv.jpg" hash="e27210d810bbab732935d9410936ef87"/><file name="fam_book_open.png" hash="0ba89b9fbe7e88d4c6896ed0a1f495aa"/><file name="footer_copyright_logo.png" hash="6f20d02ef1290605952825bbf942d09a"/><file name="grid-cal.gif" hash="b1468e5239504974c689eea5d93f86d4"/><file name="i_arrow-top.gif" hash="3dbb0584e8eb1d96cc3d3c40c17d7aaf"/><file name="i_asc_arrow.gif" hash="40aa554212d6a1f60593c27d78d85fa3"/><file name="i_availability_only.gif" hash="bca1f00a50864171ad98317b778e869c"/><file name="i_availability_only_arrow.gif" hash="0cf32b72fefc94b89b74e4f3f02c2e93"/><file name="i_block-cart.gif" hash="cc19e21f9c89b70cc10354ff588ca8ab"/><file name="i_block-currency.gif" hash="643024bcae5ece554fdbbc041aeb297c"/><file name="i_block-list.gif" hash="fe8424127ecbe4b0d893bcf6f253dc1a"/><file name="i_block-poll.gif" hash="52d778dddbf48b8d04226bee9370a7ef"/><file name="i_block-related.gif" hash="4e277173b6372b1a90b0f19e0388ad54"/><file name="i_block-subscribe.gif" hash="9e5fee06a543742045118a95f2debcb8"/><file name="i_block-tags.gif" hash="67d1255c2c3e9ed1a5c845f8d4e4a3ba"/><file name="i_block-viewed.gif" hash="67d1255c2c3e9ed1a5c845f8d4e4a3ba"/><file name="i_block-wishlist.gif" hash="8f8cda89ca20ba4a9b2f8c91f73fdff9"/><file name="i_desc_arrow.gif" hash="92fd194bfae4ce5ae3354e1e47d7ac7d"/><file name="i_discount.gif" hash="908d44da90de5e54185764d093bbdb77"/><file name="i_folder-table.gif" hash="bf006ddb591d8ac95d2e895bf2fdbc8d"/><file name="i_ma-info.gif" hash="91259557447ee80eb1110fe0c85cb3b5"/><file name="i_ma-reviews.gif" hash="859c97695ec396c0b284a0c3c7c416ad"/><file name="i_ma-tags.gif" hash="1e83e3b0b677c92b3aa8a252268f7b86"/><file name="i_msg-error.gif" hash="cb6937c8fd93ddcddaddc4bfda4e76fe"/><file name="i_msg-note.gif" hash="6d423252861fd85cce33ec4978d5a2a9"/><file name="i_msg-success.gif" hash="04c7436e0153672ca96abcce6b4c9e75"/><file name="i_notice.gif" hash="ebd56dc80b8346e10e93628bc0e6c372"/><file name="i_page1.gif" hash="704f7d4eccbdf9cabbad7770f18856ff"/><file name="i_page2.gif" hash="57a04ca584e05e28dc94c7e68f0af62e"/><file name="i_pager-next.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="i_pager-prev.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="i_rss-big.png" hash="6cf70e7c52a3f3d7b833ccadb041a555"/><file name="i_rss.gif" hash="e5bbc388d818c142868b4a1df0b48793"/><file name="i_search_criteria.gif" hash="d8f472ac5551f059ec6038c5cb7bbc77"/><file name="i_shipping.gif" hash="91a0d2cc2eb2391f90ec8a75c04b3183"/><file name="i_tag_add.gif" hash="a736baa992aa55b6fb71e8742a04dc82"/><file name="i_tier.gif" hash="ea6d885144ead41b13c7084ab7fd91a6"/><file name="i_type_grid.gif" hash="a1e5d8ac36fb2891ea16e729b95c552c"/><file name="i_type_list.gif" hash="61333d383ec142b8d270abe77324aa5d"/><file name="logo.gif" hash="48b7eb03807fdf80bdfb19b872cf84b8"/><file name="logo_email.gif" hash="8de347192e0524cff7a69e4020182dbd"/><file name="logo_print.gif" hash="8de347192e0524cff7a69e4020182dbd"/><file name="magnifier_handle.gif" hash="238fbdd7959f517db11c6f57ee4daaf4"/><file name="np_cart_thumb.gif" hash="e9fdd943e0947e15f0638506f477e358"/><file name="np_more_img.gif" hash="ace357bfe3e81ffb62137cd5b25ae5e1"/><file name="np_product_main.gif" hash="d0cccda76de50efa025215ce85dacb1c"/><file name="np_thumb.gif" hash="e46270c89358ecc8341d1565c14644b8"/><file name="np_thumb2.gif" hash="8502866cdabc5c74aca7d7bd32a06a03"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="pager_arrow_left.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="pager_arrow_right.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="product_zoom_overlay_magnif.gif" hash="83834893e162221d6d9257fe67847370"/><file name="slider_bg.gif" hash="87bc1b46d87de4f6252c7216216627c3"/><file name="slider_btn_zoom_in.gif" hash="ef0fc67f77f30827ee67f4e744b60781"/><file name="slider_btn_zoom_out.gif" hash="68b3d1c28dc5aec4f6b64d70a6996b6f"/><file name="spacer.gif" hash="df3e567d6f16d040326c7a0ea29a4f41"/><file name="validation_advice_bg.gif" hash="6a531c50c1533c38c419eb1518f5f575"/><dir name="widgets"><file name="i_block-list.gif" hash="fe8424127ecbe4b0d893bcf6f253dc1a"/><file name="i_widget-link.gif" hash="e0945b7da374d8271081de3b3373b583"/><file name="i_widget-new.gif" hash="a75377ffed51b711cbc608ffaa1a2e7d"/></dir><dir name="xmlconnect"><dir name="catalog"><dir name="category"><dir name="placeholder"><file name="image.jpg" hash="097ab8a3051bc037ea3de0e17f440540"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/><file name="thumbnail.jpg" hash="b2b682d28a08a748a73d2cda70ab5a57"/></dir></dir></dir><file name="tab_account.png" hash="0498d73e47ed47179e5546dc15c17dc7"/><file name="tab_cart.png" hash="9055ba76e256a51d3fee53a8c41d5226"/><file name="tab_home.png" hash="07d0af93e167b9366d3d4fb3d6cdb31c"/><file name="tab_more.png" hash="b9fc21feb8d7655bc9c2985c37b0de2f"/><file name="tab_page.png" hash="ca05dbc42f944b8d4255f6675f6dd93a"/><file name="tab_search.png" hash="25e880eb2a4d06828e2e1c3f32d22400"/><file name="tab_shop.png" hash="fe602fc2e7093efef5ecc0b027a32d91"/></dir></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>
skin/frontend/default/default_rtl/css/print.css ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ *
7
+ * DISCLAIMER
8
+ *
9
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
10
+ * versions in the future. If you wish to customize Magento for your
11
+ * needs please refer to http://www.magentocommerce.com for more information.
12
+ *
13
+ * @category design
14
+ * @package default_default_rtl
15
+ * @author Hassan Barza <support@codnitive.com>
16
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
17
+ */
18
+ * { direction:rtl !important; background:none !important; text-align:/*left*/right !important; }
19
+ html { margin:0 !important; padding:0 !important; }
20
+ body { background:#fff !important; font-size:9pt !important; padding:0 !important; margin:10px !important; }
21
+ a { color:#2976c9 !important; }
22
+ th,td { color:#2f2f2f !important; border-color:#ccc !important; }
23
+
24
+ .header-container,
25
+ .nav-container,
26
+ .footer-container,
27
+ .pager,
28
+ .toolbar,
29
+ .actions,
30
+ .buttons-set { display:none !important; }
31
+
32
+ .page-print .data-table .cart-tax-total { background-position:100% -54px; }
33
+ .page-print .data-table .cart-tax-info { display:block !important; }
skin/frontend/default/default_rtl/css/styles-aie.css ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ *
7
+ * DISCLAIMER
8
+ *
9
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
10
+ * versions in the future. If you wish to customize Magento for your
11
+ * needs please refer to http://www.magentocommerce.com for more information.
12
+ *
13
+ * @category design
14
+ * @package default_default_rtl
15
+ * @author Hassan Barza <support@codnitive.com>
16
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
17
+ */
18
+
19
+ /* All IEs =============================================================================== */
20
+ input.input-text { height:15px; }
21
+ .quick-access .links { display:block; float:left; direction:ltr; }
22
+
23
+ button.button,
24
+ .nav-container,
25
+ .top-bar,
26
+ .main,
27
+ .sidebar .block,
28
+ .product-image,
29
+ .opc #checkout-step-review,
30
+ ul.messages > li { direction:ltr; }
31
+
32
+ .breadcrumbs,
33
+ .form-search,
34
+ .col-main,
35
+ .sidebar,
36
+ .sidebar .block .block-title,
37
+ .sidebar .block .block-content,
38
+ .opc .order-review,
39
+ .quick-access .links li,
40
+ ul.messages > li > ul { direction:rtl; }
41
+
42
+ .form-search { width:320px; }
43
+ .opc .allow .step-title { width:667px; /*margin-right:1px;*/ }
44
+ .opc #checkout-step-review { width:685px; /*margin-right:1px;*/ }
45
+ /*.form-list li.wide textarea { width:608px !important; }*/
46
+ .gift-message-link { float:right; }
47
+
48
+ .sidebar .widget-product-link,
49
+ .sidebar .widget-category-link,
50
+ .sidebar .widget-cms-link { margin:0 10px 15px !important; padding:0 !important; }
51
+
52
+ .product-essential .add-to-box input.qty { margin-left:0; }
53
+ .block-layered-nav .block-content { margin-left:1px; width:193px; }
54
+ .block-layered-nav .block-subtitle,
55
+ .block-layered-nav .currently ol,
56
+ .block-layered-nav .currently .actions { margin-right:1px; /*width:173px;*/ }
57
+ .footer ul { display:inline-block; }
58
+ .product-essential,
59
+ .product-collateral { margin-right:1px; }
60
+ table { padding-right:1px; }
61
+ .product-essential .add-to-box button.button { margin-right:5px; }
62
+ .product-essential .add-to-box button.grouped-btn-cart { margin-right:1px; }
63
+ .gift-messages-form .item .details .form-list li.wide textarea { width:489px; }
64
+ .opc .gift-messages-form { margin-right:-29px; }
65
+ .multiple-checkout .col2-set h2.legend { margin-right:-19px; }
66
+ .window-overlay { background-color:#000000; filter:alpha(opacity=35); }
67
+ .order-details { width:686px; }
68
+ .order-details .data-table { width:0; min-width:685px; /*margin-right:-1px;*//* border-left-width:2px;*/ }
69
+ /*.block-layered-nav .currently .label { display:inline-block; *//*float:right; margin-left:3px;*//* }*/
70
+ /* ======================================================================================= */
skin/frontend/default/default_rtl/css/styles-ie.css ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ *
7
+ * DISCLAIMER
8
+ *
9
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
10
+ * versions in the future. If you wish to customize Magento for your
11
+ * needs please refer to http://www.magentocommerce.com for more information.
12
+ *
13
+ * @category design
14
+ * @package default_default_rtl
15
+ * @author Hassan Barza <support@codnitive.com>
16
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
17
+ */
18
+
19
+ /* IE 6 only */
20
+ * html .validation-advice { height:13px; }
21
+ * html .error-msg,
22
+ * html .success-msg,
23
+ * html .note-msg,
24
+ * html .notice-msg { height:24px; }
25
+ * html .main { height:400px; }
26
+ * html .account-login .content { height:240px; }
27
+ .block li.item,
28
+ .block-poll li,
29
+ .opc li.section { vertical-align:top; }
30
+
31
+ /* Doubled Margin Fixes */
32
+ .product-view .product-img-box .more-views li,
33
+ .product-view .box-tags .form-add .input-box,
34
+ .sp-methods select.month { display:inline; }
35
+
36
+ /********** < Navigation styles */
37
+ #nav li,
38
+ #nav li a { zoom:1; }
39
+ #nav li { vertical-align:top; }
40
+ /********** < Navigation styles */
41
+
42
+ select { margin-bottom:1px; }
43
+ input.radio { width:13px; height:13px; }
44
+ input.checkbox { width:13px; height:13px; }
45
+ button.button { height:21px; }
46
+ button.button span { position:relative; }
47
+ button.btn-checkout { height:40px; }
48
+ #opc-review .sp-methods .input-box { float:left; }
49
+ .form-list label { position:relative; z-index:0; }
50
+ .form-list label.required em { position:absolute; top:0; /*right*/left:-8px; }
51
+
52
+ table { scrollbar-face-color:expression(runtimeStyle.scrollbarFaceColor = '#fff', cellSpacing = 0); }
53
+
54
+ .product-view .product-img-box .zoom.disabled { filter:alpha(opacity=30); }
55
+
56
+ .gift-messages-form { position:relative; zoom:1; }
57
+
58
+ .tool-tip .btn-close a { margin:0; }
59
+
60
+ .product-view .box-tags .product-tags li,
61
+ .footer li { padding:0 4px 0 7px/*0 7px 0 4px*/; }
62
+
63
+ .product-options dd .time-picker select { margin:0; padding:0; }
64
+
65
+ /* Clearer */
66
+ .clearer { display:block; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
67
+
68
+ /* Clears and hasLayout fixes */
69
+ .header-container,
70
+ .header-container .top-container,
71
+ .header,
72
+ .header .quick-access,
73
+ #nav,
74
+ .main,
75
+ .footer,
76
+ .footer-container .bottom-container,
77
+ .col-main,
78
+ .col2-set,
79
+ .col3-set,
80
+ .col3-layout .product-options-bottom .price-box,
81
+ .col4-set,
82
+ .messages li,
83
+ .search-autocomplete li,
84
+ .block,
85
+ .block .block-content,
86
+ .block .actions,
87
+ .block li.item,
88
+ .block-poll li,
89
+ .block-poll .label,
90
+ .block-layered-nav .currently li,
91
+ .block-account .block-content li a,
92
+ .mini-products-list .product-details,
93
+ .page-title,
94
+ .rss-title h1,
95
+ .products-grid,
96
+ .products-list li.item,
97
+ .box-account .box-head,
98
+ .dashboard .box .box-title,
99
+ .box-reviews li.item,
100
+ .box-tags li.item,
101
+ .pager,
102
+ .sorter,
103
+ .ratings,
104
+ .add-to-box,
105
+ .add-to-cart,
106
+ .product-essential,
107
+ .product-collateral,
108
+ .product-view .product-img-box .more-views ul,
109
+ .product-view .box-tags .form-add,
110
+ .product-view .product-shop .short-description,
111
+ .product-view .box-description,
112
+ .product-options .options-list li,
113
+ .product-options,
114
+ .product-options-bottom,
115
+ .truncated,
116
+ .truncated .truncated_full_value,
117
+ .product-review,
118
+ .cart,
119
+ .cart-collaterals,
120
+ .cart .crosssell li.item,
121
+ .cart .discount,
122
+ .opc .step-title,
123
+ .opc .step,
124
+ .multiple-checkout,
125
+ .sp-methods,
126
+ .checkout-progress,
127
+ .multiple-checkout .place-order,
128
+ .form-list li,
129
+ .form-list .field,
130
+ .group-select li,
131
+ .buttons-set,
132
+ .page-print .print-head,
133
+ .cart-tax-total,
134
+ .advanced-search-summary,
135
+ .advanced-search-summary p,
136
+ .gift-messages-form .item,
137
+ .send-friend .form-list li p,
138
+ .centinel .authentication { zoom:1; }
139
+
140
+ /* Hover Fix */
141
+ iframe.hover-fix { position:absolute; /*left*/right:-1px; top:-1px; z-index:-1; background:transparent; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); }
142
+
143
+
144
+ /* RTL Edition =========================================================================== */
145
+ .header .logo { width:179px; }
146
+ /*.quick-access .welcome-msg { position:absolute; left:380px; }*/
147
+ .quick-access .links { direction:rtl !important; /*position:absolute; left:0; width:370px; float:none !important;*/ }
148
+ .quick-access .links li { float:none !important; /*display:inline !important;*/ /*padding:0 !important; margin:0 !important; background:none !important;*/ }
149
+ .links li.first { padding:0 4px 0 7px !important; }
150
+ .links li.last { padding:0 0 0 4px !important; }
151
+ /*.quick-access .links a { padding:0 7px 0 8px !important; background:url(../images/bkg_pipe1.gif) *//*100%*//*0 60% no-repeat; }*/
152
+ /*.quick-access .links li.last a { padding-right:0 !important; }
153
+ .quick-access .links li.first a { padding-left:0 !important; }*/
154
+ /*.quick-access .links { padding:0 0 0 8px !important; }*/
155
+ /*.quick-access .links { display:inline !important; float:none !important; direction:rtl !important; }*/
156
+
157
+ .header .nav-container #nav,
158
+ .checkout-onepage-index .col-main,
159
+ button.button/*,
160
+ .product-view .product-shop .add-to-links*/ { direction:ltr; }
161
+
162
+ .header .nav-container #nav li,
163
+ .mini-products-grid .product-image,
164
+ .product-view .product-img-box .product-image,
165
+ .checkout-onepage-index .col-main .page-title,
166
+ .checkout-onepage-index .col-main .opc { direction:rtl; }
167
+
168
+ .bundle-option-title { float:none !important; }
169
+
170
+ input.qty,
171
+ .form-list input.validate-email,
172
+ .form-alt input.validate-email,
173
+ .form-list textarea.validate-emails,
174
+ .form-list input.validate-password,
175
+ .form-list input.validate-cpassword,
176
+ .form-list input#login-password,
177
+ .form-list input#current_password,
178
+ .form-list input#telephone,
179
+ .form-list input[id="billing:telephone"],
180
+ .form-list input[id="shipping:telephone"],
181
+ .form-list input#fax,
182
+ .form-list input[id="billing:fax"],
183
+ .form-list input[id="shipping:fax"],
184
+ .form-list input[id="billing:year"],
185
+ .form-list input[id="billing:month"],
186
+ .form-list input[id="billing:day"],
187
+ .form-list input#year,
188
+ .form-list input#month,
189
+ .form-list input#day,
190
+ .form-list input[id="billing:taxvat"],
191
+ .form-list input#taxvat,
192
+ .form-list input#zip,
193
+ .form-alt input#oar_zip,
194
+ .form-list input.validate-zip-international,
195
+ .form-list input#sku,
196
+ .form-list input.validate-number,
197
+ .form-list input.validate-postcode,
198
+ .form-alt input#oar_order_id,
199
+ .cart .discount input#coupon_code,
200
+ form input#ccsave_cc_owner,
201
+ form select.validate-cc-type-select option,
202
+ form input.validate-cc-type,
203
+ form select#ccsave_expiration_yr option,
204
+ form select#authorizenet_expiration_yr option,
205
+ form input#po_number,
206
+ form input.validate-cc-cvn { direction:ltr; text-align:left; }
207
+
208
+ .checkout-onepage-index .col-main .opc { width:686px; }
209
+ .multiple-checkout h2.legend { width:878px; }
210
+ /*.quick-access { position:relative; }*/
211
+ .multiple-checkout .place-order .grand-total big { /*float:left;*/ margin:0 12px 0 0; }
212
+ /*.multiple-checkout .place-order .grand-total div { float:left; }*/
213
+ .opc .allow .step-title { width:668px !important; margin-right:0 !important; }
214
+ .opc #checkout-step-review { width:686px !important; /*margin-right:0 !important;*/ }
215
+ .block-cart .summary { width:177px; }
216
+ /*.form-list li.wide textarea { width:529px !important; }*/
217
+ /*.gift-messages-form .item .details .form-list li.wide textarea { width:489px !important; }*/
218
+ /*.opc ol.checkout-agreements li { direction:ltr !important; }
219
+ .opc ol.checkout-agreements li * { direction:rtl !important; }
220
+ .opc ol.checkout-agreements li p.agree { width:618px; }*/
221
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide textarea { width:439px !important; }
222
+ .checkout-multishipping-shipping .box-sp-methods { width:246px; }
223
+
224
+ .col-main .widget-product-link,
225
+ .sidebar .widget-product-link,
226
+ .col-main .widget-category-link,
227
+ .sidebar .widget-category-link,
228
+ .col-main .widget-cms-link,
229
+ .sidebar .widget-cms-link { direction:ltr !important; }
230
+ .widget-products .products-grid > li { position:relative; }
231
+ .widget-products .products-grid .actions { right:0; }
232
+ .product-view .box-tags .product-tags li,
233
+ .footer ul,
234
+ .footer li { zoom:1 !important; display:inline !important; }
235
+ /*.product-view .box-tags .product-tags li a { float:none !important; margin-left:0 !important; }*/
236
+ .product-options dd.product-date-time-option { /*width:580px;*/ display:inline-block; }
237
+ /*.add-to-box .add-to-cart,
238
+ .product-options-bottom .add-to-cart { width:167px }*/
239
+ /*.product-view .product-shop .add-to-links li { float:left; }*/
240
+ .sp-methods input.cvv { float:left !important; }
241
+ .opc .step .tool-tip { top:-99999px; }
242
+ .opc .checkout-agreements { width:624px; }
243
+ .buttons-set .back-link { width:250px; text-align:right; }
244
+ .page-sitemap .links { width:890px; /*direction:ltr;*/ }
245
+ /*.cart .shipping .form-list li { position:relative; }
246
+ .cart .shipping .form-list li label { right:0px; }*/
247
+ .product-options-bottom .add-to-links li { width:105px; }
248
+ .block-layered-nav .block-content { margin-left:0 !important; }
249
+ .footer ul.links { zoom:1 !important; display:block !important; }
250
+ .product-options dt label.required em { margin:0 0 0 5px; }
251
+ .product-options-bottom .price-box { width:350px; }
252
+ .product-essential,
253
+ .product-collateral { margin-right:0 !important; }
254
+ .add-to-cart label,
255
+ .add-to-cart .qty,
256
+ .add-to-cart button.button { float:none; }
257
+ .add-to-cart label { margin:0; }
258
+ .add-to-cart .qty { margin-right:5px; }
259
+ table { padding-right:0 !important; }
260
+ .product-options-bottom .add-to-links li { min-width:550px; }
261
+ .product-essential .add-to-box button.grouped-btn-cart { margin-right:0 !important; }
262
+ .page-popup .link-print { /*float:left;*/ display:inline-block; }
263
+ .data-table tfoot tr.first td { background-color:#dee5e8 !important; }
264
+ .opc .buttons-set .back-link a,
265
+ .cvv-what-is-this { float:right; }
266
+ .tool-tip .btn-close { text-align:left; }
267
+ .opc .gift-messages-form { margin-right:-30px !important; }
268
+ .multiple-checkout .col2-set h2.legend { margin-right:-20px !important; }
269
+ .remember-me-popup { margin-left:0; margin-right:200px; }
270
+ .order-details { width:100% !important; }
271
+ .order-details .data-table { width:100% !important; min-width:0 !important; /*margin-right:0 !important;*//* border-left-width:1px !important;*/ }
272
+ .advanced-search-summary strong { display:inline-block; }
273
+
274
+ /*.block-layered-nav dd a,
275
+ .block-layered-nav dd span[class="layered-nav-name"],
276
+ .product-view .box-tags .product-tags li a,
277
+ .advanced-search-summary strong,
278
+ .block-layered-nav .currently .label { zoom:1 !important; display:inline !important; float:right; margin-left:3px; }*/
279
+
280
+
281
+ .block-layered-nav .block-subtitle,
282
+ .block-layered-nav .currently ol,
283
+ .block-layered-nav .currently .actions { margin-right:0 !important; }
284
+ /* ======================================================================================= */
skin/frontend/default/default_rtl/css/styles-ie9.css ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ *
7
+ * DISCLAIMER
8
+ *
9
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
10
+ * versions in the future. If you wish to customize Magento for your
11
+ * needs please refer to http://www.magentocommerce.com for more information.
12
+ *
13
+ * @category design
14
+ * @package default_default_rtl
15
+ * @author Hassan Barza <support@codnitive.com>
16
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
17
+ */
18
+
19
+ /* IE 9 Only ============================================================================= */
20
+ /*.product-essential .add-to-box button.button { margin-right:1px; }*/
21
+ .product-options-bottom .add-to-cart button.button { margin-right:5px; }
22
+ .add-to-cart button.button { float:none; }
23
+ .sorter .sort-by { padding-left:38px; }
24
+ /*.order-details .data-table { margin-right:-1px; }*/
25
+ /* ======================================================================================= */
skin/frontend/default/default_rtl/css/styles.css ADDED
@@ -0,0 +1,1790 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ *
7
+ * DISCLAIMER
8
+ *
9
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
10
+ * versions in the future. If you wish to customize Magento for your
11
+ * needs please refer to http://www.magentocommerce.com for more information.
12
+ *
13
+ * @category design
14
+ * @package default_default_rtl
15
+ * @author Hassan Barza <support@codnitive.com>
16
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
17
+ */
18
+
19
+ /* Reset ================================================================================= */
20
+ * { margin:0; padding:0; }
21
+
22
+ body { direction:rtl; background:#496778 url(../images/bkg_body.gif) 50% 0 repeat-y; font:/*12px*/11px/1.55 Tahoma, Arial, Helvetica, sans-serif; color:#2f2f2f; text-align:center; }
23
+
24
+ img { border:0; vertical-align:top; }
25
+
26
+ a { color:#1e7ec8; text-decoration:underline; }
27
+ a:hover { text-decoration:none; }
28
+ :focus { outline:0; }
29
+
30
+ /* Headings */
31
+ h1,h2,h3,
32
+ h4,h5,h6 { margin:0 0 5px; line-height:1.35; color:#0a263c; }
33
+ h1 { font-size:/*20px*/19px; font-weight:normal; }
34
+ h2 { font-size:/*18px*/17px; font-weight:normal; }
35
+ h3 { font-size:/*16px*/15px; font-weight:bold; }
36
+ h4 { font-size:/*14px*/13px; font-weight:bold; }
37
+ h5 { font-size:/*12px*/11px; font-weight:bold; }
38
+ h6 { font-size:/*11px*/10px; font-weight:bold; }
39
+
40
+ /* Forms */
41
+ form { display:inline; }
42
+ fieldset { border:0; }
43
+ legend { display:none; }
44
+
45
+ /* Table */
46
+ table { border:0; /*border-collapse:collapse;*/ border-spacing:0; empty-cells:show; font-size:100%; }
47
+ caption,th,td { vertical-align:top; text-align:/*left*/right; font-weight:normal; }
48
+
49
+ /* Content */
50
+ p { margin:0 0 10px; }
51
+ strong { font-weight:bold; }
52
+ address { font-style:normal; line-height:1.35; }
53
+ cite { font-style:normal; }
54
+ q,
55
+ blockquote { quotes:none; }
56
+ q:before,
57
+ q:after { content:''; }
58
+ small,big { font-size:1em; }
59
+ /*sup { font-size:1em; vertical-align:top; }*/
60
+
61
+ /* Lists */
62
+ ul,ol { list-style:none; }
63
+
64
+ /* Tools */
65
+ .hidden { display:block !important; border:0 !important; margin:0 !important; padding:0 !important; font-size:0 !important; line-height:0 !important; width:0 !important; height:0 !important; overflow:hidden !important; }
66
+ .nobr { white-space:nowrap !important; }
67
+ .wrap { white-space:normal !important; }
68
+ .a-left { text-align:left !important; }
69
+ .a-center { text-align:center !important; }
70
+ .a-right { text-align:right !important; }
71
+ .v-top { vertical-align:top; }
72
+ .v-middle { vertical-align:middle; }
73
+ .f-left,
74
+ .left { float:/*left*/right !important; }
75
+ .f-right,
76
+ .right { float:right !important; }
77
+ .f-none { float:none !important; }
78
+ .f-fix { float:left; width:100%; }
79
+ .no-display { display:none; }
80
+ .no-margin { margin:0 !important; }
81
+ .no-padding { padding:0 !important; }
82
+ .no-bg { background:none !important; }
83
+ /* ======================================================================================= */
84
+
85
+
86
+ /* Layout ================================================================================ */
87
+ .wrapper { min-width:954px; }
88
+ .page {}
89
+ .page-print { background:#fff; padding:25px 30px; text-align:/*left*/right; }
90
+ .page-empty { background:#fff; padding:20px; text-align:/*left*/right; }
91
+ .page-popup { background:#fff; padding:25px 30px; text-align:/*left*/right; }
92
+ .main-container { background:#fbfaf6 url(../images/bkg_main1.gif) 50% 0 no-repeat; }
93
+ .main { width:900px; margin:0 auto; min-height:400px; padding:25px 25px 80px; background:#fffffe url(../images/bkg_main2.gif) 0 0 no-repeat; text-align:/*left*/right; }
94
+
95
+ /* Base Columns */
96
+ .col-left { float:/*left*/right; width:195px; padding:0 0 1px; }
97
+ .col-main { float:/*left*/right; width:685px; padding:0 0 1px; }
98
+ .col-right { float:/*right*/left; width:195px; padding:0 0 1px; }
99
+
100
+ /* 1 Column Layout */
101
+ .col1-layout .col-main { float:none; width:auto; }
102
+
103
+ /* 2 Columns Layout */
104
+ .col2-left-layout .col-main { float:/*right*/left; }
105
+ .col2-right-layout .col-main {}
106
+
107
+ /* 3 Columns Layout */
108
+ .col3-layout .col-main { width:475px; /*margin-left*/margin-right:17px; }
109
+ .col3-layout .col-wrapper { float:/*left*/right; width:687px; }
110
+ .col3-layout .col-wrapper .col-main { float:/*right*/left; }
111
+
112
+ /* Content Columns */
113
+ .col2-set .col-1 { float:/*left*/right; width:48.5%; }
114
+ .col2-set .col-2 { float:/*right*/left; width:48.5%; }
115
+ .col2-set .col-narrow { width:32%; }
116
+ .col2-set .col-wide { width:65%; }
117
+
118
+ .col3-set .col-1 { float:/*left*/right; width:32%; }
119
+ .col3-set .col-2 { float:/*left*/right; width:32%; /*margin-left*/margin-right:2%; }
120
+ .col3-set .col-3 { float:/*right*/left; width:32%; }
121
+
122
+ .col4-set .col-1 { float:/*left*/right; width:23.5%; }
123
+ .col4-set .col-2 { float:/*left*/right; width:23.5%; margin:0 2%; }
124
+ .col4-set .col-3 { float:/*left*/right; width:23.5%; }
125
+ .col4-set .col-4 { float:/*right*/left; width:23.5%; }
126
+ /* ======================================================================================= */
127
+
128
+
129
+ /* Global Styles ========================================================================= */
130
+ /* Form Elements */
131
+ input,select,textarea,button { font:/*12px*/11px/15px Tahoma, Arial, Helvetica, sans-serif; vertical-align:middle; color:#2f2f2f; }
132
+ input.input-text,select,textarea { background:#fff; border:1px solid #b6b6b6; }
133
+ input.input-text,textarea { padding:2px; }
134
+ select { padding:1px; }
135
+ select option { /*padding-right*/padding-left:10px; }
136
+ select.multiselect option { border-bottom:1px solid #b6b6b6; padding:2px 5px; }
137
+ select.multiselect option:last-child { border-bottom:0; }
138
+ textarea { overflow:auto; }
139
+ input.radio { /*margin-right*/margin-left:3px; }
140
+ input.checkbox { /*margin-right*/margin-left:3px; }
141
+ input.qty { width:2.5em !important; }
142
+ button.button::-moz-focus-inner { padding:0; border:0; } /* FF Fix */
143
+ button.button { -webkit-border-fit:lines; } /* <- Safari & Google Chrome Fix */
144
+ button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }
145
+ button.button span { display:block; height:19px; border:1px solid #de5400; background:#f18200; padding:0 8px; font:bold /*12px*/11px//*19px*/17px Tahoma, Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#fff; }
146
+ button.button span span { border:0; padding:0; }
147
+ button.disabled span { border-color:#bbb !important; background:#bbb !important; }
148
+
149
+ button.btn-checkout span { height:40px; border:0; background:url(../images/btn_checkout.gif) 0 0 no-repeat; padding:0 0 0 9px; font:bold /*15px*/14px//*40px*/36px Tahoma, Arial, Helvetica, sans-serif; color:#fff; }
150
+ button.btn-checkout span span { background-position:100% 0; padding:0 25px 0 16px; }
151
+ button.btn-checkout.no-checkout span { background-position:0 100%; color:#b8baba; }
152
+ button.btn-checkout.no-checkout span span { background-position:100% 100%; }
153
+
154
+ p.control input.checkbox,
155
+ p.control input.radio { /*margin-right*/margin-left:6px; }
156
+ /* Form Highlight */
157
+ input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
158
+ /*.highlight { background:#efefef; }*/
159
+
160
+ /* Form lists */
161
+ /* Grouped fields */
162
+ /*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
163
+ .form-list li { margin:0 0 8px; }
164
+ .form-list label { float:/*left*/right; color:#666; font-weight:bold; position:relative; z-index:0; }
165
+ .form-list label.required {}
166
+ .form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; /*right*/left:-8px; }
167
+ .form-list li.control label { float:none; }
168
+ .form-list li.control input.radio,
169
+ .form-list li.control input.checkbox { /*margin-right*/margin-left:6px; }
170
+ .form-list li.control .input-box { clear:none; display:inline; width:auto; }
171
+ /*.form-list li.fields { margin-right:-15px; }*/
172
+ .form-list .input-box { display:block; clear:both; width:260px; }
173
+ .form-list .field { float:/*left*/right; width:275px; }
174
+ .form-list input.input-text { width:254px; }
175
+ .form-list textarea { width:254px; height:10em; }
176
+ .form-list select { width:260px; }
177
+ .form-list li.wide .input-box { width:535px; }
178
+ .form-list li.wide input.input-text { width:529px; }
179
+ .form-list li.wide textarea { width:529px; }
180
+ .form-list li.wide select { width:535px; }
181
+ .form-list li.additional-row { border-top:1px solid #ccc; margin-top:10px; padding-top:7px; }
182
+ .form-list li.additional-row .btn-remove { float:/*right*/left; margin:5px 0 0; }
183
+ .form-list .input-range input.input-text { width:74px; }
184
+ /* Customer */
185
+ .form-list .customer-name-prefix .input-box,
186
+ .form-list .customer-name-suffix .input-box,
187
+ .form-list .customer-name-prefix-suffix .input-box,
188
+ .form-list .customer-name-prefix-middlename .input-box,
189
+ .form-list .customer-name-middlename-suffix .input-box,
190
+ .form-list .customer-name-prefix-middlename-suffix .input-box { width:auto; }
191
+
192
+ .form-list .name-prefix { width:65px; }
193
+ .form-list .name-prefix select { width:55px; }
194
+ .form-list .name-prefix input.input-text { width:49px; }
195
+
196
+ .form-list .name-suffix { width:65px; }
197
+ .form-list .name-suffix select { width:55px; }
198
+ .form-list .name-suffix input.input-text { width:49px; }
199
+
200
+ .form-list .name-middlename { width:70px; }
201
+ .form-list .name-middlename input.input-text { width:49px; }
202
+
203
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname,
204
+ .form-list .customer-name-prefix-middlename .name-firstname { width:140px; }
205
+ .form-list .customer-name-prefix-middlename-suffix .name-firstname input.input-text,
206
+ .form-list .customer-name-prefix-middlename .name-firstname input.input-text { width:124px; }
207
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname { width:205px; }
208
+ .form-list .customer-name-prefix-middlename-suffix .name-lastname input.input-text { width:189px; }
209
+
210
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
211
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
212
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
213
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
214
+
215
+ .form-list .customer-name-prefix-suffix .name-firstname { width:210px; }
216
+ .form-list .customer-name-prefix-suffix .name-lastname { width:205px; }
217
+ .form-list .customer-name-prefix-suffix .name-firstname input.input-text,
218
+ .form-list .customer-name-prefix-suffix .name-lastname input.input-text { width:189px; }
219
+
220
+ .form-list .customer-name-prefix .name-firstname,
221
+ .form-list .customer-name-middlename .name-firstname { width:210px; }
222
+
223
+ .form-list .customer-name-suffix .name-lastname,
224
+ .form-list .customer-name-middlename .name-firstname,
225
+ .form-list .customer-name-middlename-suffix .name-firstname,
226
+ .form-list .customer-name-middlename-suffix .name-lastname { width:205px; }
227
+
228
+ .form-list .customer-name-prefix .name-firstname input.input-text,
229
+ .form-list .customer-name-suffix .name-lastname input.input-text,
230
+ .form-list .customer-name-middlename .name-firstname input.input-text,
231
+ .form-list .customer-name-middlename-suffix .name-firstname input.input-text,
232
+ .form-list .customer-name-middlename-suffix .name-lastname input.input-text { width:189px; }
233
+
234
+ .form-list .customer-dob .dob-month,
235
+ .form-list .customer-dob .dob-day,
236
+ .form-list .customer-dob .dob-year { float:left; width:85px; }
237
+ .form-list .customer-dob input.input-text { display:block; width:74px; }
238
+ .form-list .customer-dob label { font-size:10px; font-weight:normal; color:#888; }
239
+ .form-list .customer-dob .dob-day,
240
+ .form-list .customer-dob .dob-month { width:60px; }
241
+ .form-list .customer-dob .dob-day input.input-text,
242
+ .form-list .customer-dob .dob-month input.input-text { width:46px; }
243
+ .form-list .customer-dob .dob-year { width:140px; }
244
+ .form-list .customer-dob .dob-year input.input-text { width:134px; }
245
+
246
+ /* Independent fields */
247
+ /*.form-list li { margin:0 0 8px; }
248
+ .form-list li.fields { margin:0; }
249
+ .form-list .field { display:block; margin:0 0 8px; }
250
+ .form-list li.control {}
251
+ .form-list label { float:left; width:150px; padding:2px 10px 0 0; text-align:right; }
252
+ .form-list label.required { font-weight:bold; }
253
+ .form-list label.required em { font-variant:normal; color:#eb340a; margin-right:3px; }
254
+ .form-list .input-box { float:left; width:260px; }
255
+ .form-list input.input-text,
256
+ .form-list textarea { width:254px; }
257
+ .form-list select { width:260px; }
258
+ .form-list li.additional-row { border-top:1px solid #ddd; margin-top:10px; }
259
+ .form-list li.additional-row .btn-remove { float:right; margin:5px 5px 0 0; }
260
+ .form-list .input-range input.input-text { width:96px; }*/
261
+ /* Customer */
262
+ /*.form-list .customer-dob .dob-month,
263
+ .form-list .customer-dob .dob-day,
264
+ .form-list .customer-dob .dob-year { float:left; width:85px; }
265
+ .form-list .customer-dob input.input-text { display:block; width:74px; }
266
+ .form-list .customer-dob label { font-size:11px; font-weight:normal; color:#777; text-align:left; }
267
+ .form-list .customer-dob .dob-day,
268
+ .form-list .customer-dob .dob-month { width:60px; }
269
+ .form-list .customer-dob .dob-day input.input-text,
270
+ .form-list .customer-dob .dob-month input.input-text { width:46px; }
271
+ .form-list .customer-dob .dob-year { width:140px; }
272
+ .form-list .customer-dob .dob-year input.input-text { width:134px; }*/
273
+
274
+ .buttons-set { clear:both; margin:4em 0 0; padding:8px 0 0; border-top:1px solid #e4e4e4; text-align:/*right*/left; }
275
+ .buttons-set p.required { margin:0 0 10px; }
276
+ .buttons-set .back-link { float:/*left*/right; margin:0; }
277
+ .buttons-set button.button { float:/*right*/left; /*margin-left*/margin-right:5px; }
278
+
279
+ .buttons-set-order { margin:10px 0 0; }
280
+ .buttons-set-order .please-wait { padding:12px 7px 0 0; }
281
+
282
+ .fieldset { border:1px solid #bbafa0; background:#fbfaf6; padding:/*22px 25px 12px 33px*/22px 33px 12px 25px; margin:28px 0; }
283
+ .fieldset .legend { float:/*left*/right; font-weight:bold; font-size:/*13px*/12px; border:1px solid #f19900; background:#f9f3e3; color:#e76200; margin:/*-33px 0 0 -10px*/-33px -10px 0 0; padding:0 8px; position:relative; }
284
+
285
+ /* Form Validation */
286
+ .validation-advice { clear:both; min-height:13px; margin:3px 0 0; /*padding-left*/padding-right:17px; font-size:/*11px*/10px; font-weight:bold; line-height:13px; background:url(../images/validation_advice_bg.gif) /*2px*/100% 0 no-repeat; color:#eb340a; }
287
+ .validation-failed { border:1px dashed #eb340a !important; background:#faebe7 !important; }
288
+ .validation-passed {}
289
+ p.required { font-size:/*11px*/10px; text-align:/*right*/left; color:#EB340A; }
290
+ /* Expiration date and CVV number validation fix */
291
+ .v-fix { float:/*left*/right; }
292
+ .v-fix .validation-advice { display:block; width:12em; /*margin-right*/margin-left:-12em; position:relative; }
293
+
294
+ /* Global Messages */
295
+ .success { color:#3d6611; font-weight:bold; }
296
+ .error { color:#df280a; font-weight:bold; }
297
+ .notice { color:#e26703; }
298
+
299
+ .messages,
300
+ .messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
301
+ .messages { width:100%; overflow:hidden; }
302
+ .messages li { margin:0 0 10px !important; }
303
+ .messages li li { margin:0 0 3px !important; }
304
+ .error-msg,
305
+ .success-msg,
306
+ .note-msg,
307
+ .notice-msg { border-style:solid !important; border-width:1px !important; background-position:/*10px*/100% 9px !important; background-repeat:no-repeat !important; min-height:24px !important; padding:/*8px 8px 8px 32px*/8px 32px 8px 8px !important; font-size:/*11px*/10px !important; font-weight:bold !important; }
308
+ .error-msg { border-color:#f16048; background-color:#faebe7; background-image:url(../images/i_msg-error.gif); color:#df280a; }
309
+ .success-msg { border-color:#446423; background-color:#eff5ea; background-image:url(../images/i_msg-success.gif); color:#3d6611; }
310
+ .note-msg,
311
+ .notice-msg { border-color:#fcd344; background-color:#fafaec; background-image:url(../images/i_msg-note.gif); color:#3d6611; }
312
+
313
+ /* BreadCrumbs */
314
+ .breadcrumbs { font-size:/*11px*/10px; line-height:1.25; margin:0 0 13px; }
315
+ .breadcrumbs li { display:inline; }
316
+ .breadcrumbs li strong { font-weight:bold; }
317
+
318
+ /* Page Heading */
319
+ .page-title { width:100%; overflow:hidden; border-bottom:1px solid #ccc; margin:0 0 25px; }
320
+ .page-title h1,
321
+ .page-title h2 { margin:0; font-size:/*20px*/19px; color:#0a263c; }
322
+ .page-title .separator { margin:0 3px; }
323
+ .page-title .link-rss { float:right; margin:7px 0 0; }
324
+ .title-buttons { text-align:/*right*/left; }
325
+ .title-buttons h1,
326
+ .title-buttons h2,
327
+ .title-buttons h3,
328
+ .title-buttons h4,
329
+ .title-buttons h5,
330
+ .title-buttons h6 { float:/*left*/right; }
331
+
332
+ .subtitle,
333
+ .sub-title { clear:both; padding:15px 0 0; font-size:/*15px*/14px; font-weight:bold; margin:0 0 6px; color:#e25203; }
334
+
335
+ /* Pager */
336
+ .pager { font-size:/*11px*/10px; background:#fff url(../images/bkg_toolbar.gif) 0 100% repeat-x; padding:4px 8px; border-top:1px solid #e2e2e2; text-align:center; }
337
+ .pager .amount { float:/*left*/right; margin:0; }
338
+ .pager .limiter { float:/*right*/left; }
339
+ .pager .limiter label { vertical-align:middle; }
340
+ .pager .limiter select { padding:0; margin:0 0 1px; vertical-align:middle; }
341
+ .pager .pages { margin:0 140px; }
342
+ .pager .pages ol { display:inline; }
343
+ .pager .pages li { display:inline; margin:0 2px; }
344
+ .pager .pages .current {}
345
+
346
+ /* Sorter */
347
+ .sorter { font-size:/*11px*/10px; background:#fff url(../images/bkg_toolbar.gif) 0 100% repeat-x; padding:3px 8px; border-top:1px solid #e2e2e2; }
348
+ .sorter .view-mode { float:/*left*/right; margin:0; }
349
+ .sorter .sort-by { float:/*right*/left; /*padding-right:36px;*/padding-left:39px; }
350
+ .sorter .sort-by label { vertical-align:middle; }
351
+ .sorter .sort-by select { padding:0; margin:0 0 1px; vertical-align:middle; }
352
+ .sorter .link-feed {}
353
+
354
+ /* Toolbar */
355
+ .toolbar {}
356
+ .toolbar .pager { padding:3px 8px; border-bottom:1px solid #fff; }
357
+ .toolbar .sorter { border-bottom:1px solid #fff; }
358
+ .toolbar-bottom {}
359
+
360
+ /* Data Table */
361
+ .data-table { width:100%; border:1px solid #bebcb7; }
362
+ .data-table .odd { background:#f8f7f5 }
363
+ .data-table .even { background:#eeeded; }
364
+ /*.data-table tr.odd:hover,
365
+ .data-table tr.even:hover { background:#ebf1f6; }*/
366
+ .data-table td.last,
367
+ .data-table th.last { /*border-right*/border-left:0; }
368
+ .data-table tr.last th,
369
+ .data-table tr.last td { border-bottom:0 !important; }
370
+ .data-table th { padding:3px 8px; font-weight:bold; }
371
+ .data-table td { padding:3px 8px; }
372
+
373
+ .data-table thead th { font-weight:bold; /*border-right*/border-left:1px solid #c2d3e0; padding:2px 8px; color:#0a263c; white-space:nowrap; vertical-align:middle; }
374
+ .data-table thead th.wrap { white-space:normal; }
375
+ .data-table thead th a,
376
+ .data-table thead th a:hover { color:#fff; }
377
+ .data-table thead th { background:url(../images/bkg_th.gif) repeat-x 0 100% #d9e5ee; }
378
+ .data-table thead th .tax-flag { font-size:/*11px*/10px; white-space:nowrap; }
379
+
380
+ .data-table tfoot { border-bottom:1px solid #d9dde3; }
381
+ .data-table tfoot tr.first td { background:url(../images/bkg_tfoot.gif) 0 0 repeat-x; }
382
+ .data-table tfoot tr { background-color:#dee5e8 !important; }
383
+ .data-table tfoot td { padding-top:1px; padding-bottom:1px; border-bottom:0; /*border-right*/border-left:1px solid #d9dde3; }
384
+ .data-table tfoot strong { font-size:/*16px*/15px; }
385
+
386
+ .data-table tbody th,
387
+ .data-table tbody td { border-bottom:1px solid #d9dde3; /*border-right*/border-left:1px solid #d9dde3; }
388
+ /* Bundle products tables */
389
+ .data-table tbody.odd tr { background:#f8f7f5 !important; }
390
+ .data-table tbody.even tr { background:#f6f6f6 !important; }
391
+ .data-table tbody.odd tr td,
392
+ .data-table tbody.even tr td { border-bottom:0; }
393
+ .data-table tbody.odd tr.border td,
394
+ .data-table tbody.even tr.border td { border-bottom:1px solid #d9dde3; }
395
+
396
+ .data-table tbody td .option-label { font-weight:bold; font-style:italic; }
397
+ .data-table tbody td .option-value { /*padding-left*/padding-right:10px; }
398
+
399
+ /* Generic Info Box */
400
+ .info-box { background:#fff url(../images/bkg_block-title.gif) 0 0 repeat-x; border:1px solid #d0cbc1; padding:12px 15px; margin:0 0 15px; }
401
+ .info-box h2 { font-weight:bold; font-size:13px; }
402
+
403
+ .info-table th { font-weight:bold; padding:/*2px 15px 2px 0*/2px 0 2px 15px; }
404
+ .info-table td { padding:2px 0; }
405
+
406
+ /* Shopping cart total summary row expandable to details */
407
+ tr.summary-total { cursor:pointer; }
408
+ tr.summary-total td {}
409
+ tr.summary-total .summary-collapse { float:right; text-align:right; padding-left:20px; background:url(../images/bkg_collapse.gif) 0 5px no-repeat; cursor:pointer; }
410
+ tr.show-details .summary-collapse { background-position:0 -52px; }
411
+ tr.show-details td {}
412
+ tr.summary-details td { font-size:11px; background-color:#dae1e4; color:#626465; }
413
+ tr.summary-details-first td { border-top:1px solid #d2d8db; }
414
+ tr.summary-details-excluded { font-style:italic; }
415
+
416
+ /* Shopping cart tax info */
417
+ .cart-tax-info { display:block; }
418
+ .cart-tax-info,
419
+ .cart-tax-info .cart-price { padding-right:20px; }
420
+ .cart-tax-total { display:block; padding-right:20px; background:url(../images/bkg_collapse.gif) 100% 5px no-repeat; cursor:pointer; }
421
+ .cart-tax-info .price,
422
+ .cart-tax-total .price { display:inline !important; font-weight:normal !important; }
423
+ .cart-tax-total-expanded { background-position:100% -52px; }
424
+
425
+ /* Class: std - styles for admin-controlled content */
426
+ .std .subtitle { padding:0; }
427
+ .std ol.ol { list-style:decimal outside; padding-left:1.5em; }
428
+ .std ul.disc { list-style:disc outside; /*padding-left*/padding-right:18px; margin:0 0 10px; }
429
+ .std dl dt { font-weight:bold; }
430
+ .std dl dd { margin:0 0 10px; }
431
+ /*.std ul,
432
+ .std ol,
433
+ .std dl,
434
+ .std p,
435
+ .std address,
436
+ .std blockquote { margin:0 0 1em; padding:0; }
437
+ .std ul { list-style:disc outside; padding-left:1.5em; }
438
+ .std ol { list-style:decimal outside; padding-left:1.5em; }
439
+ .std ul ul { list-style-type:circle; }
440
+ .std ul ul,
441
+ .std ol ol,
442
+ .std ul ol,
443
+ .std ol ul { margin:.5em 0; }
444
+ .std dt { font-weight:bold; }
445
+ .std dd { padding:0 0 0 1.5em; }
446
+ .std blockquote { font-style:italic; padding:0 0 0 1.5em; }
447
+ .std address { font-style:normal; }
448
+ .std b,
449
+ .std strong { font-weight:bold; }
450
+ .std i,
451
+ .std em { font-style:italic; }*/
452
+
453
+ /* Misc */
454
+ .links li { display:inline; }
455
+ .links li.first { /*padding-left*/padding-right:0 !important; }
456
+ .links li.last { background:none !important; /*padding-right*/padding-left:0 !important; }
457
+
458
+ .link-cart { color:#dc6809 !important; font-weight:bold; }
459
+ .link-wishlist { color:#dc6809 !important; font-weight:bold; }
460
+ .link-reorder { font-weight:bold; color:#dc6809 !important; }
461
+ .link-compare { font-weight:bold; }
462
+ .link-print { /*background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px;*/ font-weight:bold; color:#dc6809; }
463
+ .link-rss { background:url(../images/i_rss.gif) 0 2px no-repeat; padding-left:18px; line-height:14px; white-space:nowrap; }
464
+ .btn-remove { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_remove.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
465
+ .btn-remove2 { display:block; width:16px; height:16px; font-size:0; line-height:0; background:url(../images/btn_trash.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
466
+ .btn-edit { display:block; width:11px; height:11px; font-size:0; line-height:0; background:url(../images/btn_edit.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
467
+
468
+ .cards-list dt { margin:5px 0 0; }
469
+ .cards-list .offset { padding:2px 0 2px 20px; }
470
+
471
+ .separator { margin:0 3px; }
472
+
473
+ .divider { clear:both; display:block; font-size:0; line-height:0; height:1px; margin:10px 0; background:url(../images/bkg_divider1.gif) 0 50% repeat-x; text-indent:-999em; overflow:hidden; }
474
+
475
+ /* Noscript Notice */
476
+ .noscript { border:1px solid #ddd; border-width:0 0 1px; background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
477
+ .noscript .noscript-inner { width:950px; margin:0 auto; padding:12px 0 12px; background:url(../images/i_notice.gif) /*20px*/894px 50% no-repeat; }
478
+ .noscript p { margin:0; }
479
+
480
+ /* Demo Notice */
481
+ .demo-notice { margin:0; padding:6px 10px; background:#d75f07; font-size:12px; line-height:1.15; text-align:center; color:#fff; }
482
+ /* ======================================================================================= */
483
+
484
+
485
+ /* Header ================================================================================ */
486
+ .logo { float:/*left*/right; }
487
+ .header-container { border-top:5px solid #0d2131; border-bottom:1px solid #415966; background:url(../images/bkg_header.jpg) 50% 0 repeat; }
488
+ .header { width:930px; margin:0 auto; padding:10px; text-align:right; position:relative; z-index:10; }
489
+ .header .logo { float:/*left*/right; margin:/*3px 0 10px 12px*/3px 12px 10px 0; text-decoration:none !important; }
490
+ .header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
491
+ .header h1.logo { margin:0; }
492
+ .header .quick-access { float:/*right*/left; width:600px; padding:/*28px 10px 0 0*/28px 0 0 10px; }
493
+ .header .welcome-msg { margin:0; color:#fff; text-align:/*right*/left; }
494
+ .header .form-search { position:absolute; top:0; /*right*/left:29px; width:315px; height:30px; background:url(../images/bkg_form-search.gif) 0 0 no-repeat; padding:/*1px 0 0 16px*/1px 16px 0 0; }
495
+ .header .form-search label { float:/*left*/right; width:24px; height:21px; text-align:/*left*/right; text-indent:-999em; overflow:hidden; }
496
+ .header .form-search input.input-text { float:/*left*/right; border-color:#5c7989; width:209px; /*margin-right*/margin-left:4px; }
497
+ .header .form-search button.button { float:/*left*/right; }
498
+ .header .form-search button.button span { border:0; height:21px; background:url(../images/btn_search.gif) 0 0 no-repeat; padding:0 0 0 3px; font:bold 11px/21px Tahoma, Verdana, Arial, sans-serif; }
499
+ .header .form-search button.button span span { background-position:100% 0; padding:0 6px 0 3px; }
500
+ .header .form-search .search-autocomplete { z-index:999; /*left*/right:40px !important; top:22px !important; }
501
+ .header .form-search .search-autocomplete ul { border:1px solid #5c7989; background-color:#f9f5f0; }
502
+ .header .form-search .search-autocomplete li { text-align:/*left*/right; border-bottom:1px solid #f4eee7; padding:2px 8px 1px 8px; cursor:pointer; }
503
+ .header .form-search .search-autocomplete li .amount { float:/*right*/left; font-weight:bold; }
504
+ .header .form-search .search-autocomplete li.odd { background-color:#fffefb; }
505
+ .header .form-search .search-autocomplete li.selected { background-color:#f7e8dd; }
506
+ .header .form-language { clear:both; padding:5px 0 0; text-align:/*right*/left; }
507
+ .header .form-language label { font-weight:bold; /*padding-right*/padding-left:5px; color:#a7c6dd; vertical-align:middle; }
508
+ .header .form-language select { padding:0; }
509
+ .header .form-language select.flags option { background-position:4px 50%; background-repeat:no-repeat; padding-left:25px; }
510
+ .header .links { float:/*right*/left; margin:0 0 6px; }
511
+ .header .links li { float:/*left*/right; font-size:/*11px*/10px; background:url(../images/bkg_pipe1.gif) /*100%*/0 60% no-repeat; padding:/*0 8px 0 7px*/0 7px 0 8px; }
512
+ .header .links a { color:#ebbc58; }
513
+ .header-container .top-container { clear:both; padding:/*5px 10px 0 12px*/5px 12px 0 10px; text-align:/*right*/left; }
514
+ .header-container .top-container a { font-size:/*11px*/10px; color:#ebbc58; }
515
+
516
+ /********** < Navigation */
517
+ .nav-container { background:#0a263d url(../images/bkg_nav0.jpg) 50% 0 repeat-y; }
518
+ #nav { width:918px; margin:0 auto; padding:0 16px; font-size:13px; }
519
+
520
+ /* All Levels */ /* Style consistent throughout all nav levels */
521
+ #nav li { position:relative; text-align:/*left*/right; }
522
+ #nav li.over { z-index:998; }
523
+ #nav a,
524
+ #nav a:hover { display:block; line-height:1.3em; text-decoration:none; }
525
+ #nav span { display:block; cursor:pointer; white-space:nowrap; }
526
+ #nav li ul span {white-space:normal; }
527
+ #nav ul li.parent a { background:url(../images/bkg_nav2.gif) /*100%*/0 100% no-repeat; }
528
+ #nav ul li.parent li a { background-image:none; }
529
+
530
+ /* 0 Level */
531
+ #nav li { float:/*left*/right; }
532
+ #nav li.active a { color:#d96708; }
533
+ #nav a { float:left; padding:/*5px 12px 6px 8px*/5px 8px 6px 12px; color:#a7c6dd; font-weight:bold; }
534
+ #nav li.over a,
535
+ #nav a:hover { color:#d96708; }
536
+
537
+ /* 1st Level */
538
+ #nav ul li,
539
+ #nav ul li.active { float:none; margin:0; padding-bottom:1px; background:#ecf3f6 url(../images/bkg_nav1.gif) 0 100% repeat-x; }
540
+ #nav ul li.last { background:#ecf3f6; padding-bottom:0; }
541
+
542
+ #nav ul a,
543
+ #nav ul a:hover { float:none; padding:0; background:none; }
544
+ #nav ul li a { font-weight:normal !important; }
545
+
546
+ /* 2nd Level */
547
+ #nav ul,
548
+ #nav div { position:absolute; width:15em; top:27px; /*left:-10000px;*/display:none; border:1px solid #899ba5; }
549
+ #nav div ul { position:static; width:auto; border:none; }
550
+
551
+ /* 3rd+ Level */
552
+ #nav ul ul,
553
+ #nav ul div { top:5px; }
554
+
555
+ #nav ul li a { background:#ecf3f6; }
556
+ #nav ul li a:hover { background:#d5e4eb; }
557
+ #nav ul li a,
558
+ #nav ul li a:hover { color:#2f2f2f !important; }
559
+ #nav ul span,
560
+ #nav ul li.last li span { padding:3px 15px 4px 15px; }
561
+
562
+ /* Show menu */
563
+ #nav li ul.shown-sub,
564
+ #nav li div.shown-sub { display:block; /*left*/right:0; z-index:999; }
565
+ #nav li .shown-sub ul.shown-sub,
566
+ #nav li .shown-sub li div.shown-sub { /*left*/right:100px; }
567
+ /********** Navigation > */
568
+ /* ======================================================================================= */
569
+
570
+
571
+ /* Sidebar =============================================================================== */
572
+ .block { border:1px solid #c4c1bc; margin:0 0 15px; }
573
+ .block .block-title { background:url(../images/bkg_block-title.gif) 0 0 repeat-x; border-bottom:1px solid #ddd; padding:2px 9px; }
574
+ .block .block-title strong { display:block; font:bold /*12px*/11px//*16px*/13px Tahoma, Arial, Helvetica, sans-serif; min-height:16px; padding:1px 0 1px; text-transform:uppercase; color:#e26703; }
575
+ .block .block-title strong span {}
576
+ .block .block-title a { text-decoration:none !important; }
577
+ .block .block-subtitle { margin:0; padding:5px 9px; font-size:1em; font-weight:bold; color:#0a263c; }
578
+ .block .block-content { background:#f8f7f5; }
579
+ .block .block-content li.item { padding:7px 9px; }
580
+ .block .block-content .product-name { color:#1e7ec8; }
581
+ .block .btn-remove,
582
+ .block .btn-edit { float:/*right*/left; margin:/*1px 0 2px 5px*/1px 5px 2px 0; }
583
+ .block .actions { background:#dee5e8 url(../images/bkg_block-actions.gif) 0 0 repeat-x; padding:6px 9px; text-align:right; }
584
+ .block .actions a { float:/*left*/right; }
585
+ .block .actions button.button { float:/*right*/left; }
586
+ .block .empty { margin:0; padding:5px 9px; }
587
+
588
+ .block li.odd { background-color:#f4f3f3; }
589
+ .block li.even { background-color:#fafafa; }
590
+
591
+ /* Mini Blocks */
592
+ .block-cart,
593
+ .block-wishlist,
594
+ .block-subscribe,
595
+ .block-compare,
596
+ .block-reorder,
597
+ .block-poll,
598
+ .block-viewed,
599
+ .block-compared,
600
+ .block-related,
601
+ .block-tags,
602
+ .block-login { font-size:/*11px*/10px; line-height:1.25; }
603
+ .block-cart .block-title strong,
604
+ .block-wishlist .block-title strong,
605
+ .block-subscribe .block-title strong,
606
+ .block-compare .block-title strong,
607
+ .block-reorder .block-title strong,
608
+ .block-poll .block-title strong,
609
+ .block-viewed .block-title strong,
610
+ .block-compared .block-title strong,
611
+ .block-related .block-title strong,
612
+ .block-tags .block-title strong,
613
+ .block-login .block-title strong { background-position:/*0*/100% 0; background-repeat:no-repeat; /*padding-left*/padding-right:21px; }
614
+
615
+ /* Mini Products List */
616
+ .mini-products-list .product-image { float:/*left*/right; width:50px; border:1px solid #a9a9a9; }
617
+ .mini-products-list .product-details { /*margin-left*/margin-right:60px; }
618
+
619
+ /* Block: Account */
620
+ .block-account { border-color:#bbb; }
621
+ .block-account .block-title { background:#fc9d36 url(../images/bkg_block-title-account.gif) 0 100% repeat-x; border:0; padding:3px 10px; }
622
+ .block-account .block-title strong { font-size:/*13px*/12px; color:#fff; }
623
+ .block-account .block-content { background:#fbfaf6; padding:7px 10px 7px; }
624
+ .block-account .block-content li a { display:block; border-bottom:1px solid #ddd; padding:3px 0; color:#5f5d5c; text-decoration:none !important; }
625
+ .block-account .block-content li a:hover { color:#ea7900; }
626
+ .block-account .block-content li.last a { border-bottom:0; }
627
+ .block-account .block-content li.current { border-bottom:1px solid #ddd; padding:3px 0; color:#ea7900; }
628
+ .block-account .block-content li.current.last { border-bottom:0; }
629
+
630
+ /* Block: Currency Switcher */
631
+ .block-currency { border:0; background:url(../images/bkg_block-currency.gif) 0 0 no-repeat; padding:7px 12px 10px; height:51px; }
632
+ .block-currency .block-title { background:none; border:0; padding:0; margin:0 0 5px; }
633
+ .block-currency .block-title strong { font:bold /*13px*/12px/21px Tahoma, Arial, Helvetica, sans-serif; background:url(../images/i_block-currency.gif) /*0*/100% 50% no-repeat; padding:/*0 0 0 21px*/0 21px 0 0; text-transform:none; color:#fff; }
634
+ .block-currency .block-content { background:none; padding:0; }
635
+ .block-currency .block-content select { width:100%; padding:0; }
636
+
637
+ /* Block: Layered Navigation */
638
+ .block-layered-nav { border:0; }
639
+ .block-layered-nav .block-title { border:0; padding:0; height:24px; background:url(../images/bkg_block-layered-title.gif) 0 0 no-repeat; text-indent:-999em; overflow:hidden; }
640
+ .block-layered-nav .block-subtitle { line-height:1.35; background:#d5e8ff url(../images/bkg_block-layered1.gif) 0 50% repeat; padding:3px 9px; border:1px solid #b9ccdd; border-width:1px 0; text-transform:uppercase; color:#1f5070; }
641
+ .block-layered-nav .block-content { border:1px solid #a0b3c3; background:#e7f1f4; }
642
+ .block-layered-nav dt { background:url(../images/bkg_block-layered-dt.gif) /*9px*/100% 11px no-repeat; padding:/*7px 10px 0 28px*/7px 28px 0 10px; font-weight:bold; text-transform:uppercase; }
643
+ .block-layered-nav dd { padding:0 12px 12px; background:url(../images/bkg_block-layered-dd.gif) 0 100% repeat-x; }
644
+ .block-layered-nav dd.last { background:none; }
645
+ .block-layered-nav .currently li { background:#fff url(../images/bkg_block-layered-li.gif) 0 100% repeat-x; padding:/*4px 6px 4px 10px*/4px 10px 4px 6px; }
646
+ .block-layered-nav .currently .label { font-weight:bold; /*padding-left*/padding-right:18px; background:url(../images/bkg_block-layered-label.gif) /*0*/100% 3px no-repeat; text-transform:uppercase; }
647
+ .block-layered-nav .currently .btn-remove { margin:3px 0 0; }
648
+ .block-layered-nav .actions { font-size:/*11px*/10px; padding:4px 9px; background:#cad6e4; border:1px solid #dee5e8; border-width:1px 0; text-align:/*right*/left; }
649
+ .block-layered-nav .actions a { float:none; }
650
+
651
+ /* Block: Cart */
652
+ .block-cart .block-title { /*border-bottom:0;*/ }
653
+ .block-cart .block-title strong { background-image:url(../images/i_block-cart.gif); }
654
+ .block-cart .summary { background:#fff; padding:2px 8px 8px; margin:-1px 0 0; position:relative; z-index:1; }
655
+ .block-cart .amount { margin:0; }
656
+ .block-cart .amount a { font-weight:bold; }
657
+ .block-cart .subtotal { margin:5px 0 0; padding:2px 0; background:#fbebd9; text-align:center; }
658
+ .block-cart .subtotal .price { font-weight:bold; }
659
+ .block-cart .actions { border-bottom:1px solid #c2c2c2; }
660
+ .block-cart .actions .paypal-logo { float:left; width:100%; margin:3px 0 0; text-align:right; }
661
+ .block-cart .actions .paypal-logo .paypal-or { clear:both; display:block; padding:0 55px 8px 0; }
662
+
663
+ /* Block: Wishlist */
664
+ .block-wishlist .block-title strong { background-image:url(../images/i_block-wishlist.gif); }
665
+ .block-wishlist .actions { text-align:/*right*/left; }
666
+ .block-wishlist .actions a { float:none; }
667
+
668
+ /* Block: Related */
669
+ .block-related .block-title strong { background-image:url(../images/i_block-related.gif); background-position:/*0*/100% 1px; }
670
+ .block-related input.checkbox { float:/*left*/right; }
671
+ .block-related .product { /*margin-left*/margin-right:20px; }
672
+
673
+ /* Block: Compare Products */
674
+ .block-compare .block-title strong { background-image:url(../images/i_block-list.gif); background-position:/*0*/100% 1px; }
675
+ .block-compare button.button span { border-color:#406a83; background:#618499; }
676
+ .page-popup .link-print { background:url(../images/i_print.gif) /*0*/100% 2px no-repeat; padding:/*2px 0 2px 25px*/2px 25px 2px 0; font-weight:bold; color:#1e7ec8; }
677
+ .compare-table { border:0; }
678
+ .compare-table thead tr.first th,
679
+ .compare-table thead tr.first td { border:0; background:none; padding:0; font-size:0; line-height:0; }
680
+ .compare-table .btn-remove { float:/*right*/left; background-image:url(../images/btn_remove2.gif); width:72px; height:15px; }
681
+ .compare-table tbody th { background:#d9e5ee url(../images/bkg_th-v.gif) /*100%*/0 0 repeat-y; }
682
+ .compare-table tbody th,
683
+ .compare-table tbody td { padding:10px; border:0; border-top:1px solid #ccc; /*border-left*/border-right:1px solid #ccc; }
684
+ .compare-table tbody td.last { /*border-right*/border-left:1px solid #ccc; }
685
+ .compare-table tbody tr.last th,
686
+ .compare-table tbody tr.last td { border-bottom:1px solid #ccc !important; }
687
+ .compare-table tr.add-to-row td { background:#fffada; text-align:center; }
688
+ .compare-table tr.first td { text-align:center; }
689
+ .compare-table tr.first td .product-name { font-size:/*13px*/12px; font-weight:bold; margin:0 0 5px; color:#203548; }
690
+ .compare-table tr.first td .product-name a { color:#203548; }
691
+ .compare-table tr.first td .ratings { width:69px; margin:0 auto; }
692
+ .compare-table tr.first td p,
693
+ .compare-table tr.add-to-row td p { margin:0; }
694
+
695
+ /* Block: Recently Viewed */
696
+ .block-viewed .block-title strong { background-image:url(../images/i_block-viewed.gif); }
697
+
698
+ /* Block: Recently Compared */
699
+ .block-compared .block-title strong { background-image:url(../images/i_block-list.gif); background-position:/*0*/100% 1px; }
700
+
701
+ /* Block: Poll */
702
+ .block-poll .block-title strong { background-image:url(../images/i_block-poll.gif); }
703
+ .block-poll .block-subtitle { font-size:/*12px*/11px; }
704
+ .block-poll label { color:#777; font-weight:bold; }
705
+ .block-poll input.radio { float:/*left*/right; margin:/*1px -18px 0 0*/1px 0 0 -18px; }
706
+ .block-poll .label { display:block; /*margin-left*/margin-right:18px; }
707
+ .block-poll li { padding:3px 9px; }
708
+ .block-poll .actions { margin:5px 0 0; }
709
+ .block-poll button.button span { border-color:#406a83; background:#618499; }
710
+ .block-poll .answer { font-weight:bold; }
711
+ .block-poll .votes { float:/*right*/left; /*margin-left*/margin-right:10px; }
712
+
713
+ /* Block: Tags */
714
+ .block-tags .block-title strong { background-image:url(../images/i_block-tags.gif); }
715
+ .block-tags .block-content .tags-list { background:none; border:0; font-size:/*12px*/11px; }
716
+ .block-tags .block-content a { color:#1b2d3b; }
717
+ .block-tags .actions { text-align:/*right*/left; }
718
+ .block-tags .actions a { float:none; }
719
+
720
+ /* Block: Subscribe */
721
+ .block-subscribe .block-content { padding:5px 10px; }
722
+ .block-subscribe .block-title strong { background-image:url(../images/i_block-subscribe.gif); }
723
+ .block-subscribe label { font-weight:bold; color:#666; }
724
+ .block-subscribe input.input-text { display:block; width:167px; margin:3px 0; }
725
+ .block-subscribe .actions { background:none; padding:0; margin:3px 0 0; text-align:/*left*/right; }
726
+ .block-subscribe .actions button.button { float:none; }
727
+ .block-subscribe .actions button.button span { border-color:#406a83; background:#618499; }
728
+
729
+ /* Block: Reorder */
730
+ .block-reorder .block-title strong { background-image:url(../images/i_block-list.gif); }
731
+ .block-reorder input.checkbox { float:/*left*/right; margin:/*2px -20px 0 0*/2px 0 0 -20px; }
732
+ .block-reorder .product-name { /*margin-left*/margin-right:20px; }
733
+ .block-reorder .validation-advice { margin:3px 9px 7px; }
734
+
735
+ /* Block: Banner */
736
+ .block-banner { border:0; }
737
+ .block-banner .block-content { padding:0; text-align:center; }
738
+
739
+ /* Block: Login */
740
+ .block-login .block-title strong { background-image:url(../images/i_ma-info.gif); }
741
+ .block-login .block-content { padding:5px 10px; }
742
+ .block-login label { font-weight:bold; color:#666; }
743
+ .block-login input.input-text { display:block; width:167px; margin:3px 0; }
744
+ .block-login .actions { background:none; padding:0; margin:3px 0 0; }
745
+ .block-login .actions button.button span { border-color:#406a83; background:#618499; }
746
+
747
+ /* Paypal */
748
+ .sidebar .paypal-logo { display:block; margin:10px 0; text-align:center; }
749
+ .sidebar .paypal-logo a { float:none; }
750
+ /* ======================================================================================= */
751
+
752
+
753
+ /* Category Page ========================================================================= */
754
+ .category-title { border:0; margin:0 0 7px; }
755
+ .category-image { width:100%; overflow:hidden; margin:0 0 10px; text-align:center; }
756
+ .category-image img {}
757
+ .category-description { margin:0 0 10px; }
758
+ .category-products {}
759
+
760
+ /* View Type: Grid */
761
+ .products-grid { border-bottom:1px solid #d9ddd3; background:url(../images/bkg_grid.gif) 0 0 repeat; position:relative; }
762
+ .products-grid.last { border-bottom:0; }
763
+ .products-grid li.item { float:/*left*/right; width:138px; padding:12px 10px 80px; }
764
+ .products-grid .product-image { display:block; width:135px; height:135px; margin:0 0 10px; }
765
+ .products-grid .product-name { /*min-height:2.7em;*/ margin:0 0 5px; font-weight:bold; font-size:/*13px*/12px; color:#203548; }
766
+ .products-grid .product-name a { color:#203548; }
767
+ .products-grid .price-box { margin:5px 0; }
768
+ .products-grid .availability { line-height:21px; }
769
+ .products-grid .actions { position:absolute; bottom:12px; }
770
+ .col2-left-layout .products-grid,
771
+ .col2-right-layout .products-grid { width:632px; margin:0 auto; }
772
+ .col1-layout .products-grid { width:790px; margin:0 auto; }
773
+
774
+ /* View Type: List */
775
+ .products-list li.item { border-bottom:1px solid #d9ddd3; padding:12px 10px; }
776
+ .products-list li.item.last { border-bottom:0; }
777
+ .products-list .product-image { float:/*left*/right; width:135px; height:135px; margin:0 0 10px; }
778
+ .products-list .product-shop { /*margin-left*/margin-right:150px; }
779
+ .products-list .product-name { margin:0 0 5px; font-weight:bold; font-size:/*13px*/12px; color:#203548; }
780
+ .products-list .product-name a { color:#203548; }
781
+ .products-list .price-box { float:/*left*/right; margin:/*3px 13px 5px 0*/3px 0 5px 13px; }
782
+ .products-list .availability { float:left; margin:3px 0 0; }
783
+ .products-list .desc { clear:both; padding:6px 0 0; margin:0 0 15px; line-height:1.35; }
784
+ .products-list .desc .link-learn { font-size:11px; }
785
+ .products-list .add-to-links { clear:both; }
786
+ .products-list .add-to-links li { display:inline; }
787
+ .products-list .add-to-links .separator { display:inline; margin:0 2px; }
788
+ /* ======================================================================================= */
789
+
790
+
791
+ /* Product View ========================================================================== */
792
+ /* Rating */
793
+ .no-rating { margin:0; }
794
+
795
+ .ratings { font-size:/*11px*/10px; line-height:1.25; margin:7px 0; }
796
+ .ratings strong { float:/*left*/right; margin:/*1px 3px 0 0*/1px 0 0 3px; }
797
+ .ratings .rating-links { margin:0; }
798
+ .ratings .rating-links .separator { margin:0 2px; }
799
+ .ratings dt {}
800
+ .ratings dd {}
801
+ .rating-box { width:69px; height:13px; font-size:0; line-height:0; background:url(../images/bkg_rating.gif) /*0*/100% 0 repeat-x; text-indent:-999em; overflow:hidden; }
802
+ .rating-box .rating { float:/*left*/right; height:13px; background:url(../images/bkg_rating.gif) /*0*/100% 100% repeat-x; }
803
+ .ratings .rating-box { float:/*left*/right; /*margin-right*/margin-left:3px; }
804
+ .ratings .amount {}
805
+
806
+ .ratings-table th,
807
+ .ratings-table td { font-size:/*11px*/10px; line-height:1.15; padding:3px 0; }
808
+ .ratings-table th { font-weight:bold; /*padding-right*/padding-left:8px; }
809
+
810
+ /* Availability */
811
+ .availability { margin:0; }
812
+ .availability span { font-weight:bold; }
813
+ .availability.in-stock span {}
814
+ .availability.out-of-stock span { color:#d83820; }
815
+
816
+ .availability-only { margin:10px 0 7px; line-height:16px; background:url(../images/i_availability_only.gif) 0 50% no-repeat; padding-left:15px; }
817
+ .availability-only span,
818
+ .availability-only a { border-bottom:1px dashed #751d02; color:#000; }
819
+ .availability-only a { background:url(../images/i_availability_only_arrow.gif) 100% 0 no-repeat; cursor:pointer; padding-right:15px; text-decoration:none; }
820
+ .availability-only .expanded { background-position:100% -15px; }
821
+ .availability-only strong { color:#be2c00; }
822
+
823
+ .availability-only-details { margin:0 0 7px; }
824
+ .availability-only-details th { background:#d2d6d9; font-size:10px; padding:0 8px; }
825
+ .availability-only-details td { background:#ebf0f3; border-bottom:1px solid #fff; font-size:11px; padding:2px 8px 1px; }
826
+ .availability-only-details tr.odd td.last { color:#d95e00; font-weight:bold; }
827
+
828
+ .product-view .product-shop .availability { font-size:/*11px*/10px; }
829
+ .product-view .product-shop .availability span { font-weight:normal; }
830
+
831
+ /* Email to a Friend */
832
+ .email-friend { margin:0; }
833
+
834
+ /* Alerts */
835
+ .alert-price { margin:0; font-size:11px; }
836
+ .alert-stock { margin:0; font-size:11px; }
837
+
838
+ /********** < Product Prices */
839
+ .price { white-space:nowrap !important; }
840
+
841
+ .price-box { margin:5px 0; }
842
+ .price-box .price { font-weight:bold; color:#c76200; }
843
+
844
+ /* Regular price */
845
+ .regular-price { color:#c76200; }
846
+ .regular-price .price { font-weight:bold; font-size:/*13px*/12px; color:#c76200; }
847
+ .block .regular-price,
848
+ .block .regular-price .price { color:#2f2f2f; }
849
+
850
+ /* Old price */
851
+ .old-price { margin:0; }
852
+ .old-price .price-label { white-space:nowrap; color:#999; }
853
+ .old-price .price { font-weight:bold; color:#c76200; text-decoration:line-through; }
854
+
855
+ /* Special price */
856
+ .special-price { margin:0; padding:3px 0; }
857
+ .special-price .price-label { font-size:/*13px*/12px; font-weight:bold; white-space:nowrap; color:#cd5033; }
858
+ .special-price .price { font-size:/*13px*/12px; font-weight:bold; color:#c76200; }
859
+
860
+ /* Minimal price (as low as) */
861
+ .minimal-price { margin:0; }
862
+ .minimal-price .price-label { font-weight:bold; white-space:nowrap; }
863
+
864
+ .minimal-price-link { display:block; }
865
+ .minimal-price-link .label {color:#1e7ec8;}
866
+ .minimal-price-link .price { font-weight:normal; color:#1e7ec8; }
867
+
868
+ /* Excluding tax */
869
+ .price-excluding-tax { display:block; color:#999; }
870
+ .price-excluding-tax .label { white-space:nowrap; color:#999; }
871
+ .price-excluding-tax .price { font-size:/*13px*/12px; font-weight:normal; color:#c76200; }
872
+
873
+ /* Including tax */
874
+ .price-including-tax { display:block; color:#999; }
875
+ .price-including-tax .label { white-space:nowrap; color:#999; }
876
+ .price-including-tax .price { font-size:/*13px*/12px; font-weight:bold; color:#c76200; }
877
+
878
+ /* Configured price */
879
+ .configured-price { margin:0; }
880
+ .configured-price .price-label { font-weight:bold; white-space:nowrap; }
881
+ .configured-price .price { font-weight:bold; }
882
+
883
+ /* FPT */
884
+ .weee { display:block; font-size:11px; color:#444; }
885
+ .weee .price { font-size:11px; font-weight:normal; }
886
+
887
+ /* Excl tax (for order tables) */
888
+ .price-excl-tax { display:block; }
889
+ .price-excl-tax .label { display:block; white-space:nowrap; }
890
+ .price-excl-tax .price { display:block; }
891
+
892
+ /* Incl tax (for order tables) */
893
+ .price-incl-tax { display:block; }
894
+ .price-incl-tax .label { display:block; white-space:nowrap; }
895
+ .price-incl-tax .price { display:block; font-weight:bold; }
896
+
897
+ /* Price range */
898
+ .price-from { margin:0; }
899
+ .price-from .price-label { font-weight:bold; white-space:nowrap; }
900
+
901
+ .price-to { margin:0; }
902
+ .price-to .price-label { font-weight:bold; white-space:nowrap; }
903
+
904
+ /* Price notice next to the options */
905
+ .price-notice { /*padding-left*/padding-right:10px; color:#999; }
906
+ .price-notice .price { font-weight:bold; color:#2f2f2f; }
907
+
908
+ /* Price as configured */
909
+ .price-as-configured { margin:0; }
910
+ .price-as-configured .price-label { font-weight:bold; white-space:nowrap; }
911
+
912
+ .price-box-bundle { padding:0 0 10px 0; }
913
+ .price-box-bundle .price-box { margin:0 !important; padding:0 !important; }
914
+ .price-box-bundle .price { color:#555; }
915
+ /********** Product Prices > */
916
+
917
+ /* Tier Prices */
918
+ .tier-prices { margin:10px 0; padding:10px; background-color:#f4f7f7; border:1px solid #dadddd; }
919
+ .tier-prices li { line-height:1.4; background:url(../images/i_tier.gif) no-repeat /*0*/100% 3px; padding:/*2px 0 2px 10px*/2px 10px 2px 0; color:#424242; }
920
+ .tier-prices .benefit { font-style:italic; font-weight:bold; color:#2f2f2f; }
921
+ .tier-prices .price { font-weight:bold; color:#2f2f2f; }
922
+
923
+ .tier-prices-grouped li { padding:2px 0; color:#e26703; }
924
+ .tier-prices-grouped li .price { font-weight:bold; }
925
+
926
+ /* Add to Links */
927
+ .add-to-links { font-size:/*11px*/10px; margin:5px 0 0; }
928
+ .add-to-links .separator { display:none; }
929
+
930
+ /* Add to Cart */
931
+ .add-to-cart label { float:/*left*/right; /*margin-right*/margin-left:5px; font-weight:bold; color:#666; }
932
+ .add-to-cart .qty { float:/*left*/right; /*margin-right*/margin-left:5px; }
933
+ .add-to-cart button.button { float:/*left*/right; }
934
+ .add-to-cart .paypal-logo { clear:left; margin:0; text-align:right; }
935
+ .add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
936
+ .product-view .add-to-cart .paypal-logo { margin:0; }
937
+
938
+ /* Add to Links + Add to Cart */
939
+ .add-to-box { margin:10px 0; }
940
+ .add-to-box .add-to-cart { float:/*left*/right; }
941
+ .add-to-box .or { float:/*left*/right; font-weight:bold; margin:0 7px; color:#666; }
942
+ .add-to-box .add-to-links { float:/*left*/right; margin:0; font-size:/*12px*/11px !important; line-height:1.25 !important; text-align:/*left*/right !important; }
943
+ .add-to-box .add-to-links li { display:block !important; }
944
+ .add-to-box .add-to-links li .separator { display:none !important; }
945
+
946
+
947
+ .product-view { border:1px solid #c4c6c8; }
948
+
949
+ .product-essential { padding:25px; background:#fff url(../images/bkg_product-view.gif) 100% 0 no-repeat; }
950
+ .product-essential h2 { font:bold /*13px*/12px/1.35 Tahoma, Arial, Helvetica, sans-serif; }
951
+
952
+ .product-collateral { background:#faf7ee url(../images/bkg_product_collateral.gif) 0 0 repeat-x; padding:25px; }
953
+ .product-collateral h2 { font-weight:bold; font-size:/*15px*/14px; color:#e26703; border-bottom:1px solid #e5dcc3; padding:0 0 1px; margin:0 0 15px; }
954
+ .product-collateral .box-collateral { margin:0 0 25px; }
955
+
956
+ /* Product Images */
957
+ .product-view .product-img-box { float:/*left*/right; width:267px; }
958
+ .col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
959
+ .product-view .product-img-box .product-image { margin:0 0 13px; }
960
+ .product-view .product-img-box .product-image-zoom { position:relative; width:265px; height:265px; overflow:hidden; z-index:9; }
961
+ .product-view .product-img-box .product-image-zoom img { position:absolute; left:0; top:0; cursor:move; }
962
+ .product-view .product-img-box .zoom-notice { font-size:/*11px*/10px; margin:0 0 5px; text-align:center; }
963
+ .product-view .product-img-box .zoom { position:relative; z-index:9; height:18px; margin:0 auto 13px; padding:0 28px; background:url(../images/slider_bg.gif) 50% 50% no-repeat; cursor:pointer; }
964
+ .product-view .product-img-box .zoom.disabled { -moz-opacity:.3; -webkit-opacity:.3; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";/*IE8*/ opacity:.3; }
965
+ .product-view .product-img-box .zoom #track { position:relative; height:18px; }
966
+ .product-view .product-img-box .zoom #handle { position:absolute; left:0; top:-1px; width:9px; height:22px; background:url(../images/magnifier_handle.gif) 0 0 no-repeat; }
967
+ .product-view .product-img-box .zoom .btn-zoom-out { position:absolute; left:2px; top:0; }
968
+ .product-view .product-img-box .zoom .btn-zoom-in { position:absolute; right:2px; top:0; }
969
+ .product-view .product-img-box .more-views h2 { font-size:/*11px*/10px; border-bottom:1px solid #ccc; margin:0 0 8px; text-transform:uppercase; }
970
+ .product-view .product-img-box .more-views ul { /*margin-left*/margin-right:-9px }
971
+ .product-view .product-img-box .more-views li { float:/*left*/right; margin:/*0 0 8px 9px*/0 9px 8px 0; }
972
+ .product-view .product-img-box .more-views li a { float:left; width:56px; height:56px; border:2px solid #ddd; overflow:hidden; }
973
+
974
+ .product-image-popup { margin:0 auto; }
975
+ .product-image-popup .buttons-set { float:/*right*/left; clear:none; border:0; margin:0; padding:0; }
976
+ .product-image-popup .nav { font-weight:bold; margin:0 100px; text-align:center; }
977
+ .product-image-popup .image { display:block; margin:10px 0; }
978
+ .product-image-popup .image-label { font-size:13px; font-weight:bold; margin:0 0 10px; color:#2f2f2f; }
979
+
980
+ /* Product Shop */
981
+ .product-view .product-shop { float:/*right*/left; width:330px; }
982
+ .col1-layout .product-view .product-shop { float:right; width:545px; }
983
+ .col3-layout .product-view .product-shop { float:none; width:auto; }
984
+ .product-view .product-shop .product-name { margin:0 0 5px; }
985
+ .product-view .product-shop .product-name h1 { margin:0; font:bold /*15px*/14px/1.35 Tahoma, Arial, Helvetica, sans-serif; }
986
+ .product-view .product-shop .availability { margin:10px 0; }
987
+ .product-view .product-shop .short-description { margin:10px 0; background:url(../images/bkg_divider1.gif) 0 0 repeat-x; padding:10px 0 0; }
988
+ .product-view .product-shop .price-box { margin:10px 0; }
989
+ .product-view .product-shop .add-to-links { margin:0; }
990
+ .product-view .product-shop .add-to-links { font-size:/*12px*/11px; text-align:right; }
991
+ .product-view .product-shop .add-to-links li,
992
+ .product-view .product-shop .add-to-links li .separator { display:inline; }
993
+ .product-view .product-shop .add-to-links a { color:#1E7EC8 !important; font-weight:normal !important; }
994
+
995
+ /* Product Options */
996
+ .product-options { margin:20px 0 0; padding:10px 15px 20px; position:relative; background-color:#f6f6f6; border:1px solid #e4e4e4; }
997
+ .product-options dt { padding:10px 0 0; font-weight:normal; }
998
+ .product-options dt label { font-weight:bold; color:#2f2f2f; }
999
+ .product-options dt label.required em { color:#eb340a; /*margin-left*/margin-right:5px; }
1000
+ .product-options dd .qty-holder { display:block; padding:10px 0 0; }
1001
+ .product-options dd .qty-holder label { vertical-align:middle; }
1002
+ .product-options dt .qty-disabled { background:none; border:0; padding:3px; color:#2f2f2f; }
1003
+ .product-options dd { padding:5px 10px 15px; margin:0 0 5px; border-bottom:1px solid #e4e4e4; }
1004
+ .product-options dl.last dd.last { border-bottom:0; padding-bottom:5px; margin-bottom:0; }
1005
+ .product-options dd input.input-text { width:98%; }
1006
+ .product-options dd input.datetime-picker { width:150px; }
1007
+ .product-options dd .time-picker { display:-moz-inline-box; display:inline-block; padding:2px 0; vertical-align:middle; }
1008
+ .product-options dd textarea { width:98%; height:8em; }
1009
+ .product-options dd select { width:99%; }
1010
+ .product-options dd .multiselect option { border-bottom:1px dotted #d9e5ee; padding:2px 4px; }
1011
+ .product-options ul.options-list { /*margin-right*/margin-left:5px; }
1012
+ .product-options ul.options-list li { line-height:1.5; padding:2px 0; }
1013
+ .product-options ul.options-list input.radio { float:/*left*/right; margin-top:3px; }
1014
+ .product-options ul.options-list input.checkbox { float:/*left*/right; margin-top:3px; }
1015
+ .product-options ul.options-list .label { display:block; /*margin-left*/margin-right:18px; }
1016
+ .product-options ul.options-list label { font-weight:normal; }
1017
+ .product-options ul.validation-failed { padding:0 7px; }
1018
+ .product-options p.note { margin:0; font-size:11px; }
1019
+ .product-options p.required { position:absolute; /*right*/left:20px; top:20px; }
1020
+
1021
+ .product-options-bottom { background-color:#fffada; padding:15px 20px; border:1px solid #e4e4e4; border-top:0; }
1022
+ .product-options-bottom .tier-prices { margin:0; padding:0 0 10px; border:0; background:0; }
1023
+ .product-options-bottom .tier-prices li { background:0; padding:2px 0; color:#e26703; }
1024
+ .product-options-bottom .tier-prices .price,
1025
+ .product-options-bottom .tier-prices .benefit { color:#e26703; }
1026
+ .product-options-bottom .price-box { float:/*left*/right; margin:0; padding:0; }
1027
+ .product-options-bottom .add-to-links { clear:both; padding:5px 0 0; text-align:/*right*/left; }
1028
+ .col3-layout .product-options-bottom .price-box { float:none; padding:0 0 5px; }
1029
+ .product-options-bottom .price-label { float:/*left*/right; /*padding-right*/padding-left:5px; }
1030
+ .product-options-bottom .price-tax { float:left; }
1031
+ .product-options-bottom .add-to-cart { float:/*right*/left; }
1032
+ .product-shop .product-options-bottom { margin:0 0 10px; }
1033
+ .product-shop .product-options-bottom .price-box { float:none; margin:0 0 5px; }
1034
+ .product-shop .product-options-bottom .price-label { float:none; padding-right:0; }
1035
+ .product-shop .product-options-bottom .price-tax { float:none; }
1036
+ .product-shop .product-options-bottom .add-to-cart-box { clear:both; float:left; padding-top:12px; }
1037
+ .product-shop .product-options-bottom .add-to-links { clear:both; padding:5px 0 0; text-align:/*right*/left; }
1038
+
1039
+ /* Grouped Product */
1040
+ .product-view .grouped-items-table .price-box { margin:0; padding:0; }
1041
+
1042
+ /* Block: Description */
1043
+ .product-view .box-description {}
1044
+
1045
+ /* Block: Additional */
1046
+ .product-view .box-additional .data-table th,
1047
+ .product-view .box-additional .data-table td { line-height:1.25; }
1048
+
1049
+ /* Block: Upsell */
1050
+ .product-view .box-up-sell h2 { border-bottom:0; padding:0; margin:0 0 8px; }
1051
+ .product-view .box-up-sell .products-grid { width:100%; border:1px solid #e5dcc3; }
1052
+ .product-view .box-up-sell .products-grid td { width:25%; background:#f6f2e7; /*border-right*/border-left:1px solid #e5dcc3; border-bottom:1px solid #e5dcc3; padding:15px 10px 12px; line-height:1.6em; }
1053
+ .product-view .box-up-sell .products-grid tr.last td { border-bottom:0; }
1054
+ .product-view .box-up-sell .products-grid td.last { /*border-right*/border-left:0; }
1055
+ .product-view .box-up-sell .products-grid td img { border:1px solid #e5dcc3; }
1056
+ .product-view .box-up-sell .products-grid .product-image { text-align:center; }
1057
+ .product-view .box-up-sell .products-grid td.empty { /*border-right*/border-left:0; background:#f1ecdb; }
1058
+ .product-view .box-up-sell .products-grid .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
1059
+
1060
+ /* Block: Tags */
1061
+ .product-view .box-tags { margin:0; }
1062
+ .product-view .box-tags h3 { font-size:/*13px*/12px; }
1063
+ .product-view .box-tags .product-tags { display:block; margin:0 0 15px; }
1064
+ .product-view .box-tags .product-tags li { display:/*inline*/inline-block; background:url(../images/bkg_pipe3.gif) /*100%*/0 4px no-repeat; padding:/*0 7px 0 4px*/0 4px 0 7px; }
1065
+ .product-view .box-tags .product-tags li.first { /*padding-left*/padding-right:0; }
1066
+ .product-view .box-tags .product-tags li.last { background:none; /*padding-right*/padding-left:0; }
1067
+ .product-view .box-tags .form-add label { display:block; font-size:/*13px*/12px; font-weight:bold; margin:0 0 5px; color:#0a263c;}
1068
+ .product-view .box-tags .form-add .input-box { float:/*left*/right; width:305px; margin:/*0 5px 0 0*/0 0 0 5px; background:url(../images/i_tag_add.gif) /*0*/100% 2px no-repeat; padding:/*0 0 0 23px*/0 23px 0 0; }
1069
+ .product-view .box-tags .form-add input.input-text { width:299px; }
1070
+ .product-view .box-tags .form-add button.button span { border-color:#406a83; background:#618499; }
1071
+ .product-view .box-tags .note { margin:3px 0 0; padding:/*0 0 0 23px*/0 23px 0 0; font-size:/*11px*/10px; }
1072
+
1073
+ /* Block: Reviews */
1074
+ .product-view .box-reviews dl { margin:15px 0; }
1075
+ .product-view .box-reviews dt a,
1076
+ .product-view .box-reviews dt span { font-weight:bold; }
1077
+ .product-view .box-reviews dd { margin:0 0 15px; }
1078
+ .product-view .box-reviews dd small { font-style:italic; }
1079
+ .product-view .box-reviews .form-add { margin:15px 0 0; }
1080
+ .product-view .box-reviews .form-add h3 { font-size:/*13px*/12px; font-weight:normal; }
1081
+ .product-view .box-reviews .form-add h3 span { font-weight:bold; }
1082
+ .product-view .box-reviews .form-add h4 { font-size:/*12px*/11px; }
1083
+ .product-view .box-reviews .form-add .data-table td { text-align:center; }
1084
+ .product-view .box-reviews .form-add .form-list { margin:15px 0 0; }
1085
+ .product-view .box-reviews .form-add .form-list .input-box { width:360px; }
1086
+ .product-view .box-reviews .form-add .form-list input.input-text,
1087
+ .product-view .box-reviews .form-add .form-list textarea { width:354px; }
1088
+
1089
+ /* Send a Friend */
1090
+ .send-friend .form-list { width:615px; overflow:hidden; }
1091
+ .send-friend .form-list li {/* margin-right*/margin-left:-15px; }
1092
+ .send-friend .form-list li p { margin:/*0 15px 0 0*/0 0 0 15px; }
1093
+ .send-friend .form-list .field { width:315px; }
1094
+ .send-friend .form-list .input-box { width:300px; }
1095
+ .send-friend .form-list input.input-text,
1096
+ .send-friend .form-list textarea { width:294px; }
1097
+ .send-friend .form-list li.wide .input-box { width:612px; }
1098
+ .send-friend .form-list li.wide textarea { width:609px; }
1099
+ .send-friend .buttons-set .limit { float:/*right*/left; margin:/*0 7px 0 0*/0 0 0 7px; font-size:/*11px*/10px; line-height:21px; }
1100
+ /* ======================================================================================= */
1101
+
1102
+
1103
+ /* Content Styles ================================================================= */
1104
+ .product-name { margin:0; font-size:1em; font-weight:normal; }
1105
+ .product-name a { color:#1e7ec8; }
1106
+
1107
+ /* Product Tags */
1108
+ .tags-list { display:block; font-size:/*13px*/12px; border:1px solid #c1c4bc; background:#f8f7f5; padding:10px; }
1109
+ .tags-list li { display:inline !important; margin:/*0 4px 0 0*/0 0 0 4px; }
1110
+ .tags-list li a { color:#1b2d3b; }
1111
+
1112
+ /* Advanced Search */
1113
+ .advanced-search .form-list label { width:160px; /*padding-right*/padding-left:10px; }
1114
+ .advanced-search .form-list .input-box,
1115
+ .advanced-search .form-list .input-range { float:/*left*/right; clear:none; }
1116
+ .advanced-search-amount { margin:0 0 10px; }
1117
+ .advanced-search-summary { margin:10px 0; border:1px solid #e9d7c9; background:#fff6f1; padding:10px; }
1118
+ .advanced-search-summary ul { float:/*left*/right; width:49%; }
1119
+ .advanced-search-summary strong { color:#E17C24; /*padding-left*/padding-right:15px; background:url(../images/i_search_criteria.gif) /*0*/100% /*3px*/5px no-repeat; }
1120
+ .advanced-search-summary p { clear:both; font-weight:bold; margin:0; }
1121
+
1122
+ /* CMS Home Page */
1123
+ .cms-home .subtitle {}
1124
+ .cms-index-index .subtitle {}
1125
+
1126
+ /* Sitemap */
1127
+ .page-sitemap .links { text-align:/*right*/left; margin:/*0 8px -22px 0*/0 0 -22px 8px; }
1128
+ .page-sitemap .links a { text-decoration:none; position:relative; }
1129
+ .page-sitemap .links a:hover { text-decoration:underline; }
1130
+ .page-sitemap .sitemap { margin:12px; }
1131
+ .page-sitemap .sitemap a { color:#1b2d3b; }
1132
+ .page-sitemap .sitemap li { margin:3px 0; }
1133
+ .page-sitemap .sitemap li.level-0 { margin:10px 0 0; font-weight:bold; }
1134
+ .page-sitemap .sitemap li.level-0 a { color:#1e7ec8; }
1135
+
1136
+ /* RSS */
1137
+ .rss-title h1 { background:url(../images/i_rss-big.png) 0 4px no-repeat; padding-left:27px; }
1138
+ .rss-table .link-rss { display:block; line-height:1.55; background-position:0 4px; }
1139
+ /* ======================================================================================= */
1140
+
1141
+
1142
+ /* Shopping Cart ========================================================================= */
1143
+ .cart .page-title { border-bottom:0; margin:0 0 12px; }
1144
+ .cart .page-title h1 { margin:10px 0 0; }
1145
+
1146
+ /* Checkout Types */
1147
+ .cart .page-title .checkout-types li { margin:0 0 5px; }
1148
+ .cart .title-buttons .checkout-types { float:/*right*/left; }
1149
+ .cart .title-buttons .checkout-types li { float:left; margin:/*0 0 5px 5px*/0 5px 5px 0; }
1150
+ .cart .checkout-types .paypal-or { margin:0 8px; line-height:2.3; }
1151
+ .cart .totals .checkout-types .paypal-or { clear:both; display:block; padding:8px 55px 0 0; line-height:1.0; font-size:11px; }
1152
+
1153
+ /* Shopping Cart Table */
1154
+ .cart-table th { padding:2px 10px; }
1155
+ .cart-table td { padding:10px; }
1156
+ .cart-table .product-name { font-weight:bold; margin:0 0 5px; color:#2f2f2f; }
1157
+ .cart-table .item-msg { margin:5px 0; font-size:11px; font-weight:bold; color:#df280a; }
1158
+ .cart-table tfoot td { padding:5px 10px; }
1159
+ .cart-table .btn-continue { float:/*left*/right; }
1160
+ .cart-table .btn-continue span,
1161
+ .cart-table .btn-update span { border-color:#406a83; background:#618499; }
1162
+
1163
+ /* Shopping Cart Collateral boxes */
1164
+ .cart .cart-collaterals { padding:25px 0 0; }
1165
+ .cart .cart-collaterals .col2-set { float:/*left*/right; width:605px; }
1166
+ .cart .cart-collaterals .col2-set .col-2 { width:294px; }
1167
+
1168
+ .cart .crosssell { border:1px solid #cec3b6; background:#fafaec; padding:12px 15px; }
1169
+ .cart .crosssell h2 { font-size:/*13px*/12px; font-weight:bold; }
1170
+ .cart .crosssell .product-image { float:/*left*/right; width:75px; height:75px; border:1px solid #d0cdc9; }
1171
+ .cart .crosssell .product-details { /*margin-left*/margin-right:90px; }
1172
+ .cart .crosssell .product-name { font-weight:bold; }
1173
+ .cart .crosssell li.item { margin:12px 0; }
1174
+ .cart .crosssell .link-compare { font-weight:normal; }
1175
+
1176
+ /* Discount Codes & Estimate Shipping and Tax Boxes */
1177
+ .cart .discount,
1178
+ .cart .shipping { border:1px solid #d0cbc1; background:#fff url(../images/bkg_block-title.gif) 0 0 repeat-x; padding:12px 15px; margin:0 0 18px; }
1179
+ .cart .discount h2,
1180
+ .cart .shipping h2 { background-position:/*0*/100% 0; background-repeat:no-repeat; font:bold /*13px*/12px/16px Tahoma, Arial, Helvetica, sans-serif; padding:/*0 0 0 21px*/0 21px 0 0; color:#e26703; text-transform:uppercase; }
1181
+ .cart .discount button span,
1182
+ .cart .shipping button span { border-color:#406a83; background:#618499; }
1183
+ .cart .discount .buttons-set,
1184
+ .cart .shipping .buttons-set { margin:10px 0 0; border:0; padding:0; text-align:/*left*/right; }
1185
+ .cart .discount .buttons-set button.button,
1186
+ .cart .shipping .buttons-set button.button { float:none; /*margin-left*/margin-right:0; }
1187
+
1188
+ .cart .discount h2 { background-image:url(../images/i_discount.gif); }
1189
+ .cart .discount .input-box { margin:8px 0 0; width:260px; }
1190
+ .cart .discount input.input-text { width:254px; }
1191
+
1192
+ .cart .shipping h2 { background-image:url(../images/i_shipping.gif); }
1193
+ .cart .shipping .sp-methods { margin:10px 0 0; padding:5px 0 0; background:url(../images/bkg_divider1.gif) 0 0 repeat-x; }
1194
+
1195
+ /* Shopping Cart Totals */
1196
+ .cart .totals { float:/*right*/left; width:268px; background:#dee5e8; border:1px solid #bebcb7; }
1197
+ .cart .totals table { width:100%; margin:7px 0; }
1198
+ .cart .totals td { padding:/*1px 15px 1px 7px*/1px 7px 1px 15px; }
1199
+ .cart .totals tr.last td {}
1200
+ .cart .totals tfoot th { padding:5px 15px 5px 7px; }
1201
+ .cart .totals tfoot td { padding-top:5px; padding-bottom:5px; }
1202
+ .cart .totals tfoot th strong,
1203
+ .cart .totals tfoot td strong { font-size:/*15px*/14px; }
1204
+ .cart .totals .checkout-types { font-size:/*13px*/12px; padding:8px 15px 15px; text-align:/*right*/left; }
1205
+ .cart .totals .checkout-types li { clear:both; margin:10px 0; }
1206
+
1207
+ /* Options Tool Tip */
1208
+ .item-options dt { font-weight:bold; font-style:italic; }
1209
+ .item-options dd { /*padding-left*/padding-right:10px; margin:0 0 6px; }
1210
+ .truncated { cursor:help; }
1211
+ .truncated a.dots { cursor:help; }
1212
+ .truncated a.details { cursor:help; }
1213
+ .truncated .truncated_full_value { position:relative; z-index:999; }
1214
+ .truncated .truncated_full_value dl { position:absolute; top:-99999em; /*left:-99999em;*/ z-index:999; width:250px; padding:8px; border:1px solid #ddd; background-color:#f6f6f6; }
1215
+ .truncated .show dl { top:-20px; /*left*/right:50%; }
1216
+ .col-left .truncated .show dl { /*left*/right:15px; top:7px; }
1217
+ .col-right .truncated .show dl { /*left*/right:-240px; top:7px; }
1218
+ /* ======================================================================================= */
1219
+
1220
+
1221
+ /* Checkout ============================================================================== */
1222
+ /********** < Common Checkout Styles */
1223
+ /* Shipping and Payment methods */
1224
+ .sp-methods { margin:0 0 8px; }
1225
+ .sp-methods dt { margin:13px 0 5px; font-weight:bold; }
1226
+ .sp-methods dd {}
1227
+ .sp-methods dd li { margin:5px 0; }
1228
+ .sp-methods label { font-weight:bold; color:#666; }
1229
+ .sp-methods .price { font-weight:bold; }
1230
+ .sp-methods .form-list { /*padding-left*/padding-right:20px; }
1231
+ .sp-methods .form-list li { margin:0 0 8px; }
1232
+ .sp-methods select.month { width:154px; /*margin-right*/margin-left:10px; }
1233
+ .sp-methods select.year { width:96px; }
1234
+ .sp-methods input.cvv { width:3em !important; }
1235
+
1236
+ .sp-methods .checkmo-list li { margin:0 0 5px; }
1237
+ .sp-methods .checkmo-list label { width:135px; padding-right:10px; text-align:right; }
1238
+ .sp-methods .checkmo-list address { float:left; }
1239
+
1240
+ .sp-methods .centinel-logos a { margin-right:3px; }
1241
+ .sp-methods .centinel-logos img { vertical-align:middle; }
1242
+
1243
+ .sp-methods .release-amounts { margin:0.5em 0; }
1244
+ .sp-methods .release-amounts button { float:left; margin:5px 10px 0 0; }
1245
+
1246
+ .please-wait { float:/*right*/left; }
1247
+ .please-wait img { vertical-align:middle; }
1248
+ .cvv-what-is-this { font-size:/*11px*/10px; cursor:help; /*margin-left*/margin-right:10px; }
1249
+
1250
+ /* Tooltip */
1251
+ .tool-tip { border:1px solid #7BA7C9; background:#EAF6FF; padding:15px 20px; position:absolute; z-index:9999; }
1252
+ .tool-tip .btn-close { margin:-9px -14px 0; text-align:right; }
1253
+ .tool-tip .btn-close a { display:block; margin:/*0 0 0 auto*/0 auto 0 0; width:15px; height:15px; background:url(../images/btn_window_close.gif) /*100%*/0 0 no-repeat; text-align:/*left*/right; text-indent:-999em; overflow:hidden; }
1254
+ .tool-tip .tool-tip-content { padding:5px; }
1255
+
1256
+ /* Gift Messages */
1257
+ .gift-messages h3 { font-size:/*12px*/11px; font-weight:bold; color:#e87403; }
1258
+ .gift-messages p.control { color:#8e8d8b; }
1259
+ .gift-messages-form { position:relative; }
1260
+ .gift-messages-form label { float:none !important; position:static !important; }
1261
+ .gift-messages-form h4 { font-size:/*12px*/11px; font-weight:bold; color:#e87403; }
1262
+ .gift-messages-form .whole-order { margin:0 0 25px; }
1263
+ .gift-messages-form .item { margin:0 0 10px; }
1264
+ .gift-messages-form .item .product-img-box { float:/*left*/right; width:75px; }
1265
+ .gift-messages-form .item .product-image { margin:0 0 7px; }
1266
+ .gift-messages-form .item .number { margin:0; font-weight:bold; text-align:center; color:#8a8987; }
1267
+ .gift-messages-form .item .details { /*margin-left*/margin-right:90px; }
1268
+ .gift-messages-form .item .details .product-name { font-size:/*13px*/12px; font-weight:bold; margin:0 0 10px; }
1269
+ .gift-messages-form .item .details .form-list .field { width:255px; }
1270
+ .gift-messages-form .item .details .form-list .input-box { width:240px; }
1271
+ .gift-messages-form .item .details .form-list input.input-text { width:234px; }
1272
+ .gift-messages-form .item .details .form-list li.wide .input-box { width:500px; }
1273
+ .gift-messages-form .item .details .form-list li.wide textarea { width:494px; }
1274
+
1275
+ .gift-message-link { font-size:/*11px*/10px; background:url(../images/bkg_collapse-gm.gif) /*100%*/0 6px no-repeat; /*padding-right*/padding-left:7px; }
1276
+ .gift-message-link.expanded { background-position:/*100%*/0 -40px; }
1277
+ .gift-message-row { background:#f2efe9; }
1278
+ .gift-message-row .btn-close { float:/*right*/left; width:16px; height:16px; background:url(../images/btn_gm-close.gif) 0 0 no-repeat; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
1279
+
1280
+ /* Checkout Agreements */
1281
+ .checkout-agreements li { margin:30px 0; }
1282
+ .checkout-agreements .agreement-content { overflow:auto; height:12em; padding:10px; background-color:#fbfaf6; border:1px solid #bbb6a5; }
1283
+ .checkout-agreements .agree { margin:0; padding:/*10px 0 10px 11px*/10px 11px 10px 0; }
1284
+ .checkout-agreements .agree input.checkbox { /*margin-right*/margin-left:6px; }
1285
+ .checkout-agreements .agree label { font-weight:bold; color:#666; }
1286
+
1287
+ .opc .checkout-agreements { border:1px solid #d9dde3; border-width:0 1px; padding:5px 30px; }
1288
+ .opc .checkout-agreements li { margin:20px 0 0; }
1289
+ .opc .checkout-agreements .agreement-content { background-color:#fff; border-color:#e4e4e4; padding:5px; }
1290
+ .opc .checkout-agreements .agree { /*padding-left*/padding-right:6px; }
1291
+
1292
+ /* Centinel */
1293
+ .centinel {}
1294
+ .centinel .authentication { border:1px solid #ddd; background:#fff; }
1295
+ .centinel .authentication iframe { width:99%; height:400px; background:transparent !important; margin:0 !important; padding:0 !important; border:0 !important; }
1296
+
1297
+ .opc .centinel { border:1px solid #bbb6a5; border-width:0 1px 1px; padding:10px 30px; }
1298
+
1299
+ /* Generic Info Set */
1300
+ .info-set { background:#fbfaf6 url(../images/bkg_checkout.gif) 0 0 repeat-x; border:1px solid #bbb6a5; margin:0 0 25px; padding:20px; }
1301
+ .info-set h2 { font-size:13px; font-weight:bold; margin:0 0 10px; }
1302
+ .info-set h3,
1303
+ .info-set h4 { font-size:13px; font-weight:bold; color:#E26703; }
1304
+ .info-set h2 a,
1305
+ .info-set h3 a,
1306
+ .info-set h4 a { font-weight:normal; }
1307
+ .info-set h2.legend { margin:-20px -20px 15px; padding:5px 10px; background:#f9f3e3; border-bottom:1px solid #bbafa0; position:relative; }
1308
+ .info-set h3.legend { margin:0 0 10px; color:#0a263c; }
1309
+ .info-set .divider { margin:0 -20px; padding:25px 0; position:relative; }
1310
+ .info-set .box { margin:0 0 15px; }
1311
+ .info-set .box h2 { color:#e26703; }
1312
+ .info-set .data-table .product-name { font-size:1em !important; font-weight:bold !important; color:#1e7ec8 !important; }
1313
+ .info-set .data-table .product-name a { font-weight:bold !important; }
1314
+ .info-set .data-table .item-options { margin:5px 0 0; }
1315
+ /********** Common Checkout Styles > */
1316
+
1317
+ /* One Page Checkout */
1318
+ .block-progress { border:0; margin:0; }
1319
+ .block-progress .block-title { background:none; border:0; padding:0; margin:0 0 5px; }
1320
+ .block-progress .block-title strong { font-size:/*13px*/12px; color:#0a263c; }
1321
+ .block-progress .block-content { background:none; }
1322
+ .block-progress dt { font-size:/*13px*/12px; font-weight:bold; line-height:1.35; background:#eee; border:1px solid #a3aeb3; margin:0 0 6px; padding:2px 8px; color:#999; }
1323
+ .block-progress dd { background:#eee; border:1px solid #a3aeb3; border-top:0; padding:8px 13px; margin:0 0 6px; }
1324
+ .block-progress dt.complete { margin:0; background:#d0dce1; color:#5e8ab4; }
1325
+ .block-progress dd.complete {}
1326
+ .block-progress p { margin:0; }
1327
+ .block-progress .cards-list dt { background:none; border:0 none; color:inherit; font-size:12px; margin:5px 0; padding:0; }
1328
+ .block-progress .cards-list dd { border:0 none; margin:0; padding:0; }
1329
+ .block-progress .cards-list .info-table th { font-weight:normal; }
1330
+
1331
+ .opc .buttons-set { margin-top:0; padding-top:2em; }
1332
+ .opc .buttons-set p.required { margin:0; padding:0 0 10px; }
1333
+ .opc .buttons-set .back-link small { display:none; }
1334
+ .opc .buttons-set .back-link a { background:url(../images/i_arrow-top.gif) /*0*/100% 50% no-repeat; /*padding-left*/padding-right:16px; }
1335
+ .opc .buttons-set.disabled button.button { display:none; }
1336
+ .opc .buttons-set .please-wait { height:21px; line-height:21px; }
1337
+ .opc .ul { list-style:disc outside; /*padding-left*/padding-right:18px; }
1338
+
1339
+ .opc { position:relative; }
1340
+ .opc li.section {}
1341
+
1342
+ .opc .step-title { border-width:0 1px; border-style:solid; border-color:#fff #d9dde3 #d9dde3; background:#eee url(../images/bkg_opc-title-off.gif) 0 100% repeat-x; padding:4px 8px 6px; text-align:right; }
1343
+ .opc .step-title .number { float:/*left*/right; background:#fff; border:1px solid #fff; padding:0 4px; margin:/*0 5px 0 0*/0 0 0 5px; font:bold /*11px*/10px/14px tahoma, arial, helvetica, sans-serif; color:#999; }
1344
+ .opc .step-title h2 { float:/*left*/right; margin:0; font:bold /*13px*/12px/16px Tahoma, Arial, Helvetica, sans-serif; color:#999; }
1345
+ .opc .step-title a { display:none; float:right; font-size:11px; line-height:16px; }
1346
+
1347
+ .opc .allow .step-title { background:#d0dce1; border:1px solid #a3aeb3; border-bottom:0; color:#a4b3b9; cursor:pointer; }
1348
+ .opc .allow .step-title .number { background:#dbe6eb; border-color:#dbe6eb; color:#a4b3b9; }
1349
+ .opc .allow .step-title h2 { color:#a4b3b9; }
1350
+ /*.opc .allow .step-title a { display:block; }*/
1351
+
1352
+ .opc .active .step-title { background:#f9f3e3; border:1px solid #bbafa0; padding-bottom:5px; color:#f18200; cursor:default; }
1353
+ .opc .active .step-title .number { background:#f18200; border-color:#f19900; color:#fff; }
1354
+ .opc .active .step-title h2 { color:#f18200; }
1355
+ /*.opc .active .step-title a { display:none; }*/
1356
+
1357
+ .opc .step { border:1px solid #bbafa0; border-top:0; background:#fbfaf6 url(../images/bkg_checkout.gif) 0 0 repeat-x; padding:15px 30px; position:relative; }
1358
+ .opc .step .tool-tip { /*right*/left:30px; }
1359
+
1360
+ #opc-login .buttons-set { border-top:0; }
1361
+ #opc-login h3 { font-size:/*13px*/12px; border-bottom:1px solid #e4e4e4; padding-bottom:2px; text-transform:uppercase; }
1362
+ #opc-login h4 { font-size:1em; font-weight:bold; margin:0; color:#2f2f2f; }
1363
+
1364
+ #opc-shipping_method .buttons-set { border-top:0; }
1365
+ .opc .gift-messages-form { margin:0 -30px; background:#f6f1eb; border:1px solid #e9e4de; border-width:1px 0; padding:/*22px 24px 22px 30px*/22px 30px 22px 24px; }
1366
+ .opc .gift-messages-form .inner-box { padding:5px; height:260px; overflow:auto; }
1367
+
1368
+ #opc-review .step { border:0; padding:0; }
1369
+ #opc-review .product-name { font-weight:bold; color:#0a263c; }
1370
+ #opc-review .item-options { margin:5px 0 0; }
1371
+ #opc-review .buttons-set { padding:20px 30px; border:1px solid #d9dde3; border-width:0 1px 1px; }
1372
+ #opc-review .buttons-set p { margin:0; line-height:40px; }
1373
+ #opc-review .buttons-set .please-wait { height:40px; line-height:40px; }
1374
+
1375
+ /* Multiple Addresses Checkout */
1376
+ .checkout-progress { padding:0 90px; margin:0 0 20px; }
1377
+ .checkout-progress li { float:/*left*/right; width:19%; margin:/*0 3px 0 0*/0 0 0 3px; border-top:10px solid #999; padding:2px 0 0; font-weight:bold; text-align:center; color:#abb5ba; }
1378
+ .checkout-progress li.active { border-top-color:#e96200; color:#e96200; }
1379
+
1380
+ .multiple-checkout h2 { font-size:/*13px*/12px; font-weight:bold; margin:0 0 10px; }
1381
+ .multiple-checkout h3,
1382
+ .multiple-checkout h4 { font-size:/*13px*/12px; font-weight:bold; color:#E26703; }
1383
+ .multiple-checkout h2 a,
1384
+ .multiple-checkout h3 a,
1385
+ .multiple-checkout h4 a { font-weight:normal; }
1386
+ .multiple-checkout .data-table .product-name { font-size:1em !important; font-weight:bold !important; color:#1e7ec8 !important; }
1387
+ .multiple-checkout .data-table .product-name a { font-weight:bold !important; }
1388
+ .multiple-checkout .data-table .item-options { margin:5px 0 0; }
1389
+
1390
+ .multiple-checkout .gift-messages { margin:15px 0 0; }
1391
+
1392
+ .multiple-checkout .tool-tip { top:50%; margin-top:-120px; /*right*/left:20px; }
1393
+
1394
+ .multiple-checkout .col2-set,
1395
+ .multiple-checkout .col3-set { background:#fbfaf6 url(../images/bkg_checkout.gif) 0 0 repeat-x; border:1px solid #bbb6a5; margin:0 0 25px; padding:20px; }
1396
+ .multiple-checkout .col2-set h2.legend { margin:-20px -20px 15px; padding:5px 10px; background:#f9f3e3; border-bottom:1px solid #bbafa0; position:relative; }
1397
+ .multiple-checkout .col2-set h3.legend { margin:0 0 10px; color:#0a263c; }
1398
+ .multiple-checkout .col2-set .divider { margin:0 -20px; padding:25px 0; position:relative; }
1399
+ .multiple-checkout .box { margin:0 0 15px; }
1400
+ .multiple-checkout .box h2 { color:#e26703; }
1401
+
1402
+ .multiple-checkout .place-order .please-wait { float:/*right*/left; padding:/*27px 7px 0 0*/27px 0 0 7px; }
1403
+ .multiple-checkout .place-order .grand-total { float:/*right*/left; height:71px; font-size:1.5em; padding:0 0 0 21px; background:url(../images/bkg_grand-total.gif) 0 0 no-repeat; overflow:hidden; }
1404
+ .multiple-checkout .place-order .grand-total .inner { float:left; height:57px; padding:14px 21px 0 0; background:url(../images/bkg_grand-total.gif) 100% 0 no-repeat; }
1405
+ .multiple-checkout .place-order .grand-total .inner div { display:inline; }
1406
+ .multiple-checkout .place-order .grand-total big { display:inline; /*margin-right*/margin-left:12px; }
1407
+ .multiple-checkout .place-order .grand-total .price { color:#E26703; }
1408
+ .multiple-checkout .place-order .grand-total button.button span { font-size:/*16px*/15px; }
1409
+ .multiple-checkout .place-order .grand-total button.button span span { padding:0 45px 0 36px; }
1410
+
1411
+ /* Step 1 */
1412
+ .multiple-checkout .title-buttons button.button span { border-color:#406a83; background:#618499; }
1413
+ #multiship-addresses-table td { padding:10px; }
1414
+ #multiship-addresses-table tfoot td { padding:5px 10px; }
1415
+ #multiship-addresses-table tfoot button.button span { border-color:#406a83; background:#618499; }
1416
+
1417
+ /* Step 2 */
1418
+ .multiple-checkout .gift-messages-form .item .details .form-list { width:100%; overflow:hidden; }
1419
+ .multiple-checkout .gift-messages-form .item .details .form-list li { /*margin-right*/margin-left:-15px; }
1420
+ .multiple-checkout .gift-messages-form .item .details .form-list .field { width:230px; }
1421
+ .multiple-checkout .gift-messages-form .item .details .form-list .input-box { width:215px; }
1422
+ .multiple-checkout .gift-messages-form .item .details .form-list input.input-text { width:209px; }
1423
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide .input-box { width:445px; }
1424
+ .multiple-checkout .gift-messages-form .item .details .form-list li.wide textarea { width:439px; }
1425
+ .checkout-multishipping-shipping .box-sp-methods { border:1px solid #d9d2be; background:#f9f3e3; padding:13px; position:relative; }
1426
+ .checkout-multishipping-shipping .box-sp-methods .pointer { position:absolute; top:-20px; /*right*/left:-40px; width:178px; height:41px; background:url(../images/bkg_sp-methods.gif) 0 0 no-repeat; overflow:hidden; }
1427
+
1428
+ /* Step 3 */
1429
+ .checkout-multishipping-billing .multiple-checkout { position:relative; }
1430
+ /* ======================================================================================= */
1431
+
1432
+
1433
+ /* Account Login/Create Pages ============================================================ */
1434
+ .account-login .content { min-height:240px; padding:14px 21px; background:#faf7ee url(../images/bkg_login-box.gif) 0 0 repeat-x; border:1px solid #bbb6a5; border-bottom:0; }
1435
+ .account-login .content h2 { font-weight:bold; font-size:/*13px*/12px; margin:0 0 14px; padding:/*0 0 5px 23px*/0 23px 5px 0; border-bottom:1px solid #ddd; background-position:/*0*/100% 1px; background-repeat:no-repeat; text-transform:uppercase; color:#e76200; }
1436
+ .account-login .new-users h2 { background-image:url(../images/i_page1.gif)}
1437
+ .account-login .registered-users h2 { background-image:url(../images/i_page2.gif); }
1438
+ .account-login .buttons-set { border:1px solid #bbb6a5; border-top:0; margin:0; padding:8px 13px; background:#dee5e8 url(../images/bkg_buttons-set1.gif) 0 0 repeat-x; }
1439
+
1440
+ .account-create {}
1441
+ /* Account Login/Create Pages ============================================================ */
1442
+
1443
+
1444
+ /* My Account ============================================================================= */
1445
+ .my-account .title-buttons .link-rss { float:none; margin:0; }
1446
+
1447
+ /********** < Dashboard */
1448
+ .dashboard .welcome-msg { margin:/*0 8em 1.5em 0*/0 0 1.5em 8em; }
1449
+ .dashboard .welcome-msg p { margin:0; }
1450
+ .dashboard .col2-set { margin:0 0 15px; }
1451
+
1452
+ /* General Box */
1453
+ .box-account { background:#fff url(../images/bkg_account_box.gif) 0 0 repeat-x; border:1px solid #ccc; border-color:#ccc #999 #999 #ccc; padding:15px; margin: 0 0 20px; }
1454
+ .box-account .box-head { border-bottom:1px solid #d9dde3; margin:0 0 10px; text-align:/*right*/left; }
1455
+ .box-account .box-head h2 { float:/*left*/right; margin:0; font-size:/*13px*/12px; font-weight:bold; text-transform:uppercase; background-position:/*0*/100% 0; background-repeat:no-repeat; /*padding-left*/padding-right:21px; color:#e65505; }
1456
+
1457
+ .dashboard .box .box-title { background:url(../images/bkg_divider1.gif) 0 100% repeat-x; padding:0 0 2px; margin:0 0 8px; text-align:/*right*/left; }
1458
+ .dashboard .box .box-title h3,
1459
+ .dashboard .box .box-title h4 { float:/*left*/right; font-size:/*13px*/12px; font-weight:bold; margin:0; }
1460
+
1461
+ /* Block: Recent Orders */
1462
+ .dashboard .box-recent .box-head h2 { background-image:url(../images/i_folder-table.gif); }
1463
+
1464
+ /* Block: Account Information */
1465
+ .dashboard .box-info .box-head h2 { background-image:url(../images/i_ma-info.gif); }
1466
+ .dashboard .box-info h4 { font-size:/*11px*/10px; font-weight:bold; text-transform:uppercase; }
1467
+
1468
+ /* Block: Reviews */
1469
+ .dashboard .box-reviews .box-head h2 { background-image:url(../images/i_ma-reviews.gif); }
1470
+ .dashboard .box-reviews .number { float:/*left*/right; font-size:/*10px*/9px; font-weight:bold; line-height:1; color:#fff; margin:/*3px -20px 0 0*/3px 0 0 -20px; padding:2px 3px; background:#0a263c; }
1471
+ .dashboard .box-reviews .details { /*margin-left*/margin-right:20px; }
1472
+ .dashboard .box-reviews li.item { margin:0 0 7px; }
1473
+ .dashboard .box-reviews li.item.last { margin:0; }
1474
+ .dashboard .box-reviews .ratings { margin:7px 0 0; }
1475
+
1476
+ /* Block: Tags */
1477
+ .dashboard .box-tags .box-head h2 { background-image:url(../images/i_ma-tags.gif); }
1478
+ .dashboard .box-tags .number { float:/*left*/right; font-size:/*10px*/9px; font-weight:bold; line-height:1; color:#fff; margin:/*3px -20px 0 0*/3px 0 0 -20px; padding:2px 3px; background:#0a263c; }
1479
+ .dashboard .box-tags .details { /*margin-left*/margin-right:20px; }
1480
+ .dashboard .box-tags li.item { margin:0 0 7px; }
1481
+ .dashboard .box-tags li.item.last { margin:0; }
1482
+ .dashboard .box-tags .tags strong,
1483
+ .dashboard .box-tags .tags ul,
1484
+ .dashboard .box-tags .tags ul li { display:inline; }
1485
+ /********** Dashboard > */
1486
+
1487
+ /* Address Book */
1488
+ .addresses-list h2 { font-weight:bold; font-size:/*13px*/12px; color:#e26703; text-transform:uppercase; }
1489
+ .addresses-list h3 { font-weight:bold; font-size:/*13px*/12px; }
1490
+ .addresses-list address { margin:0 0 3px; }
1491
+ .addresses-list p { margin:0; }
1492
+ .addresses-list a { font-weight:bold; }
1493
+ .addresses-list .link-remove { color:#646464; }
1494
+ .addresses-list .separator { margin:0 3px; }
1495
+ .addresses-list li.item { background:#fff url(../images/bkg_account_box.gif) 0 0 repeat-x; border:1px solid #ccc; padding:10px 13px; margin:0 0 10px; }
1496
+ .addresses-list li.empty { background:none; border:0; padding:0; }
1497
+ .addresses-list li.empty p { font-weight:bold; }
1498
+ .addresses-list .addresses-additional li.item { background:none; border:0; padding:0; }
1499
+
1500
+ /* Order View */
1501
+ .order-info { background:#dee5e8; border:1px solid #d0cbc1; padding:4px 8px; margin:0 0 8px; }
1502
+ .order-info dt,
1503
+ .order-info dd,
1504
+ .order-info ul,
1505
+ .order-info li { display:inline; }
1506
+ .order-info .current { font-weight:bold; }
1507
+ .order-info li { margin:0 3px; }
1508
+
1509
+ .order-date { margin:10px 0; }
1510
+
1511
+ .order-info-box { background:#fff url(../images/bkg_block-title.gif) 0 0 repeat-x; border:1px solid #d0cbc1; padding:12px 15px; margin:0 0 15px; }
1512
+ .order-info-box h2 { font-weight:bold; font-size:/*13px*/12px; }
1513
+ .order-info-box .box-payment p { margin:0 0 3px; }
1514
+ .order-info-box .box-payment th { font-weight:bold; padding-right:7px; }
1515
+
1516
+ .order-items { width:100%; overflow-x:auto; }
1517
+ .order-items h2,
1518
+ .order-items h3 { clear:none; font-weight:bold; font-size:/*13px*/12px; padding:0; margin:0 0 5px; color:#0a263c; }
1519
+ .order-items .product-name { font-size:1em !important; font-weight:bold !important; }
1520
+ .order-items .link-print { color:#1e7ec8; font-weight:normal; }
1521
+ .order-items .order-links { text-align:/*right*/left; }
1522
+
1523
+ .order-additional { margin:15px 0; }
1524
+ /* Order Gift Message */
1525
+ .gift-message dt strong { color:#666; }
1526
+ .gift-message dd { font-size:/*13px*/12px; margin:5px 0 0; }
1527
+ /* Order Comments */
1528
+ .order-about dt { font-weight:bold; }
1529
+ .order-about dd { font-size:/*13px*/12px; margin:0 0 7px; }
1530
+
1531
+ .tracking-table { margin:0 0 15px; }
1532
+ .tracking-table th { font-weight:bold; white-space:nowrap; }
1533
+
1534
+ .tracking-table-popup { width:100%; }
1535
+ .tracking-table-popup th { font-weight:bold; white-space:nowrap; }
1536
+ .tracking-table-popup th,
1537
+ .tracking-table-popup td { padding:1px 8px; }
1538
+
1539
+ /* Order Print Pages */
1540
+ .page-print .print-head { margin:0 0 15px; }
1541
+ .page-print .print-head .logo { float:/*left*/right; }
1542
+ .page-print .print-head address { float:/*left*/right; /*margin-left*/margin-right:15px; }
1543
+ .page-print h1 { font-size:/*16px*/15px; font-weight:bold; }
1544
+ .page-print h2,
1545
+ .page-print h3 { font-size:/*13px*/12px; font-weight:bold; }
1546
+ .page-print h2.h2 { font-size:/*16px*/15px; font-weight:bold; }
1547
+ .page-print .order-date { background:url(../images/bkg_divider1.gif) 0 100% repeat-x; padding:0 0 10px; margin:0 0 10px; }
1548
+ .page-print .col2-set { margin:0 0 10px; }
1549
+ /* Price Rewrites */
1550
+ .page-print .gift-message-link { display:none; }
1551
+ .page-print .price-excl-tax,
1552
+ .page-print .price-incl-tax { display:block; white-space:nowrap; }
1553
+ .page-print .cart-price,
1554
+ .page-print .price-excl-tax .label,
1555
+ .page-print .price-incl-tax .label,
1556
+ .page-print .price-excl-tax .price,
1557
+ .page-print .price-incl-tax .price { display:inline; }
1558
+
1559
+ /* My Wishlist */
1560
+ .my-wishlist .data-table td { padding:10px; }
1561
+ .my-wishlist .product-image { display:block; width:113px; height:113px; margin:0 0 5px; }
1562
+ .my-wishlist textarea { display:block; width:97%; height:109px; }
1563
+ .my-wishlist .buttons-set { margin-top:2em; }
1564
+ .my-wishlist .buttons-set button.button { float:none; }
1565
+ .my-wishlist .buttons-set .btn-add span,
1566
+ .my-wishlist .buttons-set .btn-share span { border-color:#406a83; background:#618499; }
1567
+ #wishlist-table .add-to-links { white-space:nowrap; }
1568
+
1569
+ /* My Tags */
1570
+ .my-tag-edit { float:/*left*/right; margin:0 0 10px; }
1571
+ .my-tag-edit .btn-remove { float:/*right*/left; margin:/*4px 0 0 5px*/4px 5px 0 0; }
1572
+ #my-tags-table { clear:both; }
1573
+ #my-tags-table td { padding:10px; }
1574
+ #my-tags-table .add-to-links { white-space:nowrap; }
1575
+
1576
+ /* My Reviews */
1577
+ #my-reviews-table td { padding:10px; }
1578
+
1579
+ .product-review .product-img-box { float:/*left*/right; width:140px; }
1580
+ .product-review .product-img-box .product-image { display:block; width:125px; height:125px; }
1581
+ .product-review .product-img-box .label { font-size:/*11px*/10px; margin:0 0 3px; }
1582
+ .product-review .product-img-box .ratings .rating-box { float:none; display:block; margin:0 0 3px; }
1583
+ .product-review .product-details { /*margin-left*/margin-right:150px; }
1584
+ .product-review .product-name { font-size:/*16px*/15px; font-weight:bold; margin:0 0 10px; }
1585
+ .product-review h3 { font-size:/*12px*/11px; margin:0 0 3px; color:#2f2f2f; }
1586
+ .product-review .ratings-table { margin:0 0 10px; }
1587
+ .product-review dt { font-weight:bold; }
1588
+ .product-review dd { font-size:/*13px*/12px; margin:5px 0 0; }
1589
+
1590
+ /* Billing Agreements */
1591
+ .billing-agreements .info-box{ margin:15px 0; }
1592
+ .billing-agreements .form-list li select { float:left; }
1593
+ .billing-agreements .form-list li button.button { float:left; margin-left:10px; }
1594
+ .billing-agreements .table-caption { font-weight:bold; font-size:13px; }
1595
+ /* ======================================================================================= */
1596
+
1597
+
1598
+ /* Footer ================================================================================ */
1599
+ .footer-container { border-top:15px solid #b6d1e2; }
1600
+ .footer { width:930px; margin:0 auto; padding:10px 10px 50px; }
1601
+ .footer .store-switcher { display:inline; margin:/*0 5px 0 0*/0 0 0 5px; color:#fff; }
1602
+ .footer .store-switcher label { font-weight:bold; vertical-align:middle; }
1603
+ .footer .store-switcher select { padding:0; vertical-align:middle; }
1604
+ .footer a { color:#fff; text-decoration:none; }
1605
+ .footer a:hover { text-decoration:underline; }
1606
+ .footer .bugs { margin:13px 0 0; color:#ecf3f6; }
1607
+ .footer .bugs a { color:#ecf3f6; text-decoration:underline; }
1608
+ .footer .bugs a:hover { text-decoration:none; }
1609
+ .footer address { margin:0 0 20px; color:#ecf3f6; }
1610
+ .footer address a { color:#ecf3f6; text-decoration:underline; }
1611
+ .footer address a:hover { text-decoration:none; }
1612
+ .footer ul { display:inline; }
1613
+ .footer ul.links { display:block; }
1614
+ .footer li { display:/*inline*/inline-block; background:url(../images/bkg_pipe2.gif) /*100%*/0 60% no-repeat; padding:/*0 7px 0 4px*/0 4px 0 7px; }
1615
+ .footer li.last { background:none !important; /*padding-right*/padding-left:0 !important; }
1616
+ .footer-container .bottom-container { margin:0 0 5px; }
1617
+ /* ======================================================================================= */
1618
+
1619
+ /* Sample Data============================================================================ */
1620
+ .home-callout { margin-bottom:12px; }
1621
+ .home-callout img { display:block }
1622
+ .home-spot { float:/*left*/right; width:470px; /*margin-left*/margin-right:20px; }
1623
+ .best-selling h3 { margin:12px 0 6px 0; color:#e25203; font-size:1.2em; }
1624
+ .best-selling table { border-top:1px solid #ccc; }
1625
+ .best-selling tr.odd { background:#eee url(../images/best_selling_tr_odd_bg.gif) 0 100% repeat-x; }
1626
+ .best-selling tr.even { background:#fff url(../images/best_selling_tr_even_bg.gif) 0 100% repeat-x; }
1627
+ .best-selling td { width:50%; border-bottom:1px solid #ccc; padding:8px 10px 8px 8px; font-size:11px; }
1628
+ .best-selling .product-img { float:left; border:2px solid #dcdcdc; }
1629
+ .best-selling .product-description { margin-left:107px; line-height:1.3em; }
1630
+ .best-selling a.product-name,
1631
+ .home-spot .best-selling a.product-name:hover { color:#203548; }
1632
+ /* ======================================================================================= */
1633
+
1634
+
1635
+ /* Clears ================================================================================ */
1636
+ .clearer:after,
1637
+ .header-container:after,
1638
+ .header-container .top-container:after,
1639
+ .header:after,
1640
+ .header .quick-access:after,
1641
+ #nav:after,
1642
+ .main:after,
1643
+ .footer:after,
1644
+ .footer-container .bottom-container:after,
1645
+ .col-main:after,
1646
+ .col2-set:after,
1647
+ .col3-set:after,
1648
+ .col3-layout .product-options-bottom .price-box:after,
1649
+ .col4-set:after,
1650
+ .search-autocomplete li:after,
1651
+ .block .block-content:after,
1652
+ .block .actions:after,
1653
+ .block li.item:after,
1654
+ .block-poll li:after,
1655
+ .block-layered-nav .currently li:after,
1656
+ .page-title:after,
1657
+ .products-grid:after,
1658
+ .products-list li.item:after,
1659
+ .box-account .box-head:after,
1660
+ .dashboard .box .box-title:after,
1661
+ .box-reviews li.item:after,
1662
+ .box-tags li.item:after,
1663
+ .pager:after,
1664
+ .sorter:after,
1665
+ .ratings:after,
1666
+ .add-to-box:after,
1667
+ .add-to-cart:after,
1668
+ .product-essential:after,
1669
+ .product-collateral:after,
1670
+ .product-view .product-img-box .more-views ul:after,
1671
+ .product-view .box-tags .form-add:after,
1672
+ .product-view .product-shop .short-description:after,
1673
+ .product-view .box-description:after,
1674
+ .product-options .options-list li:after,
1675
+ .product-options-bottom:after,
1676
+ .product-review:after,
1677
+ .cart:after,
1678
+ .cart-collaterals:after,
1679
+ .cart .crosssell li.item:after,
1680
+ .opc .step-title:after,
1681
+ .checkout-progress:after,
1682
+ .multiple-checkout .place-order:after,
1683
+ .group-select li:after,
1684
+ .form-list li:after,
1685
+ .form-list .field:after,
1686
+ .buttons-set:after,
1687
+ .page-print .print-head:after,
1688
+ .advanced-search-summary:after,
1689
+ .gift-messages-form .item:after,
1690
+ .send-friend .form-list li p:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
1691
+ /* ======================================================================================= */
1692
+
1693
+
1694
+
1695
+ /* RTL Edition =========================================================================== */
1696
+ .header .form-search button.button span { line-height:17px; }
1697
+ .product-details span.codnitive-sidebar-cart-qty { float:right; }
1698
+ .block-layered-nav dd a,
1699
+ .block-layered-nav dd span[class="layered-nav-name"],
1700
+ .product-view .box-tags .product-tags li a { /*float:right; margin-left:3px;*/ display:inline-block; }
1701
+ #nav { font-size:12px; min-height:28px; }
1702
+ #nav li ul { font-size:12px; }
1703
+
1704
+ input.qty,
1705
+ .form-list input.validate-email,
1706
+ .form-alt input.validate-email,
1707
+ .form-list textarea.validate-emails,
1708
+ .form-list input.validate-password,
1709
+ .form-list input.validate-cpassword,
1710
+ .form-list input#login-password,
1711
+ .form-list input#current_password,
1712
+ .form-list input#telephone,
1713
+ .form-list input#billing\:telephone,
1714
+ .form-list input#shipping\:telephone,
1715
+ .form-list input#fax,
1716
+ .form-list input#billing\:fax,
1717
+ .form-list input#shipping\:fax,
1718
+ .form-list input#billing\:year,
1719
+ .form-list input#billing\:month,
1720
+ .form-list input#billing\:day,
1721
+ .form-list input#year,
1722
+ .form-list input#month,
1723
+ .form-list input#day,
1724
+ .form-list input#billing\:taxvat,
1725
+ .form-list input#taxvat,
1726
+ .form-list input#zip,
1727
+ .form-alt input#oar_zip,
1728
+ .form-list input.validate-zip-international,
1729
+ .form-list input#sku,
1730
+ .form-list input.validate-number,
1731
+ .form-list input.validate-postcode,
1732
+ .form-alt input#oar_order_id,
1733
+ .cart .discount input#coupon_code,
1734
+ form input#ccsave_cc_owner,
1735
+ form select.validate-cc-type-select option,
1736
+ form input.validate-cc-type,
1737
+ form select#ccsave_expiration_yr option,
1738
+ form select#authorizenet_expiration_yr option,
1739
+ form input#po_number,
1740
+ form input.validate-cc-cvn { text-align:left; direction:ltr; }
1741
+
1742
+ span.bundle-option-title { float:right; margin-left:3px; }
1743
+ span.product-option-title { float:right; }
1744
+
1745
+ .product-options dd .time-picker,
1746
+ .product-options dd select.datetime-picker { direction:ltr; text-align:left; }
1747
+
1748
+ .product-options dd .time-picker select option,
1749
+ .product-options dd select.datetime-picker option,
1750
+ form select#ccsave_expiration_yr option,
1751
+ form select#authorizenet_expiration_yr option,
1752
+ form select.validate-cc-type-select option { padding:0 10px 0 0; }
1753
+
1754
+ .product-options dd .time-picker select.day_part { direction:rtl; text-align:right; }
1755
+ .product-options dd .time-picker select.day_part option { padding:0 0 0 10px; }
1756
+
1757
+ .product-options dd.product-date-time-option,
1758
+ .order-about dt,
1759
+ .footer-copyrigh-logo { direction:ltr; }
1760
+
1761
+ .cart-table .btn-update { float:left; }
1762
+ .cart .crosssell ul.add-to-links { font-size:10px; }
1763
+
1764
+ .rtl-left-align,
1765
+ .cart .totals td:first-child,
1766
+ li#opc-review table#checkout-review-table tfoot tr td:first-child,
1767
+ .multiple-checkout table tfoot tr td:first-child,
1768
+ .order-items table tfoot tr td:first-child,
1769
+ .page-print table tfoot tr td:first-child/*,
1770
+ .order-items table thead tr th:nth-child(2),
1771
+ .order-items table tbody tr td:nth-child(2),
1772
+ .order-items table tbody tr td:nth-child(4)*/ { text-align:left !important; }
1773
+
1774
+ form select.validate-cc-type-select option:first-child,
1775
+ form select#ccsave_expiration_yr option:first-child,
1776
+ form select#authorizenet_expiration_yr option:first-child { direction:rtl; text-align:right; padding:0 0 0 10px; }
1777
+ .form-search .search-autocomplete { top:134px !important; }
1778
+ #oar_widget_orders_and_returns_form .form-alt li div { float:right !important; }
1779
+ #oar_widget_orders_and_returns_form .form-alt li div button.button { float:left !important; }
1780
+
1781
+ .data-table thead tr th[class="a-right"] span.tax-flag { display:block !important; text-align:left !important; }
1782
+ .remember-me-popup .remember-me-popup-body .remember-me-popup-close-button { text-align:left !important; }
1783
+ .opc .gift-messages-form .item .details .form-list li.wide textarea { width:489px; }
1784
+ .block-layered-nav .currently .label { display:inline-block; }
1785
+ .btn-remove,
1786
+ .btn-remove2,
1787
+ .btn-edit,
1788
+ .btn-close { text-decoration:none !important; }
1789
+ .remember-me-popup .remember-me-popup-head .remember-me-popup-close { font-size:0; }
1790
+ /* ======================================================================================= */
skin/frontend/default/default_rtl/css/widgets.css ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ *
7
+ * DISCLAIMER
8
+ *
9
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
10
+ * versions in the future. If you wish to customize Magento for your
11
+ * needs please refer to http://www.magentocommerce.com for more information.
12
+ *
13
+ * @category design
14
+ * @package default_default_rtl
15
+ * @author Hassan Barza <support@codnitive.com>
16
+ * @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
17
+ */
18
+
19
+ /* Widgets =============================================================================== */
20
+ .widget { display:inline; }
21
+ .widget .widget-title { clear:both; padding:15px 0 0; margin:0 0 7px; }
22
+ .widget .widget-title h2 { font-size:/*15px*/14px; font-weight:bold; color:#e25203; }
23
+
24
+ .widget .mini-products-images-list .product-image { display:block; width:76px; height:76px; border:1px solid #a9a9a9; margin:0 auto; }
25
+ .widget .mini-products-images-list li.item { float:/*left*/right; width:77px; height:77px; }
26
+
27
+ /* Widget: Catalog New Proructs List */
28
+ .widget-new-products { display:block; }
29
+ .col-main .widget-new-products { margin:7px 0; }
30
+ .widget-new-products .products-grid .product-image,
31
+ .widget-new-products .products-list .product-image { width:85px; height:85px; }
32
+ .widget-new-products .products-list .product-shop { /*margin-left*/margin-right:100px; }
33
+ .sidebar .widget-new-products .block { font-size:/*11px*/10px; line-height:1.25; }
34
+ .sidebar .widget-new-products .block-title strong { background:url(../images/widgets/i_widget-new.gif) /*0*/100% 1px no-repeat; /*padding-left*/padding-right:21px; color:#dc5033; }
35
+
36
+ /* Widget: Recently Viewed Proructs */
37
+ .widget-viewed { display:block; }
38
+ .col-main .widget-viewed { margin:7px 0; }
39
+ .widget-viewed .products-grid .product-image,
40
+ .widget-viewed .products-list .product-image { width:85px; height:85px; }
41
+ .widget-viewed .products-list .product-shop { /*margin-left*/margin-right:100px; }
42
+ .sidebar .widget-viewed .block { font-size:/*11px*/10px; line-height:1.25; }
43
+ .sidebar .widget-viewed .block-title strong { background:url(../images/widgets/i_block-list.gif) /*0*/100% 0 no-repeat; /*padding-left*/padding-right:21px; }
44
+
45
+ /* Widget: Recently Compared Proructs */
46
+ .widget-compared { display:block;}
47
+ .col-main .widget-compared { margin:7px 0; }
48
+ .widget-compared .products-grid .product-image,
49
+ .widget-compared .products-list .product-image { width:85px; height:85px; }
50
+ .widget-compared .products-list .product-shop { /*margin-left*/margin-right:100px; }
51
+ .sidebar .widget-compared .block { font-size:/*11px*/10px; line-height:1.25; }
52
+ .sidebar .widget-compared .block-title strong { background:url(../images/widgets/i_block-list.gif) /*0*/100% 0 no-repeat;/* padding-left*/padding-right:21px; }
53
+
54
+ /* Widget: CMS Static Block */
55
+ .widget-static-block {}
56
+ .sidebar .widget-static-block { display:block; margin:0 0 15px; }
57
+
58
+ /* Widgets: Links Common Styles */
59
+ .top-container .widget a { padding:/*0 0 0 7px*/0 7px 0 0; }
60
+
61
+ .bottom-container .widget a { padding:0 3px; }
62
+
63
+ /* Widget: Catalog Product Link */
64
+ .widget-product-link-inline { display:inline; }
65
+
66
+ .col-main .widget-product-link { display:block; text-align:/*right*/left; margin:7px 0; }
67
+ .col-main .widget-product-link a { background:url(../images/widgets/i_widget-link.gif) /*100%*/0 4px no-repeat; /*padding-right*/padding-left:15px; }
68
+
69
+ .sidebar .widget-product-link { display:block; margin:0 0 15px; padding:0 10px; }
70
+ .sidebar .widget-product-link a { background:url(../images/widgets/i_widget-link.gif) /*100%*/0 4px no-repeat; padding:/*0 15px 0 0*/0 0 0 15px; }
71
+
72
+ /* Widget: Catalog Category Link */
73
+ .widget-category-link-inline { display:inline; }
74
+
75
+ .col-main .widget-category-link { display:block; text-align:/*right*/left; margin:7px 0; }
76
+ .col-main .widget-category-link a { background:url(../images/widgets/i_widget-link.gif) /*100%*/0 4px no-repeat; /*padding-right*/padding-left:15px; }
77
+
78
+ .sidebar .widget-category-link { display:block; margin:0 0 15px; padding:0 10px; }
79
+ .sidebar .widget-category-link a { background:url(../images/widgets/i_widget-link.gif) /*100%*/0 4px no-repeat; padding:/*0 15px 0 0*/0 0 0 15px; }
80
+
81
+ /* Widget: CMS Page Link */
82
+ .widget-cms-link-inline { display:inline; }
83
+
84
+ .col-main .widget-cms-link { display:block; text-align:/*right*/left; margin:7px 0; }
85
+ .col-main .widget-cms-link a { background:url(../images/widgets/i_widget-link.gif) /*100%*/0 4px no-repeat; /*padding-right*/padding-left:15px; }
86
+
87
+ .sidebar .widget-cms-link { display:block; margin:0 0 15px; padding:0 10px; }
88
+ .sidebar .widget-cms-link a { background:url(../images/widgets/i_widget-link.gif) /*100%*/0 4px no-repeat; padding:/*0 15px 0 0*/0 0 0 15px; }
89
+ /* ======================================================================================= */
90
+
91
+ /* RTL Edition =========================================================================== */
92
+ .widget #oar_widget_orders_and_returns_form .form-alt li div { float:none !important; }
93
+ .widget #oar_widget_orders_and_returns_form .form-alt li div button.button { float:none !important; }
94
+ /*.widget #oar_widget_orders_and_returns_form .form-alt input.input-text { width:187px; }*/
95
+ /* ======================================================================================= */
skin/frontend/default/default_rtl/images/best_selling_tr_even_bg.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/best_selling_tr_odd_bg.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_account_box.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-actions.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-currency.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-layered-dd.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-layered-dt.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-layered-label.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-layered-li.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-layered-title.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-layered1.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-title-account.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_block-title.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_body.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_buttons-set1.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_checkout.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_collapse-gm.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_collapse.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_divider1.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_form-search.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_grand-total.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_grid.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_header.jpg ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_login-box.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_main1.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_main2.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_nav0.jpg ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_nav1.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_nav2.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_opc-title-off.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_pipe1.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_pipe2.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_pipe3.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_product-view.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_product_collateral.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_rating.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_sp-methods.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_tfoot.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_th-v.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_th.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/bkg_toolbar.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_checkout.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_edit.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_gm-close.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_google_checkout.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_paypal_checkout.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_place_order.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_proceed_to_checkout.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_proceed_to_checkout_dis.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_remove.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_remove2.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_search.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_trash.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/btn_window_close.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/calendar.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/cvv.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/cvv.jpg ADDED
Binary file
skin/frontend/default/default_rtl/images/fam_book_open.png ADDED
Binary file
skin/frontend/default/default_rtl/images/footer_copyright_logo.png ADDED
Binary file
skin/frontend/default/default_rtl/images/grid-cal.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_arrow-top.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_asc_arrow.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_availability_only.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_availability_only_arrow.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-cart.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-currency.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-list.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-poll.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-related.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-subscribe.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-tags.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-viewed.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_block-wishlist.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_desc_arrow.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_discount.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_folder-table.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_ma-info.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_ma-reviews.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_ma-tags.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_msg-error.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_msg-note.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_msg-success.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_notice.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_page1.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_page2.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_pager-next.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_pager-prev.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_print.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_rss-big.png ADDED
Binary file
skin/frontend/default/default_rtl/images/i_rss.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_search_criteria.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_shipping.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_tag_add.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_tier.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_type_grid.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/i_type_list.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/logo.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/logo_email.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/logo_print.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/magnifier_handle.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/np_cart_thumb.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/np_more_img.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/np_product_main.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/np_thumb.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/np_thumb2.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/opc-ajax-loader.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/pager_arrow_left.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/pager_arrow_right.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/product_zoom_overlay_magnif.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/slider_bg.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/slider_btn_zoom_in.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/slider_btn_zoom_out.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/spacer.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/validation_advice_bg.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/widgets/i_block-list.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/widgets/i_widget-link.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/widgets/i_widget-new.gif ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/catalog/category/placeholder/image.jpg ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/catalog/category/placeholder/small_image.jpg ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/catalog/category/placeholder/thumbnail.jpg ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/tab_account.png ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/tab_cart.png ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/tab_home.png ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/tab_more.png ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/tab_page.png ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/tab_search.png ADDED
Binary file
skin/frontend/default/default_rtl/images/xmlconnect/tab_shop.png ADDED
Binary file