Guest User

Untitled

a guest
Apr 24th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 KB | None | 0 0
  1. <checkout_onepage_index>
  2. <reference name="right">
  3. <block type="checkout/cart_sidebar"
  4. name="cart_sidebar_checkout"
  5. template="checkout/cart/minicart/items.phtml"
  6. after="checkout-progress-wrapper">
  7. <action method="addItemRender">
  8. <type>simple</type>
  9. <block>checkout/cart_item_renderer</block>
  10. <template>checkout/cart/sidebar/default.phtml</template>
  11. </action>
  12. <action method="addItemRender">
  13. <type>grouped</type>
  14. <block>checkout/cart_item_renderer_grouped</block>
  15. <template>checkout/cart/sidebar/default.phtml</template>
  16. </action>
  17. <action method="addItemRender">
  18. <type>configurable</type>
  19. <block>checkout/cart_item_renderer_configurable</block>
  20. <template>checkout/cart/sidebar/default.phtml</template>
  21. </action>
  22. </block>
  23. </reference>
  24. </checkout_onepage_index>
  25.  
  26. <?php
  27. $_cartQty = $this->getSummaryCount();
  28. if (empty($_cartQty)) {
  29. $_cartQty = 0;
  30. }
  31. ?>
  32. <div class="block block-progress opc-block-progress minicart-wrapper">
  33. <div class="block-title-cartsidebar">WINKELMAND</div>
  34. <?php $_items = $this->getRecentItems() ?>
  35. <?php $countItems = count($_items); ?>
  36. <?php if ($countItems): ?>
  37. <div class="block-items-cartsidebar">
  38. <ul id="cart-sidebar" class="mini-products-list awesome">
  39. <?php foreach ($_items as $_item): ?>
  40. <?php echo $this->getItemHtml($_item) ?>
  41. <?php endforeach; ?>
  42. <li class="subtotal-side-verzenden">
  43. <span class="label-verzendkosten">Verzendkosten</span>
  44. <span class="label-verzenkosten-price">Gratis</span>
  45. </li>
  46. <?php $cart = Mage::getModel('checkout/cart')->getQuote() ?>
  47. <?php if ($cart->getFoomanSurchargeAmount() > 0) : ?>
  48. <li class="subtotal-side-paymentcost">
  49. <span
  50. class="label-surcharge-description"><?php echo $cart->getFoomanSurchargeDescription() ?></span>
  51. <span
  52. class="label-verzenkosten-price"><?php echo Mage::helper('checkout')->formatPrice($cart->getFoomanSurchargeAmount()) ?></span>
  53. </li>
  54. <?php endif; ?>
  55. <li class="subtotal-side">
  56. <span class="label">
  57. <?php echo $this->__('Totaal') ?><?php echo Mage::helper('checkout')->formatPrice($this->getQuote()->getGrandTotal()) ?>
  58. <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
  59. <br/>(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?><?php echo Mage::helper('tax')->getIncExcText(true) ?>)
  60. <?php endif; ?>
  61. </li>
  62. </ul>
  63. </div>
  64. <div class="block-wijzig-cartsidebar">
  65. <a class="cart-link-head" href="<?php echo $this->getUrl('checkout/cart'); ?>">
  66. <?php echo $this->__('Wijzig uw winkelmand'); ?>
  67. </a>
  68. </div>
  69. <?php if ($_cartQty && $this->isPossibleOnepageCheckout()): ?>
  70. <?php endif ?>
  71. <?php else: ?>
  72. <p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
  73. <?php endif ?>
  74. </div>
  75.  
  76. <checkout_onepage_index>
  77. <reference name="checkout.progress"> <!--change the right to checkout.progress -->
  78. .....
  79. </block>
  80. </reference>
  81. </checkout_onepage_index>
  82.  
  83. <action method="unsetChildren"></action>
  84.  
  85. <checkout_onepage_progress>
  86. <reference name="root">
  87. <block type="checkout/cart_sidebar" name="cart_sidebar_checkout" template="checkout/cart/minicart/items.phtml" >
  88. <action method="addItemRender">
  89. <type>simple</type>
  90. <block>checkout/cart_item_renderer</block>
  91. <template>checkout/cart/sidebar/default.phtml</template>
  92. </action>
  93. <action method="addItemRender">
  94. <type>grouped</type>
  95. <block>checkout/cart_item_renderer_grouped</block>
  96. <template>checkout/cart/sidebar/default.phtml</template>
  97. </action>
  98. <action method="addItemRender">
  99. <type>configurable</type>
  100. <block>checkout/cart_item_renderer_configurable</block>
  101. <template>checkout/cart/sidebar/default.phtml</template>
  102. </action>
  103. </block>
  104. </reference>
  105. </checkout_onepage_progress>
Add Comment
Please, Sign In to add comment