Version Notes
Compatible with magento 1.3.x
Download this release
Release Info
Developer | Magento Core Team |
Extension | FreePOP_Theme |
Version | 1.1 |
Comparing to | |
See all releases |
Version 1.1
- app/design/frontend/default/freepop/LICENSE.TXT +18 -0
- app/design/frontend/default/freepop/README.TXT +81 -0
- app/design/frontend/default/freepop/layout/catalog.xml +380 -0
- app/design/frontend/default/freepop/layout/catalogsearch.xml +120 -0
- app/design/frontend/default/freepop/layout/directory.xml +74 -0
- app/design/frontend/default/freepop/layout/page.xml +166 -0
- app/design/frontend/default/freepop/template/callouts/left_col.phtml +38 -0
- app/design/frontend/default/freepop/template/callouts/right_col.phtml +30 -0
- app/design/frontend/default/freepop/template/catalog/category/page.phtml +32 -0
- app/design/frontend/default/freepop/template/catalog/category/view.phtml +117 -0
- app/design/frontend/default/freepop/template/catalog/navigation/left.phtml +61 -0
- app/design/frontend/default/freepop/template/catalog/navigation/left_navigation.phtml +61 -0
- app/design/frontend/default/freepop/template/catalog/navigation/top.phtml +44 -0
- app/design/frontend/default/freepop/template/catalog/product/compare/list.phtml +126 -0
- app/design/frontend/default/freepop/template/catalog/product/compare/sidebar.phtml +56 -0
- app/design/frontend/default/freepop/template/catalog/product/gallery.phtml +57 -0
- app/design/frontend/default/freepop/template/catalog/product/list.phtml +133 -0
- app/design/frontend/default/freepop/template/catalog/product/list/related.phtml +100 -0
- app/design/frontend/default/freepop/template/catalog/product/list/toolbar.phtml +110 -0
- app/design/frontend/default/freepop/template/catalog/product/list/upsell.phtml +52 -0
- app/design/frontend/default/freepop/template/catalog/product/new.phtml +63 -0
- app/design/frontend/default/freepop/template/catalog/product/newmovies.phtml +105 -0
- app/design/frontend/default/freepop/template/catalog/product/newmusic.phtml +102 -0
- app/design/frontend/default/freepop/template/catalog/product/price.phtml +418 -0
- app/design/frontend/default/freepop/template/catalog/product/view.phtml +134 -0
- app/design/frontend/default/freepop/template/catalog/product/view/additional.phtml +31 -0
- app/design/frontend/default/freepop/template/catalog/product/view/addto.phtml +37 -0
- app/design/frontend/default/freepop/template/catalog/product/view/addtocart.phtml +39 -0
- app/design/frontend/default/freepop/template/catalog/product/view/attributes.phtml +49 -0
- app/design/frontend/default/freepop/template/catalog/product/view/description.phtml +35 -0
- app/design/frontend/default/freepop/template/catalog/product/view/media.phtml +77 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options.phtml +176 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/js.phtml +60 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/type/date.phtml +70 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/type/default.phtml +28 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/type/file.phtml +41 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/type/select.phtml +37 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/type/text.phtml +39 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/wrapper.phtml +34 -0
- app/design/frontend/default/freepop/template/catalog/product/view/options/wrapper/bottom.phtml +30 -0
- app/design/frontend/default/freepop/template/catalog/product/view/price.phtml +30 -0
- app/design/frontend/default/freepop/template/catalog/product/view/price_clone.phtml +28 -0
- app/design/frontend/default/freepop/template/catalog/product/view/tierprices.phtml +181 -0
- app/design/frontend/default/freepop/template/catalog/product/view/type/configurable.phtml +41 -0
- app/design/frontend/default/freepop/template/catalog/product/view/type/grouped.phtml +82 -0
- app/design/frontend/default/freepop/template/catalog/product/view/type/options/configurable.phtml +46 -0
- app/design/frontend/default/freepop/template/catalog/product/view/type/simple.phtml +41 -0
- app/design/frontend/default/freepop/template/catalog/product/view/type/virtual.phtml +41 -0
- app/design/frontend/default/freepop/template/checkout/cart.phtml +125 -0
- app/design/frontend/default/freepop/template/checkout/cart/coupon.phtml +56 -0
- app/design/frontend/default/freepop/template/checkout/cart/crosssell.phtml +56 -0
- app/design/frontend/default/freepop/template/checkout/cart/item/default.phtml +256 -0
- app/design/frontend/default/freepop/template/checkout/cart/noItems.phtml +32 -0
- app/design/frontend/default/freepop/template/checkout/cart/render/default.phtml +69 -0
- app/design/frontend/default/freepop/template/checkout/cart/render/simple.phtml +69 -0
- app/design/frontend/default/freepop/template/checkout/cart/shipping.phtml +115 -0
- app/design/frontend/default/freepop/template/checkout/cart/sidebar.phtml +79 -0
- app/design/frontend/default/freepop/template/checkout/cart/sidebar/default.phtml +141 -0
- app/design/frontend/default/freepop/template/checkout/cart/totals.phtml +41 -0
- app/design/frontend/default/freepop/template/checkout/links.phtml +26 -0
- app/design/frontend/default/freepop/template/checkout/onepage.phtml +59 -0
- app/design/frontend/default/freepop/template/checkout/success.phtml +48 -0
- app/design/frontend/default/freepop/template/newsletter/subscribe.phtml +55 -0
- app/design/frontend/default/freepop/template/page/1column.phtml +80 -0
- app/design/frontend/default/freepop/template/page/2columns-left.phtml +83 -0
- app/design/frontend/default/freepop/template/page/2columns-right.phtml +86 -0
- app/design/frontend/default/freepop/template/page/3columns.phtml +96 -0
- app/design/frontend/default/freepop/template/page/dashboard.phtml +83 -0
- app/design/frontend/default/freepop/template/page/html/breadcrumbs.phtml +45 -0
- app/design/frontend/default/freepop/template/page/html/footer.phtml +31 -0
- app/design/frontend/default/freepop/template/page/html/head.phtml +43 -0
- app/design/frontend/default/freepop/template/page/html/header.phtml +46 -0
- app/design/frontend/default/freepop/template/page/html/notices.phtml +44 -0
- app/design/frontend/default/freepop/template/page/html/pager.phtml +77 -0
- app/design/frontend/default/freepop/template/page/html/top.links.phtml +34 -0
- app/design/frontend/default/freepop/template/page/html/wrapper.phtml +45 -0
- app/design/frontend/default/freepop/template/page/js/calendar.phtml +94 -0
- app/design/frontend/default/freepop/template/page/one-column.phtml +42 -0
- app/design/frontend/default/freepop/template/page/print.phtml +52 -0
- app/design/frontend/default/freepop/template/page/redirect.phtml +39 -0
- app/design/frontend/default/freepop/template/page/switch/flags.phtml +38 -0
- app/design/frontend/default/freepop/template/page/switch/languages.phtml +45 -0
- app/design/frontend/default/freepop/template/page/switch/stores.phtml +48 -0
- app/design/frontend/default/freepop/template/page/template/container.phtml +35 -0
- app/design/frontend/default/freepop/template/page/template/links.phtml +42 -0
- app/design/frontend/default/freepop/template/reports/home_product_compared.phtml +66 -0
- app/design/frontend/default/freepop/template/reports/home_product_viewed.phtml +72 -0
- app/design/frontend/default/freepop/template/reports/product_compared.phtml +41 -0
- app/design/frontend/default/freepop/template/reports/product_viewed.phtml +42 -0
- app/design/frontend/default/freepop/template/review/customer/list.phtml +64 -0
- app/design/frontend/default/freepop/template/review/customer/recent.phtml +53 -0
- app/design/frontend/default/freepop/template/review/customer/view.phtml +64 -0
- app/design/frontend/default/freepop/template/review/form.phtml +123 -0
- app/design/frontend/default/freepop/template/review/helper/summary.phtml +45 -0
- app/design/frontend/default/freepop/template/review/helper/summary_short.phtml +45 -0
- app/design/frontend/default/freepop/template/review/product/view/count.phtml +29 -0
- app/design/frontend/default/freepop/template/review/product/view/list.phtml +66 -0
- app/design/frontend/default/freepop/template/review/product/view/other.phtml +29 -0
- app/design/frontend/default/freepop/template/review/view.phtml +61 -0
- app/design/frontend/default/freepop/template/sales/reorder/sidebar.phtml +84 -0
- app/design/frontend/default/freepop/template/tag/list.phtml +59 -0
- app/design/frontend/default/freepop/template/wishlist/sidebar.phtml +69 -0
- package.xml +22 -0
- skin/frontend/default/freepop/css/style.css +215 -0
- skin/frontend/default/freepop/images/Thumbs.db +0 -0
- skin/frontend/default/freepop/images/Untitled-1_03.gif +0 -0
- skin/frontend/default/freepop/images/addto.gif +0 -0
- skin/frontend/default/freepop/images/bg.gif +0 -0
- skin/frontend/default/freepop/images/bg_buttom.gif +0 -0
- skin/frontend/default/freepop/images/bg_compare_11.gif +0 -0
- skin/frontend/default/freepop/images/bg_content_03.gif +0 -0
- skin/frontend/default/freepop/images/bg_new.gif +0 -0
- skin/frontend/default/freepop/images/bg_shopby.gif +0 -0
- skin/frontend/default/freepop/images/bg_title_03.gif +0 -0
- skin/frontend/default/freepop/images/bkg_products-grid3.gif +0 -0
- skin/frontend/default/freepop/images/bottom_box_06.gif +0 -0
- skin/frontend/default/freepop/images/bottom_box_06.png +0 -0
- skin/frontend/default/freepop/images/btn_addtocat.png +0 -0
- skin/frontend/default/freepop/images/btn_mini_search.gif +0 -0
- skin/frontend/default/freepop/images/center_head_06.gif +0 -0
- skin/frontend/default/freepop/images/collection.gif +0 -0
- skin/frontend/default/freepop/images/currency_switcher_bg.gif +0 -0
- skin/frontend/default/freepop/images/free_01.gif +0 -0
- skin/frontend/default/freepop/images/free_02.gif +0 -0
- skin/frontend/default/freepop/images/head_05.gif +0 -0
- skin/frontend/default/freepop/images/header_bg.gif +0 -0
- skin/frontend/default/freepop/images/home_03.gif +0 -0
- skin/frontend/default/freepop/images/home_07.gif +0 -0
- skin/frontend/default/freepop/images/icon_01.png +0 -0
- skin/frontend/default/freepop/images/icon_basket.gif +0 -0
- skin/frontend/default/freepop/images/icon_newspaper.gif +0 -0
- skin/frontend/default/freepop/images/icon_table.gif +0 -0
- skin/frontend/default/freepop/images/left_head.gif +0 -0
- skin/frontend/default/freepop/images/logo.png +0 -0
- skin/frontend/default/freepop/images/menu_06.gif +0 -0
- skin/frontend/default/freepop/images/middle_box_03.gif +0 -0
- skin/frontend/default/freepop/images/narrow_by_set.gif +0 -0
- skin/frontend/default/freepop/images/new_movies.gif +0 -0
- skin/frontend/default/freepop/images/new_music.gif +0 -0
- skin/frontend/default/freepop/images/pager_arrow_right.gif +0 -0
- skin/frontend/default/freepop/images/pager_bg.gif +0 -0
- skin/frontend/default/freepop/images/product_03.gif +0 -0
- skin/frontend/default/freepop/images/product_btn.gif +0 -0
- skin/frontend/default/freepop/images/right_head.gif +0 -0
- skin/frontend/default/freepop/images/search.gif +0 -0
- skin/frontend/default/freepop/images/shop_access_pipe.gif +0 -0
- skin/frontend/default/freepop/images/shopby.gif +0 -0
- skin/frontend/default/freepop/images/top_box_03.gif +0 -0
app/design/frontend/default/freepop/LICENSE.TXT
ADDED
@@ -0,0 +1,18 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
FREE LICENSE - www.hello-magento.com
|
2 |
+
------------------------------------
|
3 |
+
This template is produced by Hello Magento�
|
4 |
+
|
5 |
+
(+) Allow: You have full permission to use or customize for personal website or for your client website.
|
6 |
+
|
7 |
+
(-) Not allow: You are not allow to redistribute or sell this design any where.
|
8 |
+
|
9 |
+
(*) Required: You must keep our copyright at the footer of the template.
|
10 |
+
|
11 |
+
We are welcome and appriciate every comments or suggestion on our product.
|
12 |
+
|
13 |
+
Feel free to send us your comment at:
|
14 |
+
support@hello-magento.com or http://www.hello-magento.com/contacts
|
15 |
+
|
16 |
+
Regards,
|
17 |
+
Hello Magento�
|
18 |
+
http://wwww.hello-magento.com
|
app/design/frontend/default/freepop/README.TXT
ADDED
@@ -0,0 +1,81 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
====== FREE POP - MAGENTO THEME ======
|
2 |
+
|
3 |
+
OVERVIEW
|
4 |
+
--------
|
5 |
+
Free POP is a nice and clear design template for magento ecommerce site. It is suite for many kind of webshop as music, movie, CD/DVD...
|
6 |
+
|
7 |
+
(+) Allow: You have full permission to use or customize for personal website or for your client website.
|
8 |
+
|
9 |
+
(-) Not allow: You are not allow to redistribute or sell this design any where.
|
10 |
+
|
11 |
+
(*) Required: You must keep our copyright at the footer of the template.
|
12 |
+
|
13 |
+
THE FEATURES
|
14 |
+
------------
|
15 |
+
+ Compatible with all major browsers(IE6, IE7, IE8, FireFox, Safari, Chrome)
|
16 |
+
+ Optimized for fast loading
|
17 |
+
+ Easily customize with PSD files (included in the package)
|
18 |
+
+ SEO (Search Engine Optimization) compliant
|
19 |
+
+ W3C HTML & CSS validated
|
20 |
+
+ Support Magento Version 1.3.x and above
|
21 |
+
|
22 |
+
INSTALLATION
|
23 |
+
------------
|
24 |
+
1. Copy /app & /skin folder to magento root
|
25 |
+
|
26 |
+
2. Goto Admin/Configuration/Design, select Themes session and input following value
|
27 |
+
+ Templates: freepop
|
28 |
+
+ Layout: freepop
|
29 |
+
+ Skin (Images / CSS): freepop
|
30 |
+
|
31 |
+
3. Configure Homepage:
|
32 |
+
|
33 |
+
* In General Information:
|
34 |
+
|
35 |
+
Page Title *:Home
|
36 |
+
SEF URL Identifier *:home
|
37 |
+
Store View *: choose freepop.
|
38 |
+
Status *:Enable.
|
39 |
+
|
40 |
+
Content *:
|
41 |
+
<div class="intro_img">
|
42 |
+
<a href="#"><img src="{{skin url='images/free_01.gif}}" border="0" /></a>
|
43 |
+
</div>
|
44 |
+
|
45 |
+
<div class="content_block">
|
46 |
+
<div class="content_block_left">
|
47 |
+
{{block type="core/template" name="newmovies" as="newmovies" template="catalog/product/newmusic.phtml"}}
|
48 |
+
{{block type="core/template" name="newmovies" as="product_featured" template="catalog/product/newmovies.phtml}}
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
|
52 |
+
* In Custom Design:
|
53 |
+
|
54 |
+
Layout * :3column
|
55 |
+
|
56 |
+
Layout Update XML:
|
57 |
+
|
58 |
+
<reference name="left">
|
59 |
+
<block type="cms/block" name="menuleft" after="currency">
|
60 |
+
<action method="setBlockId"><block_id>menuleft</block_id></action>
|
61 |
+
</block>
|
62 |
+
</reference>
|
63 |
+
|
64 |
+
4. Configure left menu on homepage - Create a static block:
|
65 |
+
|
66 |
+
Block Title * :Menuleft
|
67 |
+
Identifier * :menuleft
|
68 |
+
Store View *: choose freepop.
|
69 |
+
Status * :Enable.
|
70 |
+
Content *:
|
71 |
+
{{block type="catalog/navigation" name="catalog.menu" template="catalog/navigation/left_navigation.phtml"}}
|
72 |
+
|
73 |
+
3. Goto front-end to see the theme
|
74 |
+
|
75 |
+
Feel free to let us know if you have any comment or suggestion to help us producce free theme better.
|
76 |
+
Please contact us at:
|
77 |
+
support@hello-magento.com or http://www.hello-magento.com/contacts
|
78 |
+
|
79 |
+
Regards,
|
80 |
+
Hello Magento Support
|
81 |
+
http://wwww.hello-magento.com
|
app/design/frontend/default/freepop/layout/catalog.xml
ADDED
@@ -0,0 +1,380 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design_default
|
23 |
+
* @package Mage
|
24 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
Supported layout update handles (action):
|
29 |
+
- catalog_product_gallery
|
30 |
+
- catalog_product_compare_index
|
31 |
+
|
32 |
+
Supported layout update handles (special):
|
33 |
+
- default
|
34 |
+
- catalog_category_default
|
35 |
+
- catalog_category_layered
|
36 |
+
- catalog_product_view
|
37 |
+
|
38 |
+
-->
|
39 |
+
<layout version="0.1.0">
|
40 |
+
|
41 |
+
<!--
|
42 |
+
Default layout, loads most of the pages
|
43 |
+
-->
|
44 |
+
|
45 |
+
<default>
|
46 |
+
|
47 |
+
<!-- Mage_Catalog -->
|
48 |
+
<reference name="top.menu">
|
49 |
+
<block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
|
50 |
+
</reference>
|
51 |
+
<reference name="left">
|
52 |
+
<!-- <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
|
53 |
+
<action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
|
54 |
+
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
|
55 |
+
<action method="setLinkUrl"><url>checkout/cart</url></action>
|
56 |
+
</block>
|
57 |
+
-->
|
58 |
+
</reference>
|
59 |
+
<reference name="right">
|
60 |
+
<block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
61 |
+
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>
|
62 |
+
</reference>
|
63 |
+
<reference name="footer_links">
|
64 |
+
<action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
|
65 |
+
</reference>
|
66 |
+
|
67 |
+
</default>
|
68 |
+
|
69 |
+
|
70 |
+
<!--
|
71 |
+
Category default layout
|
72 |
+
-->
|
73 |
+
|
74 |
+
<catalog_category_default>
|
75 |
+
<reference name="left">
|
76 |
+
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
|
77 |
+
</reference>
|
78 |
+
<reference name="content">
|
79 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
80 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
81 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
82 |
+
<!-- The following code shows how to set your own pager increments -->
|
83 |
+
<!--
|
84 |
+
<action method="setDefaultListPerPage"><limit>4</limit></action>
|
85 |
+
<action method="setDefaultGridPerPage"><limit>9</limit></action>
|
86 |
+
<action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
|
87 |
+
<action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
|
88 |
+
<action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
|
89 |
+
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
90 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
91 |
+
-->
|
92 |
+
</block>
|
93 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
94 |
+
</block>
|
95 |
+
</block>
|
96 |
+
</reference>
|
97 |
+
</catalog_category_default>
|
98 |
+
|
99 |
+
<!--
|
100 |
+
Category layered navigation layout
|
101 |
+
-->
|
102 |
+
|
103 |
+
<catalog_category_layered>
|
104 |
+
<reference name="left">
|
105 |
+
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
106 |
+
</reference>
|
107 |
+
<reference name="content">
|
108 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
109 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
110 |
+
<!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
|
111 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
112 |
+
<!-- The following code shows how to set your own pager increments -->
|
113 |
+
<!--
|
114 |
+
<action method="setDefaultListPerPage"><limit>4</limit></action>
|
115 |
+
<action method="setDefaultGridPerPage"><limit>3</limit></action>
|
116 |
+
<action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
|
117 |
+
<action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
|
118 |
+
<action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
|
119 |
+
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
120 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
121 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
|
122 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
|
123 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
|
124 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>all</limit><label>All</label></action>
|
125 |
+
-->
|
126 |
+
</block>
|
127 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
128 |
+
</block>
|
129 |
+
</block>
|
130 |
+
</reference>
|
131 |
+
</catalog_category_layered>
|
132 |
+
|
133 |
+
<catalog_category_layered_nochildren>
|
134 |
+
<remove name="right.reports.product.viewed" />
|
135 |
+
<reference name="right">
|
136 |
+
<block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
|
137 |
+
</reference>
|
138 |
+
</catalog_category_layered_nochildren>
|
139 |
+
|
140 |
+
<!--
|
141 |
+
Compare products page
|
142 |
+
-->
|
143 |
+
|
144 |
+
<catalog_product_compare_index>
|
145 |
+
<!-- Mage_Catalog -->
|
146 |
+
<reference name="root">
|
147 |
+
<action method="setTemplate"><template>page/one-column.phtml</template></action>
|
148 |
+
</reference>
|
149 |
+
<reference name="head">
|
150 |
+
<action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
|
151 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
152 |
+
</reference>
|
153 |
+
<reference name="content">
|
154 |
+
<block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
|
155 |
+
</reference>
|
156 |
+
</catalog_product_compare_index>
|
157 |
+
|
158 |
+
<customer_account_index>
|
159 |
+
|
160 |
+
<reference name="right">
|
161 |
+
<action method="unsetChild"><name>catalog_compare_sidebar</name></action>
|
162 |
+
</reference>
|
163 |
+
</customer_account_index>
|
164 |
+
|
165 |
+
<!--
|
166 |
+
Product view
|
167 |
+
-->
|
168 |
+
|
169 |
+
<catalog_product_view>
|
170 |
+
<!-- Mage_Catalog -->
|
171 |
+
<reference name="root">
|
172 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
173 |
+
</reference>
|
174 |
+
<reference name="head">
|
175 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
176 |
+
|
177 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
178 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
179 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
180 |
+
</reference>
|
181 |
+
<reference name="content">
|
182 |
+
<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
|
183 |
+
<!--
|
184 |
+
<action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
|
185 |
+
<action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
|
186 |
+
<action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
|
187 |
+
-->
|
188 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
|
189 |
+
<block type="core/text_list" name="alert.urls" as="alert_urls" />
|
190 |
+
|
191 |
+
<action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
|
192 |
+
|
193 |
+
<block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
|
194 |
+
<action method="setColumnCount"><columns>4</columns></action>
|
195 |
+
<action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
|
196 |
+
</block>
|
197 |
+
|
198 |
+
<block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
|
199 |
+
<block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml"/>
|
200 |
+
<block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml"/>
|
201 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
202 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
|
203 |
+
|
204 |
+
<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml">
|
205 |
+
<block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
|
206 |
+
<block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
|
207 |
+
<action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
|
208 |
+
<action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
|
209 |
+
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
|
210 |
+
<action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
|
211 |
+
</block>
|
212 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
213 |
+
</block>
|
214 |
+
<block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml">
|
215 |
+
<action method="insert"><block>product.tierprices</block></action>
|
216 |
+
<block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
|
217 |
+
<action method="append"><block>product.info.addtocart</block></action>
|
218 |
+
</block>
|
219 |
+
|
220 |
+
<block type="core/template_facade" name="product.info.container1" as="container1">
|
221 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
|
222 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
223 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
224 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
225 |
+
</block>
|
226 |
+
<block type="core/template_facade" name="product.info.container2" as="container2">
|
227 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
|
228 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
229 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
230 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
231 |
+
</block>
|
232 |
+
<action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
233 |
+
<action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
234 |
+
</block>
|
235 |
+
</reference>
|
236 |
+
<reference name="right">
|
237 |
+
<block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
|
238 |
+
</reference>
|
239 |
+
</catalog_product_view>
|
240 |
+
|
241 |
+
<!--
|
242 |
+
Additional block dependant on product type
|
243 |
+
-->
|
244 |
+
<PRODUCT_TYPE_simple>
|
245 |
+
<reference name="product.info">
|
246 |
+
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/simple.phtml"/>
|
247 |
+
</reference>
|
248 |
+
</PRODUCT_TYPE_simple>
|
249 |
+
<PRODUCT_TYPE_configurable>
|
250 |
+
<reference name="product.info">
|
251 |
+
<block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/configurable.phtml"/>
|
252 |
+
</reference>
|
253 |
+
<reference name="product.info.options.wrapper">
|
254 |
+
<block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
|
255 |
+
</reference>
|
256 |
+
</PRODUCT_TYPE_configurable>
|
257 |
+
<PRODUCT_TYPE_grouped>
|
258 |
+
<reference name="product.info">
|
259 |
+
<block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml" />
|
260 |
+
</reference>
|
261 |
+
</PRODUCT_TYPE_grouped>
|
262 |
+
<PRODUCT_TYPE_virtual>
|
263 |
+
<reference name="product.info">
|
264 |
+
<block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/virtual.phtml"/>
|
265 |
+
</reference>
|
266 |
+
</PRODUCT_TYPE_virtual>
|
267 |
+
|
268 |
+
<!--
|
269 |
+
Product send to friend
|
270 |
+
-->
|
271 |
+
|
272 |
+
<catalog_product_send>
|
273 |
+
<!-- Mage_Catalog -->
|
274 |
+
<reference name="root">
|
275 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
276 |
+
</reference>
|
277 |
+
<reference name="head">
|
278 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
279 |
+
</reference>
|
280 |
+
<reference name="content">
|
281 |
+
<block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
|
282 |
+
</block>
|
283 |
+
</reference>
|
284 |
+
</catalog_product_send>
|
285 |
+
|
286 |
+
<!--
|
287 |
+
Product additional images gallery popup
|
288 |
+
-->
|
289 |
+
|
290 |
+
<catalog_product_gallery>
|
291 |
+
<!-- Mage_Catalog -->
|
292 |
+
<reference name="root">
|
293 |
+
<action method="setTemplate"><template>page/one-column.phtml</template></action>
|
294 |
+
</reference>
|
295 |
+
<reference name="content">
|
296 |
+
<block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
|
297 |
+
</reference>
|
298 |
+
</catalog_product_gallery>
|
299 |
+
|
300 |
+
<!--
|
301 |
+
SEO Site Map
|
302 |
+
-->
|
303 |
+
|
304 |
+
<catalog_seo_sitemap>
|
305 |
+
<remove name="right"/>
|
306 |
+
<remove name="left"/>
|
307 |
+
|
308 |
+
<reference name="root">
|
309 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
310 |
+
</reference>
|
311 |
+
<reference name="content">
|
312 |
+
<block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
|
313 |
+
<block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
|
314 |
+
<block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
315 |
+
<block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
316 |
+
</block>
|
317 |
+
</reference>
|
318 |
+
</catalog_seo_sitemap>
|
319 |
+
|
320 |
+
<catalog_seo_sitemap_category>
|
321 |
+
<update handle="catalog_seo_sitemap" />
|
322 |
+
<reference name="seo.sitemap.container">
|
323 |
+
<action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
|
324 |
+
<block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
325 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
326 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
327 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
|
328 |
+
</block>
|
329 |
+
</reference>
|
330 |
+
<reference name="seo.sitemap.links">
|
331 |
+
<action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
|
332 |
+
</reference>
|
333 |
+
</catalog_seo_sitemap_category>
|
334 |
+
|
335 |
+
<catalog_seo_sitemap_category_tree>
|
336 |
+
<reference name="seo.sitemap.container">
|
337 |
+
<remove name="seo.sitemap.pager.top" />
|
338 |
+
<remove name="seo.sitemap.pager.bottom" />
|
339 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
340 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
341 |
+
<remove name="seo.sitemap.sitemap" />
|
342 |
+
<block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
|
343 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
|
344 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
|
345 |
+
</block>
|
346 |
+
</reference>
|
347 |
+
</catalog_seo_sitemap_category_tree>
|
348 |
+
|
349 |
+
<catalog_seo_sitemap_product>
|
350 |
+
<update handle="catalog_seo_sitemap" />
|
351 |
+
<reference name="seo.sitemap.container">
|
352 |
+
<action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
|
353 |
+
<block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
354 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
355 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
356 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
|
357 |
+
</block>
|
358 |
+
</reference>
|
359 |
+
<reference name="seo.sitemap.links">
|
360 |
+
<action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
|
361 |
+
</reference>
|
362 |
+
</catalog_seo_sitemap_product>
|
363 |
+
|
364 |
+
|
365 |
+
<!--
|
366 |
+
Catalog search terms block
|
367 |
+
-->
|
368 |
+
|
369 |
+
<catalog_seo_searchterm_popular>
|
370 |
+
<remove name="right"/>
|
371 |
+
<remove name="left"/>
|
372 |
+
<reference name="root">
|
373 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
374 |
+
</reference>
|
375 |
+
<reference name="content">
|
376 |
+
<block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
|
377 |
+
</reference>
|
378 |
+
</catalog_seo_searchterm_popular>
|
379 |
+
|
380 |
+
</layout>
|
app/design/frontend/default/freepop/layout/catalogsearch.xml
ADDED
@@ -0,0 +1,120 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design_default
|
23 |
+
* @package Mage
|
24 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<default>
|
32 |
+
<reference name="header">
|
33 |
+
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
|
34 |
+
</reference>
|
35 |
+
<reference name="footer_links">
|
36 |
+
<action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
|
37 |
+
<label>Search Terms</label>
|
38 |
+
<url helper="catalogsearch/getSearchTermUrl" />
|
39 |
+
<title>Search Terms</title>
|
40 |
+
</action>
|
41 |
+
<action method="addLink" translate="label title" module="catalogsearch">
|
42 |
+
<label>Advanced Search</label>
|
43 |
+
<url helper="catalogsearch/getAdvancedSearchUrl" />
|
44 |
+
<title>Advanced Search</title>
|
45 |
+
</action>
|
46 |
+
</reference>
|
47 |
+
</default>
|
48 |
+
|
49 |
+
<catalogsearch_result_index>
|
50 |
+
<remove name="right.newsletter" />
|
51 |
+
<remove name="right.reports.product.viewed" />
|
52 |
+
<reference name="root">
|
53 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
54 |
+
</reference>
|
55 |
+
<reference name="left">
|
56 |
+
<block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
57 |
+
<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
|
58 |
+
</reference>
|
59 |
+
<reference name="content">
|
60 |
+
<block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
|
61 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
|
62 |
+
<action method="setListOrders"/>
|
63 |
+
<action method="setListModes"/>
|
64 |
+
<action method="setListCollection"/>
|
65 |
+
</block>
|
66 |
+
</reference>
|
67 |
+
|
68 |
+
<reference name="right">
|
69 |
+
<block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
|
70 |
+
</reference>
|
71 |
+
</catalogsearch_result_index>
|
72 |
+
|
73 |
+
<catalogsearch_advanced_index>
|
74 |
+
<!-- Mage_Catalogsearch -->
|
75 |
+
<reference name="root">
|
76 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
77 |
+
</reference>
|
78 |
+
<reference name="head">
|
79 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
80 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
81 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
82 |
+
</reference>
|
83 |
+
<reference name="content">
|
84 |
+
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
|
85 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
86 |
+
</reference>
|
87 |
+
</catalogsearch_advanced_index>
|
88 |
+
|
89 |
+
<!--
|
90 |
+
Advanced search results
|
91 |
+
-->
|
92 |
+
|
93 |
+
<catalogsearch_advanced_result>
|
94 |
+
<!-- Mage_Catalogsearch -->
|
95 |
+
<reference name="root">
|
96 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
97 |
+
</reference>
|
98 |
+
<reference name="content">
|
99 |
+
<block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
|
100 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
|
101 |
+
<action method="setListOrders"/>
|
102 |
+
<action method="setListModes"/>
|
103 |
+
<action method="setListCollection"/>
|
104 |
+
</block>
|
105 |
+
</reference>
|
106 |
+
</catalogsearch_advanced_result>
|
107 |
+
|
108 |
+
<catalogsearch_term_popular>
|
109 |
+
<remove name="right"/>
|
110 |
+
<remove name="left"/>
|
111 |
+
|
112 |
+
<reference name="root">
|
113 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
114 |
+
</reference>
|
115 |
+
<reference name="content">
|
116 |
+
<block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
|
117 |
+
</reference>
|
118 |
+
</catalogsearch_term_popular>
|
119 |
+
|
120 |
+
</layout>
|
app/design/frontend/default/freepop/layout/directory.xml
ADDED
@@ -0,0 +1,74 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design_default
|
23 |
+
* @package Mage
|
24 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Category default layout
|
33 |
+
-->
|
34 |
+
|
35 |
+
<catalog_category_default>
|
36 |
+
<reference name="left">
|
37 |
+
|
38 |
+
</reference>
|
39 |
+
</catalog_category_default>
|
40 |
+
|
41 |
+
<!--
|
42 |
+
Category layered navigation layout
|
43 |
+
-->
|
44 |
+
|
45 |
+
<catalog_category_layered>
|
46 |
+
<reference name="left">
|
47 |
+
<!-- <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/> -->
|
48 |
+
</reference>
|
49 |
+
</catalog_category_layered>
|
50 |
+
|
51 |
+
|
52 |
+
<!--
|
53 |
+
Catalog Search layout
|
54 |
+
-->
|
55 |
+
|
56 |
+
<catalogsearch_advanced_index>
|
57 |
+
<reference name="left">
|
58 |
+
<block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
|
59 |
+
</reference>
|
60 |
+
</catalogsearch_advanced_index>
|
61 |
+
|
62 |
+
<catalogsearch_result_index>
|
63 |
+
<reference name="left">
|
64 |
+
<block type="directory/currency" name="currency" before="-" template="directory/currency.phtml"/>
|
65 |
+
</reference>
|
66 |
+
</catalogsearch_result_index>
|
67 |
+
|
68 |
+
<catalogsearch_advanced_result>
|
69 |
+
<reference name="right">
|
70 |
+
<block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
|
71 |
+
</reference>
|
72 |
+
</catalogsearch_advanced_result>
|
73 |
+
|
74 |
+
</layout>
|
app/design/frontend/default/freepop/layout/page.xml
ADDED
@@ -0,0 +1,166 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design_default
|
23 |
+
* @package Mage
|
24 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
|
33 |
+
<default>
|
34 |
+
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
|
35 |
+
|
36 |
+
<block type="page/html_head" name="head" as="head">
|
37 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
38 |
+
<action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>
|
39 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
40 |
+
<action method="addJs"><script>scriptaculous/builder.js</script></action>
|
41 |
+
<action method="addJs"><script>scriptaculous/effects.js</script></action>
|
42 |
+
<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
|
43 |
+
<action method="addJs"><script>scriptaculous/controls.js</script></action>
|
44 |
+
<action method="addJs"><script>scriptaculous/slider.js</script></action>
|
45 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
46 |
+
<action method="addJs"><script>varien/form.js</script></action>
|
47 |
+
<action method="addJs"><script>varien/menu.js</script></action>
|
48 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
49 |
+
<action method="addJs"><script>mage/cookies.js</script></action>
|
50 |
+
<action method="addCss"><stylesheet>css/reset.css</stylesheet></action>
|
51 |
+
<action method="addCss"><stylesheet>css/boxes.css</stylesheet></action>
|
52 |
+
<action method="addCss"><stylesheet>css/menu.css</stylesheet></action>
|
53 |
+
<action method="addCss"><stylesheet>css/clears.css</stylesheet></action>
|
54 |
+
|
55 |
+
<action method="addItem"><type>skin_css</type><name>css/iestyles.css</name><params/><if>lt IE 8</if></action>
|
56 |
+
<action method="addItem"><type>skin_css</type><name>css/ie7minus.css</name><params/><if>lt IE 7</if></action>
|
57 |
+
|
58 |
+
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
59 |
+
<action method="addItem"><type>js</type><name>varien/iehover-fix.js</name><params/><if>lt IE 7</if></action>
|
60 |
+
|
61 |
+
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
|
62 |
+
<action method="addCss"><stylesheet>css/style.css</stylesheet></action>
|
63 |
+
</block>
|
64 |
+
|
65 |
+
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
|
66 |
+
|
67 |
+
<block type="page/html_header" name="header" as="header">
|
68 |
+
<block type="page/template_links" name="top.links" as="topLinks"/>
|
69 |
+
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
|
70 |
+
<block type="core/text_list" name="top.menu" as="topMenu"/>
|
71 |
+
</block>
|
72 |
+
|
73 |
+
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
|
74 |
+
|
75 |
+
<block type="core/text_list" name="left" as="left">
|
76 |
+
<block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
|
77 |
+
</block>
|
78 |
+
|
79 |
+
<block type="core/messages" name="global_messages" as="global_messages"/>
|
80 |
+
<block type="core/messages" name="messages" as="messages"/>
|
81 |
+
|
82 |
+
<block type="core/text_list" name="content" as="content"/>
|
83 |
+
|
84 |
+
<block type="core/text_list" name="right" as="right"/>
|
85 |
+
|
86 |
+
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
|
87 |
+
<block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
|
88 |
+
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
|
89 |
+
</block>
|
90 |
+
|
91 |
+
<block type="core/text_list" name="before_body_end" as="before_body_end"/>
|
92 |
+
</block>
|
93 |
+
|
94 |
+
<block type="core/profiler" output="toHtml"/>
|
95 |
+
</default>
|
96 |
+
|
97 |
+
<print>
|
98 |
+
<!-- Mage_Page -->
|
99 |
+
<block type="page/html" name="root" output="toHtml" template="page/print.phtml">
|
100 |
+
|
101 |
+
<block type="page/html_head" name="head" as="head">
|
102 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
103 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
104 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
105 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
106 |
+
|
107 |
+
<action method="addCss"><stylesheet>css/reset.css</stylesheet></action>
|
108 |
+
<action method="addCss"><stylesheet>css/boxes.css</stylesheet></action>
|
109 |
+
<action method="addCss"><stylesheet>css/menu.css</stylesheet></action>
|
110 |
+
<action method="addCss"><stylesheet>css/clears.css</stylesheet></action>
|
111 |
+
|
112 |
+
<action method="addItem"><type>skin_css</type><name>css/iestyles.css</name><params/><if>lt IE 8</if></action>
|
113 |
+
<action method="addItem"><type>skin_css</type><name>css/ie7minus.css</name><params/><if>lt IE 7</if></action>
|
114 |
+
|
115 |
+
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
116 |
+
<action method="addItem"><type>js</type><name>varien/iehover-fix.js</name><params/><if>lt IE 7</if></action>
|
117 |
+
|
118 |
+
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
|
119 |
+
</block>
|
120 |
+
|
121 |
+
<block type="core/text_list" name="content" as="content"/>
|
122 |
+
|
123 |
+
</block>
|
124 |
+
</print>
|
125 |
+
|
126 |
+
<!-- Custom page layout handles -->
|
127 |
+
<page_empty>
|
128 |
+
<reference name="root">
|
129 |
+
<action method="setTemplate"><template>page/one-column.phtml</template></action>
|
130 |
+
<!-- Mark root page block that template is applied -->
|
131 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
132 |
+
</reference>
|
133 |
+
</page_empty>
|
134 |
+
|
135 |
+
<page_one_column>
|
136 |
+
<reference name="root">
|
137 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
138 |
+
<!-- Mark root page block that template is applied -->
|
139 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
140 |
+
</reference>
|
141 |
+
</page_one_column>
|
142 |
+
|
143 |
+
<page_two_columns_left>
|
144 |
+
<reference name="root">
|
145 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
146 |
+
<!-- Mark root page block that template is applied -->
|
147 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
148 |
+
</reference>
|
149 |
+
</page_two_columns_left>
|
150 |
+
|
151 |
+
<page_two_columns_right>
|
152 |
+
<reference name="root">
|
153 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
154 |
+
<!-- Mark root page block that template is applied -->
|
155 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
156 |
+
</reference>
|
157 |
+
</page_two_columns_right>
|
158 |
+
|
159 |
+
<page_three_columns>
|
160 |
+
<reference name="root">
|
161 |
+
<action method="setTemplate"><template>page/3columns.phtml</template></action>
|
162 |
+
<!-- Mark root page block that template is applied -->
|
163 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
164 |
+
</reference>
|
165 |
+
</page_three_columns>
|
166 |
+
</layout>
|
app/design/frontend/default/freepop/template/callouts/left_col.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<div class="box">
|
29 |
+
<?php if (strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
|
30 |
+
<a href="<?php echo $this->getLinkUrl() ?>">
|
31 |
+
<?php elseif($this->getLinkUrl()): ?>
|
32 |
+
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>">
|
33 |
+
<?php endif ?>
|
34 |
+
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>" width="195" alt="<?php echo $this->__($this->getImgAlt()) ?>" style="display:block;" />
|
35 |
+
<?php if ($this->getLinkUrl()): ?>
|
36 |
+
</a>
|
37 |
+
<?php endif ?>
|
38 |
+
</div>
|
app/design/frontend/default/freepop/template/callouts/right_col.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<div class="box">
|
29 |
+
<img src="<?php echo $this->getSkinUrl('images/free_02.gif') ?>" width="100%" alt="<?php echo __('Keep your eyes open for our special Back to School items and save A LOT!') ?>" style="display:block;margin-bottom:15px;" />
|
30 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/category/page.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-head-alt">
|
28 |
+
<h2><?php echo $this->getTitle() ?></h2>
|
29 |
+
</div>
|
30 |
+
<div>
|
31 |
+
<?php echo $this->getContent() ?>
|
32 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/category/view.phtml
ADDED
@@ -0,0 +1,117 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Category view template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Category_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$_helper = $this->helper('catalog/output');
|
36 |
+
$_category = $this->getCurrentCategory();
|
37 |
+
$_imgHtml = '';
|
38 |
+
if ($_imageUrl = $_category->getImageUrl()) {
|
39 |
+
$_imgHtml = '<img src="'.$_imageUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" width="534" />';
|
40 |
+
$_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
|
41 |
+
}
|
42 |
+
?>
|
43 |
+
|
44 |
+
|
45 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
46 |
+
<?php if($this->isContentMode()): ?>
|
47 |
+
|
48 |
+
<?php if($_imgHtml): ?>
|
49 |
+
<p><?php echo $_imgHtml?></p>
|
50 |
+
<?php endif; ?>
|
51 |
+
<div class="category-head">
|
52 |
+
<div class="left_head"><span></span></div>
|
53 |
+
<div class="center_head">
|
54 |
+
<?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
|
55 |
+
<a href="<?php echo $this->getRssLink() ?>" class="link-feed right"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
|
56 |
+
<?php endif; ?>
|
57 |
+
<h2><?php echo $_helper->categoryAttribute($_category, $this->htmlEscape($_category->getName()), 'name') ?></h2>
|
58 |
+
</div>
|
59 |
+
<div class="right_head"><span></span></div>
|
60 |
+
<div class="clear_both1"><span></span></div>
|
61 |
+
</div>
|
62 |
+
<?php /*
|
63 |
+
<?php if($_description=$_category->getDescription()): ?>
|
64 |
+
<p class="category-description"><?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?></p>
|
65 |
+
<?php endif; ?>
|
66 |
+
*/ ?>
|
67 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
68 |
+
<?php elseif($this->isMixedMode()): ?>
|
69 |
+
<?php if($_imgHtml): ?>
|
70 |
+
<p><?php echo $_imgHtml?></p>
|
71 |
+
<?php endif; ?>
|
72 |
+
<div class="category-head">
|
73 |
+
<div class="left_head"><span></span></div>
|
74 |
+
<div class="center_head">
|
75 |
+
<?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
|
76 |
+
<a href="<?php echo $this->getRssLink() ?>" class="link-feed right"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
|
77 |
+
<?php endif; ?>
|
78 |
+
<h2><?php echo $_helper->categoryAttribute($_category, $this->htmlEscape($_category->getName()), 'name') ?></h2>
|
79 |
+
</div>
|
80 |
+
<div class="right_head"><span></span></div>
|
81 |
+
<div class="clear_both1"><span></span></div>
|
82 |
+
</div>
|
83 |
+
<?php /*
|
84 |
+
<?php if($_description=$_category->getDescription()): ?>
|
85 |
+
<p class="category-description"><?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?></p>
|
86 |
+
<?php endif; ?>
|
87 |
+
*/ ?>
|
88 |
+
<?php /*
|
89 |
+
<?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
|
90 |
+
<a href="<?php echo $this->getRssLink() ?>" class="link-feed"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
|
91 |
+
<?php endif; ?>
|
92 |
+
*/ ?>
|
93 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
94 |
+
<?php echo $this->getProductListHtml() ?>
|
95 |
+
|
96 |
+
<?php else: ?>
|
97 |
+
<?php if($_imgHtml): ?>
|
98 |
+
<p><?php echo $_imgHtml?></p>
|
99 |
+
<?php endif; ?>
|
100 |
+
<div class="category-head">
|
101 |
+
<div class="left_head"><span></span></div>
|
102 |
+
<div class="center_head">
|
103 |
+
<?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
|
104 |
+
<a href="<?php echo $this->getRssLink() ?>" class="link-feed right"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
|
105 |
+
<?php endif; ?>
|
106 |
+
<h2><?php echo $_helper->categoryAttribute($_category, $this->htmlEscape($_category->getName()), 'name') ?></h2>
|
107 |
+
</div>
|
108 |
+
<div class="right_head"><span></span></div>
|
109 |
+
<div class="clear_both1"><span></span></div>
|
110 |
+
</div>
|
111 |
+
<?php /*
|
112 |
+
<?php if($_description=$_category->getDescription()): ?>
|
113 |
+
<p class="category-description"><?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?></p>
|
114 |
+
<?php endif; ?>
|
115 |
+
*/ ?>
|
116 |
+
<?php echo $this->getProductListHtml() ?>
|
117 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/catalog/navigation/left.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Category left navigation
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Navigation
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php if (!Mage::registry('current_category')) return ?>
|
34 |
+
<?php $_categories=$this->getCurrentChildCategories() ?>
|
35 |
+
<?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
|
36 |
+
<?php if($_count): ?>
|
37 |
+
<div class="box layered-nav">
|
38 |
+
<div class="head">
|
39 |
+
<h3><?php echo $this->__('Browse By') ?></h3>
|
40 |
+
</div>
|
41 |
+
<div class="border-creator">
|
42 |
+
<div class="narrow-by">
|
43 |
+
<dl id="narrow-by-list">
|
44 |
+
<dt><?php echo $this->__('Category') ?></dt>
|
45 |
+
<dd>
|
46 |
+
<ol>
|
47 |
+
<?php foreach ($_categories as $_category): ?>
|
48 |
+
<?php if($_category->getIsActive()): ?>
|
49 |
+
<li>
|
50 |
+
<a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="active"<?php endif ?>><?php echo $this->htmlEscape($_category->getName()) ?></a> (<?php echo $_category->getProductCount() ?>)
|
51 |
+
</li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endforeach ?>
|
54 |
+
</ol>
|
55 |
+
</dd>
|
56 |
+
</dl><script type="text/javascript">decorateDataList('narrow-by-list')</script>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
<?php endif; ?>
|
61 |
+
<!-- [ends] .browse-by // -->
|
app/design/frontend/default/freepop/template/catalog/navigation/left_navigation.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_blank
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Left menu for store
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Navigation
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<div id="content-sub">
|
35 |
+
<?php
|
36 |
+
$_main_categories=$this->getStoreCategories();
|
37 |
+
foreach ($_main_categories as $_main_category):
|
38 |
+
if ($_main_category->getIsActive()) {
|
39 |
+
?>
|
40 |
+
<div id="categories" class="side-bar">
|
41 |
+
<h6 class="title"><a href="<?php echo $this->getCategoryUrl($_main_category)?>"><?php echo $_main_category->getName()?></a></h5>
|
42 |
+
<?php
|
43 |
+
$_sub_categories = $_main_category->getChildren();
|
44 |
+
?>
|
45 |
+
<div class="div_catelog">
|
46 |
+
<ul>
|
47 |
+
<?php foreach ($_sub_categories as $_sub_category):
|
48 |
+
if ($_sub_category->getIsActive()) {?>
|
49 |
+
<li><a href="<?php echo $this->getCategoryUrl($_sub_category)?>"><?php echo $_sub_category->getName()?></a></li>
|
50 |
+
<?php
|
51 |
+
}
|
52 |
+
endforeach;?>
|
53 |
+
</ul>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
<div class="bottom_box"></div>
|
57 |
+
<?php
|
58 |
+
}
|
59 |
+
endforeach;?>
|
60 |
+
|
61 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/navigation/top.phtml
ADDED
@@ -0,0 +1,44 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Top menu for store
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Navigation
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<div class="header-nav-container">
|
35 |
+
<div class="header-nav">
|
36 |
+
<h4 class="no-display"><?php echo $this->__('Category Navigation:') ?></h4>
|
37 |
+
<ul id="nav">
|
38 |
+
<?php foreach ($this->getStoreCategories() as $_category): ?>
|
39 |
+
<?php echo $this->drawItem($_category) ?>
|
40 |
+
<?php endforeach ?>
|
41 |
+
</ul>
|
42 |
+
</div>
|
43 |
+
<?php echo $this->getChildHtml('topLeftLinks') ?>
|
44 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/product/compare/list.phtml
ADDED
@@ -0,0 +1,126 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-head button-level">
|
28 |
+
<h3><?php echo $this->__('Compare Products') ?></h3>
|
29 |
+
<a href="#" class="link-print right" onclick="print();"><?php echo $this->__('Print This Page') ?></a>
|
30 |
+
</div>
|
31 |
+
<?php $_total=$this->getItems()->getSize() ?>
|
32 |
+
<?php if($_total): ?>
|
33 |
+
<div class="compare-products">
|
34 |
+
<table cellspacing="0" class="data-table box-table catalog-listing" id="product_comparison">
|
35 |
+
<?php if ($_total>2): ?>
|
36 |
+
<tbody class="remove-buttons">
|
37 |
+
<tr>
|
38 |
+
<?php $_i=0 ?>
|
39 |
+
<?php foreach($this->getItems() as $_item): ?>
|
40 |
+
<?php if($_i++%10==0): ?>
|
41 |
+
<td> </td>
|
42 |
+
<?php endif; ?>
|
43 |
+
<td><a href="#" onclick="setLocation('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');window.opener.location.reload();"><img src="<?php echo $this->getSkinUrl('images/chart_remove.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" /></a></td>
|
44 |
+
<?php endforeach; ?>
|
45 |
+
</tr>
|
46 |
+
</tbody>
|
47 |
+
<?php endif ?>
|
48 |
+
<tbody>
|
49 |
+
<tr class="first">
|
50 |
+
<?php $_i=0 ?>
|
51 |
+
<?php foreach($this->getItems() as $_item): ?>
|
52 |
+
<?php if($_i++%10==0): ?>
|
53 |
+
<td class="label"> </td>
|
54 |
+
<?php endif; ?>
|
55 |
+
<td>
|
56 |
+
<a href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
|
57 |
+
<h5><a href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h5>
|
58 |
+
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
|
59 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
60 |
+
<?php if($_item->isSaleable()): ?>
|
61 |
+
<button class="form-button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button><br/>
|
62 |
+
<?php else: ?>
|
63 |
+
<div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
66 |
+
<a href="#" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)" class="link-cart"><small><?php echo $this->__('Add to Wishlist') ?></small></a>
|
67 |
+
<?php endif; ?>
|
68 |
+
</td>
|
69 |
+
<?php endforeach; ?>
|
70 |
+
</tr>
|
71 |
+
</tbody>
|
72 |
+
<tbody>
|
73 |
+
<?php foreach ($this->getAttributes() as $_attribute): ?>
|
74 |
+
<tr>
|
75 |
+
<?php $_i=0 ?>
|
76 |
+
<?php foreach($this->getItems() as $_item): ?>
|
77 |
+
<?php if($_i++%10==0): ?>
|
78 |
+
<td class="label"><?php echo $this->__($_attribute->getFrontendLabel()) ?></td>
|
79 |
+
<?php endif; ?>
|
80 |
+
<td>
|
81 |
+
<?php switch ($_attribute->getAttributeCode()) {
|
82 |
+
case "price": ?>
|
83 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
84 |
+
<?php break;
|
85 |
+
case "small_image": ?>
|
86 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" />
|
87 |
+
<?php break;
|
88 |
+
default: ?>
|
89 |
+
<?php echo nl2br($this->getProductAttributeValue($_item, $_attribute)) ?>
|
90 |
+
<?php break;
|
91 |
+
} ?>
|
92 |
+
</td>
|
93 |
+
<?php endforeach; ?>
|
94 |
+
</tr>
|
95 |
+
<?php endforeach; ?>
|
96 |
+
</tbody>
|
97 |
+
<tbody class="attribute-cart">
|
98 |
+
<tr>
|
99 |
+
<?php $_i=0 ?>
|
100 |
+
<?php foreach($this->getItems() as $_item): ?>
|
101 |
+
<?php if($_i++%10==0): ?>
|
102 |
+
<td class="label"> </td>
|
103 |
+
<?php endif; ?>
|
104 |
+
<td>
|
105 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
106 |
+
<?php if($_item->isSaleable()): ?>
|
107 |
+
<button class="form-button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button><br/>
|
108 |
+
<?php else: ?>
|
109 |
+
<div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
|
110 |
+
<?php endif; ?>
|
111 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
112 |
+
<a href="#" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)" class="link-cart"><small><?php echo $this->__('Add to Wishlist') ?></small></a>
|
113 |
+
<?php endif; ?>
|
114 |
+
</td>
|
115 |
+
<?php endforeach; ?>
|
116 |
+
</tr>
|
117 |
+
</tbody>
|
118 |
+
</table>
|
119 |
+
<div class="button-set">
|
120 |
+
<button class="form-button" onclick="window.close();"><span><?php echo $this->__('Close Window') ?></span></button>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
+
<script type="text/javascript">decorateTable('product_comparison');</script>
|
124 |
+
<?php else: ?>
|
125 |
+
<script type="text/javascript">window.close();</script>
|
126 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/catalog/product/compare/sidebar.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="box base-mini mini-compare-products">
|
28 |
+
<div class="head">
|
29 |
+
<?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
|
30 |
+
<h4><?php echo Mage::helper('catalog')->__('Compare Products - %d Items', $this->helper('catalog/product_compare')->getItemCount()) ?></h4>
|
31 |
+
<?php else: ?>
|
32 |
+
<h4><?php echo Mage::helper('catalog')->__('Compare Products') ?></h4>
|
33 |
+
<?php endif; ?>
|
34 |
+
</div>
|
35 |
+
<div class="middle_box">
|
36 |
+
<?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
|
37 |
+
<ol id="compare-items">
|
38 |
+
<?php foreach($this->helper('catalog/product_compare')->getItemCollection() as $_index=>$_item): ?>
|
39 |
+
<li class="block-compare-item">
|
40 |
+
<input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
|
41 |
+
<a href="<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>" class="widget-btn"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo Mage::helper('catalog')->__('Remove This Item') ?>" onclick="return confirm('<?php echo Mage::helper('catalog')->__('Are you sure you would like to remove this item from the compare products?') ?>');" /></a>
|
42 |
+
<a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
|
43 |
+
</li>
|
44 |
+
<?php endforeach; ?>
|
45 |
+
</ol>
|
46 |
+
<script type="text/javascript">decorateList('compare-items')</script>
|
47 |
+
<div class="actions">
|
48 |
+
<a href="<?php echo $this->helper('catalog/product_compare')->getClearListUrl() ?>" class="left" onclick="return confirm('<?php echo Mage::helper('catalog')->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo Mage::helper('catalog')->__('Clear All') ?></a>
|
49 |
+
<button type="button" class="form-button-alt" onclick="popWin('<?php echo $this->helper('catalog/product_compare')->getListUrl() ?>','compare','width=800,height=600,resizable=yes,scrollbars=yes')"><span><?php echo Mage::helper('catalog')->__('Compare Items') ?></span></button>
|
50 |
+
</div>
|
51 |
+
<?php else: ?>
|
52 |
+
<div class="content"><p><?php echo Mage::helper('catalog')->__('You have no items to compare.') ?></p></div>
|
53 |
+
<?php endif; ?>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
<div class="bottom_box"><span></span></div>
|
app/design/frontend/default/freepop/template/catalog/product/gallery.phtml
ADDED
@@ -0,0 +1,57 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_width=$this->getImageWidth() ?>
|
28 |
+
<div style="width:<?php echo $_width; ?>px; margin:0 auto;">
|
29 |
+
<div class="a-right"><a href="#" onclick="window.close(); return false;"><?php echo $this->__('Close Window') ?></a></div>
|
30 |
+
<div class="a-center">
|
31 |
+
<?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
|
32 |
+
<a href="<?php echo $_prevUrl ?>" class="product-gallery-nav"><strong>« <?php echo $this->__('Prev') ?></strong></a>
|
33 |
+
<?php endif; ?>
|
34 |
+
<?php if($_nextUrl = $this->getNextImageUrl()): ?>
|
35 |
+
<a href="<?php echo $_nextUrl ?>" class="product-gallery-nav"><strong><?php echo $this->__('Next') ?> »</strong></a>
|
36 |
+
<?php endif; ?>
|
37 |
+
</div>
|
38 |
+
<div class="a-left"><?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?></div>
|
39 |
+
<img<?php if($_width): ?> width="<?php echo $_width ?>"<?php endif; ?> src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $this->getImageFile()); ?>" alt="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" title="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" id="product-gallery-image" style="display:block;" />
|
40 |
+
<div class="a-center">
|
41 |
+
<?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
|
42 |
+
<a href="<?php echo $_prevUrl ?>" class="product-gallery-nav"><strong>« <?php echo $this->__('Prev') ?></strong></a>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php if($_nextUrl = $this->getNextImageUrl()): ?>
|
45 |
+
<a href="<?php echo $_nextUrl ?>" class="product-gallery-nav"><strong><?php echo $this->__('Next') ?> »</strong></a>
|
46 |
+
<?php endif; ?>
|
47 |
+
</div>
|
48 |
+
<div class="a-right"><a href="#" onclick="window.close(); return false;"><?php echo $this->__('Close Window') ?></a></div>
|
49 |
+
</div>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
Event.observe(window, 'load', function(){
|
53 |
+
var demensions = $('product-gallery-image').getDimensions();
|
54 |
+
window.resizeTo(demensions.width+90, demensions.height+210);
|
55 |
+
});
|
56 |
+
//]]>
|
57 |
+
</script>
|
app/design/frontend/default/freepop/template/catalog/product/list.phtml
ADDED
@@ -0,0 +1,133 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_productCollection=$this->getLoadedProductCollection() ?>
|
35 |
+
<?php if(!$_productCollection->count()): ?>
|
36 |
+
<div class="note-msg">
|
37 |
+
<?php echo $this->__('There are no products matching the selection.') ?>
|
38 |
+
</div>
|
39 |
+
<?php else: ?>
|
40 |
+
|
41 |
+
<?php echo $this->getToolbarHtml() ?>
|
42 |
+
<?php // List mode ?>
|
43 |
+
<?php if($this->getMode()!='grid'): ?>
|
44 |
+
<?php $_iterator = 0; ?>
|
45 |
+
<div class="listing-type-list catalog-listing">
|
46 |
+
<?php foreach ($_productCollection as $_product): ?>
|
47 |
+
<div class="listing-item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
|
48 |
+
<?php // Product Image ?>
|
49 |
+
<div class="product-image">
|
50 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getSmallImageLabel()) ?>">
|
51 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(136, 191); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
|
52 |
+
</a>
|
53 |
+
</div>
|
54 |
+
|
55 |
+
<?php // Product description ?>
|
56 |
+
<div class="product-shop">
|
57 |
+
<h5><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName())?></a></h5>
|
58 |
+
<?php if($_product->getRatingSummary()): ?>
|
59 |
+
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
62 |
+
<?php if($_product->isSaleable()): ?>
|
63 |
+
<button class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
64 |
+
<?php else: ?>
|
65 |
+
<div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
|
66 |
+
<?php endif; ?>
|
67 |
+
<div class="clear"></div>
|
68 |
+
<div class="description">
|
69 |
+
<?php echo nl2br($_product->getShortDescription()) ?>
|
70 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><small><?php echo $this->__('Learn More') ?></small></a>
|
71 |
+
</div>
|
72 |
+
<?php /*
|
73 |
+
<p class="add-to">
|
74 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
75 |
+
<a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
|
76 |
+
<?php endif; ?>
|
77 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
78 |
+
<span class="pipe">|</span>
|
79 |
+
<a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
|
80 |
+
<?php endif; ?>
|
81 |
+
</p>
|
82 |
+
*/?>
|
83 |
+
</div>
|
84 |
+
</div>
|
85 |
+
<?php endforeach; ?>
|
86 |
+
</div>
|
87 |
+
|
88 |
+
<?php else: ?>
|
89 |
+
|
90 |
+
<?php // Grid Mode ?>
|
91 |
+
<div class="listing-type-grid catalog-listing">
|
92 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
93 |
+
<?php $_columnCount = $this->getColumnCount(); if ($_columnCount==0) $_columnCount = 3; ?>
|
94 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
95 |
+
<?php if($i++%$_columnCount==0): ?>
|
96 |
+
<ol class="grid-row">
|
97 |
+
<?php endif; ?>
|
98 |
+
<li class="item">
|
99 |
+
<p class="product-image">
|
100 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>">
|
101 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(136, 191); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
|
102 |
+
</a>
|
103 |
+
</p>
|
104 |
+
<h5><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h5>
|
105 |
+
<?php if($_product->getRatingSummary()): ?>
|
106 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
107 |
+
<?php endif; ?>
|
108 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
109 |
+
<?php if($_product->isSaleable()): ?>
|
110 |
+
<button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
111 |
+
<?php else: ?>
|
112 |
+
<div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
|
113 |
+
<?php endif; ?>
|
114 |
+
<?php /*
|
115 |
+
<p class="add-to">
|
116 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
117 |
+
<a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
|
118 |
+
<?php endif; ?>
|
119 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?><br/>
|
120 |
+
<a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
|
121 |
+
<?php endif; ?>
|
122 |
+
</p>
|
123 |
+
*/?>
|
124 |
+
</li>
|
125 |
+
<?php if($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
126 |
+
</ol>
|
127 |
+
<?php endif; ?>
|
128 |
+
<?php endforeach ?>
|
129 |
+
<script type="text/javascript">decorateGeneric($$('.grid-row'), ['last', 'odd', 'even']);</script>
|
130 |
+
</div>
|
131 |
+
<?php endif; ?>
|
132 |
+
<?php echo $this->getToolbarHtml() ?>
|
133 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/catalog/product/list/related.phtml
ADDED
@@ -0,0 +1,100 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getItems()->getSize()): ?>
|
28 |
+
<div class="box base-mini mini-related-items">
|
29 |
+
<div class="head">
|
30 |
+
<h4><?php echo $this->__('Related Products') ?></h4>
|
31 |
+
</div>
|
32 |
+
<div class="middle_box">
|
33 |
+
<div class="content">
|
34 |
+
<p><strong><?php echo $this->__('Check items to add to the cart or') ?> <a href="#" onclick="selectAllRelated(this);return false;"><?php echo $this->__('select all') ?></a></strong></p>
|
35 |
+
<ol>
|
36 |
+
<?php foreach($this->getItems() as $_item): ?>
|
37 |
+
<li<?php if($_item->isComposite() || !$_item->isSaleable()): ?> class="super-products"<?php endif; ?>>
|
38 |
+
<div class="product-images">
|
39 |
+
<?php if(!$_item->isComposite() && $_item->isSaleable()): ?>
|
40 |
+
<span class="checkbox-container">
|
41 |
+
<?php if (!$_item->getRequiredOptions()): ?>
|
42 |
+
<input type="checkbox" class="related-checkbox left" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
|
43 |
+
<?php endif; ?>
|
44 |
+
</span>
|
45 |
+
<?php else: ?>
|
46 |
+
<span class="checkbox-container"> </span>
|
47 |
+
<?php endif; ?>
|
48 |
+
<a href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" width="50" height="50" /></a>
|
49 |
+
</div>
|
50 |
+
<div class="product-details">
|
51 |
+
<a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
|
52 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
53 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
54 |
+
<a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
</li>
|
58 |
+
<?php endforeach ?>
|
59 |
+
</ol>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
<div class="bottom_box"><span></span></div>
|
64 |
+
<script type="text/javascript">
|
65 |
+
<!--
|
66 |
+
$$('.related-checkbox').each(function(elem){
|
67 |
+
Event.observe(elem, 'click', addRelatedToProduct)
|
68 |
+
});
|
69 |
+
|
70 |
+
var relatedProductsCheckFlag = false;
|
71 |
+
function selectAllRelated(txt){
|
72 |
+
if (relatedProductsCheckFlag == false) {
|
73 |
+
$$('.related-checkbox').each(function(elem){
|
74 |
+
elem.checked = true;
|
75 |
+
});
|
76 |
+
relatedProductsCheckFlag = true;
|
77 |
+
txt.innerHTML="<?php echo $this->__('unselect all') ?>";
|
78 |
+
} else {
|
79 |
+
$$('.related-checkbox').each(function(elem){
|
80 |
+
elem.checked = false;
|
81 |
+
});
|
82 |
+
relatedProductsCheckFlag = false;
|
83 |
+
txt.innerHTML="<?php echo $this->__('select all') ?>";
|
84 |
+
}
|
85 |
+
addRelatedToProduct();
|
86 |
+
}
|
87 |
+
|
88 |
+
function addRelatedToProduct(){
|
89 |
+
var checkboxes = $$('.related-checkbox');
|
90 |
+
var values = [];
|
91 |
+
for(var i=0;i<checkboxes.length;i++){
|
92 |
+
if(checkboxes[i].checked) values.push(checkboxes[i].value);
|
93 |
+
}
|
94 |
+
if($('related-products-field')){
|
95 |
+
$('related-products-field').value = values.join(',');
|
96 |
+
}
|
97 |
+
}
|
98 |
+
//-->
|
99 |
+
</script>
|
100 |
+
<?php endif ?>
|
app/design/frontend/default/freepop/template/catalog/product/list/toolbar.phtml
ADDED
@@ -0,0 +1,110 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list toolbar
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List_Toolbar
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getCollection()->getSize()): ?>
|
35 |
+
<table class="pager" cellspacing="0">
|
36 |
+
<tr>
|
37 |
+
<td>
|
38 |
+
<?php if($this->getLastPageNum()>1): ?>
|
39 |
+
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
40 |
+
<?php else: ?>
|
41 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
42 |
+
<?php endif; ?>
|
43 |
+
</td>
|
44 |
+
<?php if($this->getLastPageNum()>1): ?>
|
45 |
+
<td class="pages">
|
46 |
+
<strong><?php echo $this->__('Page:') ?></strong>
|
47 |
+
<ol>
|
48 |
+
<?php if (!$this->isFirstPage()): ?>
|
49 |
+
<li><a href="<?php echo $this->getPreviousPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" /></a></li>
|
50 |
+
<?php endif ?>
|
51 |
+
<?php foreach ($this->getPages() as $_page): ?>
|
52 |
+
<?php if ($this->isPageCurrent($_page)): ?>
|
53 |
+
<li><span class="on"><?php echo $_page ?></span></li>
|
54 |
+
<?php else: ?>
|
55 |
+
<li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
|
56 |
+
<?php endif ?>
|
57 |
+
<?php endforeach;; ?>
|
58 |
+
<?php if (!$this->isLastPage()): ?>
|
59 |
+
<li><a href="<?php echo $this->getNextPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" /></a></li>
|
60 |
+
<?php endif ?>
|
61 |
+
</ol>
|
62 |
+
</td>
|
63 |
+
<?php endif; ?>
|
64 |
+
<td class="a-right">
|
65 |
+
<?php echo $this->__('Show') ?> <select onchange="setLocation(this.value)">
|
66 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
67 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
68 |
+
<?php echo $_limit ?>
|
69 |
+
</option>
|
70 |
+
<?php endforeach; ?>
|
71 |
+
</select> <?php echo $this->__('per page') ?>
|
72 |
+
</td>
|
73 |
+
</tr>
|
74 |
+
</table>
|
75 |
+
<?php if( $this->isExpanded() ): ?>
|
76 |
+
<table class="view-by" cellspacing="0">
|
77 |
+
<tr>
|
78 |
+
<?php if( $this->isEnabledViewSwitcher() ): ?>
|
79 |
+
<td>
|
80 |
+
<?php $_modes = $this->getModes(); ?>
|
81 |
+
<?php if($_modes && count($_modes)>1): ?>
|
82 |
+
<?php echo $this->__('View as') ?>:
|
83 |
+
<?php foreach ($this->getModes() as $_code=>$_label): ?>
|
84 |
+
<?php if($this->isModeActive($_code)): ?>
|
85 |
+
<strong><?php echo $_label ?></strong>
|
86 |
+
<?php else: ?>
|
87 |
+
<a href="<?php echo $this->getModeUrl($_code) ?>"><?php echo $_label ?></a>
|
88 |
+
<?php endif; ?>
|
89 |
+
<?php endforeach; ?>
|
90 |
+
<?php endif; ?>
|
91 |
+
</td>
|
92 |
+
<?php endif; ?>
|
93 |
+
<td class="sort-by">
|
94 |
+
<?php echo $this->__('Sort by') ?> <select onchange="setLocation(this.value)">
|
95 |
+
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
96 |
+
<option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
|
97 |
+
<?php echo $_order ?>
|
98 |
+
</option>
|
99 |
+
<?php endforeach; ?>
|
100 |
+
</select>
|
101 |
+
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
102 |
+
<a href="<?php echo $this->getOrderUrl(null, 'asc') ?>"><img src="<?php echo $this->getSkinUrl('images/sort_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
|
103 |
+
<?php else: ?>
|
104 |
+
<a href="<?php echo $this->getOrderUrl(null, 'desc') ?>"><img src="<?php echo $this->getSkinUrl('images/sort_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
|
105 |
+
<?php endif; ?>
|
106 |
+
</td>
|
107 |
+
</tr>
|
108 |
+
</table>
|
109 |
+
<?php endif; ?>
|
110 |
+
<?php endif ?>
|
app/design/frontend/default/freepop/template/catalog/product/list/upsell.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if(count($this->getItemCollection()->getItems())): ?>
|
28 |
+
<div class="collateral-box up-sell">
|
29 |
+
<div class="head"><h4><?php echo $this->__('You may also be interested in the following product(s)') ?></h4></div>
|
30 |
+
<table cellspacing="0" class="generic-product-grid catalog-listing" id="upsell-product-table">
|
31 |
+
<?php $this->setColumnCount(4); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
|
32 |
+
<?php $this->resetItemsIterator() ?>
|
33 |
+
<?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
|
34 |
+
<tr>
|
35 |
+
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
36 |
+
<?php if($_link=$this->getIterableItem()): ?>
|
37 |
+
<td>
|
38 |
+
<p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(136,192) ?>" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
|
39 |
+
<?php /* <h5><a href="<?php echo $_link->getProductUrl() ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5> */?>
|
40 |
+
<?php echo $this->getPriceHtml($_link, true) ?>
|
41 |
+
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
42 |
+
</td>
|
43 |
+
<?php else: ?>
|
44 |
+
<td class="empty-product"> </td>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php endfor; ?>
|
47 |
+
</tr>
|
48 |
+
<?php endfor; ?>
|
49 |
+
</table>
|
50 |
+
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
51 |
+
</div>
|
52 |
+
<?php endif ?>
|
app/design/frontend/default/freepop/template/catalog/product/new.phtml
ADDED
@@ -0,0 +1,63 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 default_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<div class="box recently">
|
29 |
+
<h3><?php echo $this->__('New Products') ?></h3>
|
30 |
+
<table cellspacing="0" class="recently-list" id="new-products-list-table">
|
31 |
+
<tr>
|
32 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
33 |
+
<?php if ($i>=4): continue; endif; ?>
|
34 |
+
<td>
|
35 |
+
<div>
|
36 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><img class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80, 77) ?>" width="80" height="77" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
|
37 |
+
</div>
|
38 |
+
<p><a class="product-name" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>)"><?php echo $this->htmlEscape($_product->getName()) ?></a></p>
|
39 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
40 |
+
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
41 |
+
<?php if($_product->isSaleable()): ?>
|
42 |
+
<button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
43 |
+
<?php else: ?>
|
44 |
+
<div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
|
45 |
+
<?php endif; ?>
|
46 |
+
<div class="clear"></div>
|
47 |
+
<p class="add-to">
|
48 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
49 |
+
<a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?><br />
|
52 |
+
<a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
|
53 |
+
<?php endif; ?>
|
54 |
+
</p>
|
55 |
+
</td>
|
56 |
+
<?php $i++; endforeach; ?>
|
57 |
+
<?php for($i;$i%5!=0;$i++): ?>
|
58 |
+
<td> </td>
|
59 |
+
<?php endfor ?>
|
60 |
+
</tr>
|
61 |
+
</table>
|
62 |
+
</div>
|
63 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/catalog/product/newmovies.phtml
ADDED
@@ -0,0 +1,105 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
//{{block type="core/template" show_total="4" name="product_featured" as="product_featured" template="catalog/product/featured.phtml}}
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
+
$totalPerPage = ($this->show_total) ? $this->show_total : 4;
|
7 |
+
$visibility = array(
|
8 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
|
9 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
|
10 |
+
);
|
11 |
+
|
12 |
+
$storeId = Mage::app()->getStore()->getId();
|
13 |
+
|
14 |
+
$_productCollection = Mage::getResourceModel('reports/product_collection')
|
15 |
+
->addAttributeToSelect('*')
|
16 |
+
->setStoreId($storeId)
|
17 |
+
->addStoreFilter($storeId)
|
18 |
+
->addAttributeToFilter('visibility', $visibility)
|
19 |
+
->setOrder('created_at', 'desc')
|
20 |
+
->addAttributeToSelect('status')
|
21 |
+
->setPageSize($totalPerPage);
|
22 |
+
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($_productCollection);
|
23 |
+
Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($_productCollection);
|
24 |
+
Mage::getSingleton('catalog/product_visibility')->addVisibleInSearchFilterToCollection($_productCollection);
|
25 |
+
|
26 |
+
|
27 |
+
// // if product is part of configurable product get first parent product
|
28 |
+
// $junkProducts = new Varien_Data_Collection();
|
29 |
+
// foreach ($_productCollection as $k => $p) {
|
30 |
+
// $p = $p->loadParentProductIds();
|
31 |
+
// $parentIds = $p->getData('parent_product_ids');
|
32 |
+
// if (is_array($parentIds) && !empty($parentIds)) {
|
33 |
+
// if (!$junkProducts->getItemById($parentIds[0])) {
|
34 |
+
// $parentProduct = Mage::getModel('catalog/product')->setStoreId($storeId)->load($parentIds[0]);
|
35 |
+
// if ($parentProduct->isVisibleInCatalog()) {
|
36 |
+
// $junkProducts->addItem($parentProduct);
|
37 |
+
// }
|
38 |
+
// }
|
39 |
+
// } else {
|
40 |
+
// if (!$junkProducts->getItemById($k)) {
|
41 |
+
// $junkProducts->addItem($p);
|
42 |
+
// }
|
43 |
+
// }
|
44 |
+
// }
|
45 |
+
// $_productCollection = $junkProducts;
|
46 |
+
// //end if product is part of configurable product get first parent product
|
47 |
+
?>
|
48 |
+
<div class="product_head addbg">
|
49 |
+
<h2>New Movies </h2>
|
50 |
+
</div>
|
51 |
+
<div class="product_body" >
|
52 |
+
<div class="product_body_top" ><span></span></div>
|
53 |
+
<div class="product_body_middle" >
|
54 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
55 |
+
<table cellspacing="0" class="generic-product-grid" id="product-list-table">
|
56 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
57 |
+
<?php if ($i++%4==0): ?>
|
58 |
+
<tr>
|
59 |
+
<?php endif ?>
|
60 |
+
<td>
|
61 |
+
<?php /* <h5 class="icon_bg"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h5>
|
62 |
+
*/?>
|
63 |
+
<p class="product-image">
|
64 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>">
|
65 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(113, 167); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
|
66 |
+
</a>
|
67 |
+
</p>
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
<?php /*
|
72 |
+
<div class="more_info_01">
|
73 |
+
<?php if ($_product->getSpecialPrice()>0):?>
|
74 |
+
<span class="old"><?php echo $this->helper('checkout')->formatPrice($_product->getPrice()) ?></span>
|
75 |
+
<span class="new"><?php echo $this->helper('checkout')->formatPrice($_product->getSpecialPrice()) ?></span>
|
76 |
+
<?php else: ?>
|
77 |
+
<span class="new"><?php echo $this->helper('checkout')->formatPrice($_product->getPrice()) ?></span>
|
78 |
+
<?php endif; ?>
|
79 |
+
</div>
|
80 |
+
<div style="display:none;"> <?php echo $_product->getShortDescription() ?></div>
|
81 |
+
<p class="more_info"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">More info</a></p>
|
82 |
+
<button type="button" class="form-button" onclick="setLocation('<?php echo Mage::helper('checkout/cart')->getAddUrl($_product);?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
83 |
+
</p>
|
84 |
+
</div>
|
85 |
+
*/?>
|
86 |
+
<div class="clear"></div>
|
87 |
+
|
88 |
+
</td>
|
89 |
+
<?php if ($i%4==0 && $i!=$_collectionSize): ?>
|
90 |
+
</tr>
|
91 |
+
<?php endif ?>
|
92 |
+
<?php endforeach ?>
|
93 |
+
<?php for($i;$i%4!=0;$i++): ?>
|
94 |
+
<td class="empty-product"> </td>
|
95 |
+
<?php endfor ?>
|
96 |
+
<?php if ($i%4==0): ?>
|
97 |
+
</tr>
|
98 |
+
<?php endif ?>
|
99 |
+
</table>
|
100 |
+
<script type="text/javascript">decorateTable('product-list-table')</script>
|
101 |
+
<p class="view_more"><a href=""> > View More</a>
|
102 |
+
</p>
|
103 |
+
</div>
|
104 |
+
<div class="product_body_bottom" ><span></span></div>
|
105 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/product/newmusic.phtml
ADDED
@@ -0,0 +1,102 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
//{{block type="core/template" show_total="4" name="product_featured" as="product_featured" template="catalog/product/featured.phtml}}
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
+
$totalPerPage = ($this->show_total) ? $this->show_total : 4;
|
7 |
+
$visibility = array(
|
8 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
|
9 |
+
Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
|
10 |
+
);
|
11 |
+
|
12 |
+
$storeId = Mage::app()->getStore()->getId();
|
13 |
+
|
14 |
+
$_productCollection = Mage::getResourceModel('reports/product_collection')
|
15 |
+
->addAttributeToSelect('*')
|
16 |
+
->setStoreId($storeId)
|
17 |
+
->addStoreFilter($storeId)
|
18 |
+
->addAttributeToFilter('visibility', $visibility)
|
19 |
+
->setOrder('created_at', 'desc')
|
20 |
+
->addAttributeToSelect('status')
|
21 |
+
->setPageSize($totalPerPage);
|
22 |
+
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($_productCollection);
|
23 |
+
Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($_productCollection);
|
24 |
+
Mage::getSingleton('catalog/product_visibility')->addVisibleInSearchFilterToCollection($_productCollection);
|
25 |
+
|
26 |
+
|
27 |
+
// // if product is part of configurable product get first parent product
|
28 |
+
// $junkProducts = new Varien_Data_Collection();
|
29 |
+
// foreach ($_productCollection as $k => $p) {
|
30 |
+
// $p = $p->loadParentProductIds();
|
31 |
+
// $parentIds = $p->getData('parent_product_ids');
|
32 |
+
// if (is_array($parentIds) && !empty($parentIds)) {
|
33 |
+
// if (!$junkProducts->getItemById($parentIds[0])) {
|
34 |
+
// $parentProduct = Mage::getModel('catalog/product')->setStoreId($storeId)->load($parentIds[0]);
|
35 |
+
// if ($parentProduct->isVisibleInCatalog()) {
|
36 |
+
// $junkProducts->addItem($parentProduct);
|
37 |
+
// }
|
38 |
+
// }
|
39 |
+
// } else {
|
40 |
+
// if (!$junkProducts->getItemById($k)) {
|
41 |
+
// $junkProducts->addItem($p);
|
42 |
+
// }
|
43 |
+
// }
|
44 |
+
// }
|
45 |
+
// $_productCollection = $junkProducts;
|
46 |
+
// //end if product is part of configurable product get first parent product
|
47 |
+
?>
|
48 |
+
<div class="product_head">
|
49 |
+
<h2>New Musics</h2>
|
50 |
+
</div>
|
51 |
+
<div class="product_body" >
|
52 |
+
<div class="product_body_top" ><span></span></div>
|
53 |
+
<div class="product_body_middle" >
|
54 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
55 |
+
<table cellspacing="0" class="generic-product-grid" id="product-list-table">
|
56 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
57 |
+
<?php if ($i++%4==0): ?>
|
58 |
+
<tr>
|
59 |
+
<?php endif ?>
|
60 |
+
<td>
|
61 |
+
<?php /* <h5 class="icon_bg"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h5>
|
62 |
+
*/?>
|
63 |
+
<p class="product-image">
|
64 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>">
|
65 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(113, 167); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
|
66 |
+
</a>
|
67 |
+
</p>
|
68 |
+
<?php /*
|
69 |
+
<div class="more_info_01">
|
70 |
+
<?php if ($_product->getSpecialPrice()>0):?>
|
71 |
+
<span class="old"><?php echo $this->helper('checkout')->formatPrice($_product->getPrice()) ?></span>
|
72 |
+
<span class="new"><?php echo $this->helper('checkout')->formatPrice($_product->getSpecialPrice()) ?></span>
|
73 |
+
<?php else: ?>
|
74 |
+
<span class="new"><?php echo $this->helper('checkout')->formatPrice($_product->getPrice()) ?></span>
|
75 |
+
<?php endif; ?>
|
76 |
+
</div>
|
77 |
+
<div style="display:none;"> <?php echo $_product->getShortDescription() ?></div>
|
78 |
+
<p class="more_info"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">More info</a></p>
|
79 |
+
<button type="button" class="form-button" onclick="setLocation('<?php echo Mage::helper('checkout/cart')->getAddUrl($_product);?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
80 |
+
</p>
|
81 |
+
</div>
|
82 |
+
*/?>
|
83 |
+
<div class="clear"></div>
|
84 |
+
|
85 |
+
</td>
|
86 |
+
<?php if ($i%4==0 && $i!=$_collectionSize): ?>
|
87 |
+
</tr>
|
88 |
+
<?php endif ?>
|
89 |
+
<?php endforeach ?>
|
90 |
+
<?php for($i;$i%4!=0;$i++): ?>
|
91 |
+
<td class="empty-product"> </td>
|
92 |
+
<?php endfor ?>
|
93 |
+
<?php if ($i%4==0): ?>
|
94 |
+
</tr>
|
95 |
+
<?php endif ?>
|
96 |
+
</table>
|
97 |
+
<script type="text/javascript">decorateTable('product-list-table')</script>
|
98 |
+
<p class="view_more"><a href=""> > View More</a>
|
99 |
+
</p>
|
100 |
+
</div>
|
101 |
+
<div class="product_body_bottom" ><span></span></div>
|
102 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/product/price.phtml
ADDED
@@ -0,0 +1,418 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price in different places (products grid, product view page etc)
|
31 |
+
*
|
32 |
+
* @see Mage_Catalog_Block_Product_Abstract
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_coreHelper = $this->helper('core');
|
37 |
+
$_weeeHelper = $this->helper('weee');
|
38 |
+
$_taxHelper = $this->helper('tax');
|
39 |
+
/* @var $_coreHelper Mage_Core_Helper_Data */
|
40 |
+
/* @var $_weeeHelper Mage_Weee_Helper_Data */
|
41 |
+
/* @var $_taxHelper Mage_Tax_Helper_Data */
|
42 |
+
|
43 |
+
$_product = $this->getProduct();
|
44 |
+
$_id = $_product->getId();
|
45 |
+
$_weeeSeparator = '';
|
46 |
+
$_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
|
47 |
+
$_minimalPriceValue = $_product->getMinimalPrice();
|
48 |
+
$_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
|
49 |
+
?>
|
50 |
+
|
51 |
+
<?php if (!$_product->isGrouped()): ?>
|
52 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
|
53 |
+
<?php if ($_weeeHelper->typeOfDisplay($_product, array(1,2,4))): ?>
|
54 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmount($_product); ?>
|
55 |
+
<?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForDisplay($_product); ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
|
58 |
+
<div class="price-box">
|
59 |
+
<?php $_price = $_taxHelper->getPrice($_product, $_product->getPrice()) ?>
|
60 |
+
<?php $_regularPrice = $_taxHelper->getPrice($_product, $_product->getPrice(), $_simplePricesTax) ?>
|
61 |
+
<?php $_finalPrice = $_taxHelper->getPrice($_product, $_product->getFinalPrice()) ?>
|
62 |
+
<?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true) ?>
|
63 |
+
<?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
|
64 |
+
<?php if ($_finalPrice == $_price): ?>
|
65 |
+
<?php if ($_taxHelper->displayBothPrices() && $_finalPriceInclTax != $_finalPrice): ?>
|
66 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
67 |
+
<span class="price-excluding-tax">
|
68 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
69 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
70 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
71 |
+
</span>
|
72 |
+
</span>
|
73 |
+
<span class="price-including-tax">
|
74 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
75 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
76 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
77 |
+
</span>
|
78 |
+
</span>
|
79 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
80 |
+
<span class="price-excluding-tax">
|
81 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
82 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
83 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
84 |
+
</span>
|
85 |
+
</span>
|
86 |
+
<span class="price-including-tax">
|
87 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
88 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
89 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
90 |
+
</span>
|
91 |
+
<br />
|
92 |
+
<span class="weee">(<small>
|
93 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
94 |
+
<?php echo $_weeeSeparator; ?>
|
95 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>:
|
96 |
+
<?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
97 |
+
<?php $_weeeSeparator = ' + '; ?>
|
98 |
+
<?php endforeach; ?>
|
99 |
+
</small>)</span>
|
100 |
+
</span>
|
101 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
102 |
+
<span class="price-excluding-tax">
|
103 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
104 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
105 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
106 |
+
</span>
|
107 |
+
</span>
|
108 |
+
<span class="price-including-tax">
|
109 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
110 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
111 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
112 |
+
</span>
|
113 |
+
<br />
|
114 |
+
<span class="weee">(<small>
|
115 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
116 |
+
<?php echo $_weeeSeparator; ?>
|
117 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
118 |
+
<?php $_weeeSeparator = ' + '; ?>
|
119 |
+
<?php endforeach; ?>
|
120 |
+
</small>)</span>
|
121 |
+
</span>
|
122 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
123 |
+
<span class="price-excluding-tax">
|
124 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
125 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
126 |
+
<?php echo $_coreHelper->currency($_price,true,false) ?>
|
127 |
+
</span>
|
128 |
+
</span>
|
129 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
130 |
+
<span class="weee">
|
131 |
+
<small>
|
132 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
133 |
+
</small>
|
134 |
+
</span>
|
135 |
+
<br />
|
136 |
+
<?php endforeach; ?>
|
137 |
+
<span class="price-including-tax">
|
138 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
139 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
140 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
141 |
+
</span>
|
142 |
+
</span>
|
143 |
+
<?php else: ?>
|
144 |
+
<span class="price-excluding-tax">
|
145 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
146 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
147 |
+
<?php echo $_coreHelper->currency($_price,true,false) ?>
|
148 |
+
</span>
|
149 |
+
</span>
|
150 |
+
<span class="price-including-tax">
|
151 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
152 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
153 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
|
154 |
+
</span>
|
155 |
+
</span>
|
156 |
+
<?php endif; ?>
|
157 |
+
<?php else: ?>
|
158 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
159 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
160 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
161 |
+
</span>
|
162 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
163 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
164 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
165 |
+
</span>
|
166 |
+
<br />
|
167 |
+
<span class="weee">(<small>
|
168 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
169 |
+
<?php echo $_weeeSeparator; ?>
|
170 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
171 |
+
<?php $_weeeSeparator = ' + '; ?>
|
172 |
+
<?php endforeach; ?>
|
173 |
+
</small>)</span>
|
174 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
175 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
176 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
177 |
+
</span>
|
178 |
+
<br />
|
179 |
+
<span class="weee">(<small>
|
180 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
181 |
+
<?php echo $_weeeSeparator; ?>
|
182 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
183 |
+
<?php $_weeeSeparator = ' + '; ?>
|
184 |
+
<?php endforeach; ?>
|
185 |
+
</small>)</span>
|
186 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
187 |
+
<span class="regular-price"><?php echo $_coreHelper->currency($_price,true,true) ?></span><br />
|
188 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
189 |
+
<span class="weee">
|
190 |
+
<small>
|
191 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
192 |
+
</small>
|
193 |
+
</span>
|
194 |
+
<br />
|
195 |
+
<?php endforeach; ?>
|
196 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
197 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
198 |
+
</span>
|
199 |
+
<?php else: ?>
|
200 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
201 |
+
<?php echo $_coreHelper->currency($_price,true,true) ?>
|
202 |
+
</span>
|
203 |
+
<?php endif; ?>
|
204 |
+
<?php endif; ?>
|
205 |
+
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
206 |
+
<?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
|
207 |
+
|
208 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
209 |
+
<p class="old-price">
|
210 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
211 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
212 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
213 |
+
</span>
|
214 |
+
</p>
|
215 |
+
|
216 |
+
<?php if ($_taxHelper->displayBothPrices() && $_finalPriceInclTax != $_finalPrice): ?>
|
217 |
+
<p class="special-price">
|
218 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
219 |
+
<span class="price-excluding-tax">
|
220 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
221 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
222 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
223 |
+
</span>
|
224 |
+
</span>
|
225 |
+
<span class="price-including-tax">
|
226 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
227 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
228 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
229 |
+
</span>
|
230 |
+
</span>
|
231 |
+
</p>
|
232 |
+
<?php else: ?>
|
233 |
+
<p class="special-price">
|
234 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
235 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
236 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
237 |
+
</span>
|
238 |
+
</p>
|
239 |
+
<?php endif; ?>
|
240 |
+
|
241 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
242 |
+
<p class="old-price">
|
243 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
244 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
245 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
246 |
+
</span>
|
247 |
+
</p>
|
248 |
+
|
249 |
+
<p class="special-price">
|
250 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
251 |
+
<span class="price-excluding-tax">
|
252 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
253 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
254 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
255 |
+
</span>
|
256 |
+
</span>
|
257 |
+
<span class="weee">(<small>
|
258 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
259 |
+
<?php echo $_weeeSeparator; ?>
|
260 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
261 |
+
<?php $_weeeSeparator = ' + '; ?>
|
262 |
+
<?php endforeach; ?>
|
263 |
+
</small>)</span>
|
264 |
+
<span class="price-including-tax">
|
265 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
266 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
267 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
268 |
+
</span>
|
269 |
+
</span>
|
270 |
+
</p>
|
271 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
272 |
+
<p class="old-price">
|
273 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
274 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
275 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
276 |
+
</span>
|
277 |
+
</p>
|
278 |
+
|
279 |
+
<p class="special-price">
|
280 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
281 |
+
<span class="price-excluding-tax">
|
282 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
283 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
284 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
285 |
+
</span>
|
286 |
+
</span>
|
287 |
+
<span class="weee">(<small>
|
288 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
289 |
+
<?php echo $_weeeSeparator; ?>
|
290 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
291 |
+
<?php $_weeeSeparator = ' + '; ?>
|
292 |
+
<?php endforeach; ?>
|
293 |
+
</small>)</span>
|
294 |
+
<span class="price-including-tax">
|
295 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
296 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
297 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
298 |
+
</span>
|
299 |
+
</span>
|
300 |
+
</p>
|
301 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
302 |
+
<p class="old-price">
|
303 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
304 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
305 |
+
<?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
|
306 |
+
</span>
|
307 |
+
</p>
|
308 |
+
|
309 |
+
<p class="special-price">
|
310 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
311 |
+
<span class="price-excluding-tax">
|
312 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
313 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
314 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
315 |
+
</span>
|
316 |
+
</span>
|
317 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
318 |
+
<span class="weee">
|
319 |
+
<small>
|
320 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
321 |
+
</small>
|
322 |
+
</span>
|
323 |
+
<br />
|
324 |
+
<?php endforeach; ?>
|
325 |
+
<span class="price-including-tax">
|
326 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
327 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
328 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
329 |
+
</span>
|
330 |
+
</span>
|
331 |
+
</p>
|
332 |
+
<?php else: // excl. ?>
|
333 |
+
<p class="old-price">
|
334 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
335 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
336 |
+
<?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
|
337 |
+
</span>
|
338 |
+
</p>
|
339 |
+
|
340 |
+
<?php if ($_taxHelper->displayBothPrices() && $_finalPriceInclTax != $_finalPrice): ?>
|
341 |
+
<p class="special-price">
|
342 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
343 |
+
<span class="price-excluding-tax">
|
344 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
345 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
346 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
347 |
+
</span>
|
348 |
+
</span>
|
349 |
+
<span class="price-including-tax">
|
350 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
351 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
352 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
|
353 |
+
</span>
|
354 |
+
</span>
|
355 |
+
</p>
|
356 |
+
<?php else: ?>
|
357 |
+
<p class="special-price">
|
358 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
359 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
360 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
361 |
+
</span>
|
362 |
+
</p>
|
363 |
+
<?php endif; ?>
|
364 |
+
<?php endif; ?>
|
365 |
+
|
366 |
+
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
367 |
+
|
368 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
|
369 |
+
|
370 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
371 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
372 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice+$_weeeTaxAmount; ?>
|
373 |
+
<?php endif; ?>
|
374 |
+
|
375 |
+
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
|
376 |
+
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
377 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
378 |
+
<?php echo $_coreHelper->currency($_minimalPriceDisplayValue,true,false) ?>
|
379 |
+
</span>
|
380 |
+
</a>
|
381 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
382 |
+
</div>
|
383 |
+
|
384 |
+
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
385 |
+
<?php
|
386 |
+
$_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = null);
|
387 |
+
$_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = true);
|
388 |
+
?>
|
389 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
|
390 |
+
<div class="price-box">
|
391 |
+
<span class="label"><?php echo $this->__('Starting at:') ?></span>
|
392 |
+
<?php if ($_taxHelper->displayBothPrices() && ($_exclTax !== $_inclTax)): ?>
|
393 |
+
<span class="price-excluding-tax">
|
394 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
395 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
396 |
+
<?php echo $_coreHelper->currency($_exclTax, true, false) ?>
|
397 |
+
</span>
|
398 |
+
</span>
|
399 |
+
<span class="price-including-tax">
|
400 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
401 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
402 |
+
<?php echo $_coreHelper->currency($_inclTax, true, false) ?>
|
403 |
+
</span>
|
404 |
+
</span>
|
405 |
+
<?php else: ?>
|
406 |
+
<?php
|
407 |
+
$_showPrice = $_inclTax;
|
408 |
+
if (!$_taxHelper->displayPriceIncludingTax()) {
|
409 |
+
$_showPrice = $_exclTax;
|
410 |
+
}
|
411 |
+
?>
|
412 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
413 |
+
<?php echo $_coreHelper->currency($_showPrice, true, false) ?>
|
414 |
+
</span>
|
415 |
+
<?php endif; ?>
|
416 |
+
</div>
|
417 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
418 |
+
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
app/design/frontend/default/freepop/template/catalog/product/view.phtml
ADDED
@@ -0,0 +1,134 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product view template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View
|
31 |
+
* @see Mage_Review_Block_Product_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$_helper = $this->helper('catalog/output');
|
36 |
+
$_product = $this->getProduct();
|
37 |
+
?>
|
38 |
+
<script type="text/javascript">
|
39 |
+
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
40 |
+
</script>
|
41 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
42 |
+
<div class="product-info-box">
|
43 |
+
<div class="product-essential">
|
44 |
+
<form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
45 |
+
|
46 |
+
<div class="product-img-box">
|
47 |
+
<?php echo $this->getChildHtml('media') ?>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<div class="product-shop">
|
51 |
+
<h3 class="product-name">
|
52 |
+
<?php echo $_helper->productAttribute($_product, $this->htmlEscape($_product->getName()), 'name') ?>
|
53 |
+
</h3>
|
54 |
+
|
55 |
+
<?php if ($this->canEmailToFriend()): ?>
|
56 |
+
<a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a><br />
|
57 |
+
<?php endif; ?>
|
58 |
+
|
59 |
+
<?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
|
60 |
+
|
61 |
+
<fieldset class="no-display">
|
62 |
+
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
63 |
+
<input type="hidden" name="related_product" id="related-products-field" value="" />
|
64 |
+
</fieldset>
|
65 |
+
|
66 |
+
<?php echo $this->getChildHtml('alert_urls') ?>
|
67 |
+
<?php echo $this->getChildHtml('product_type_data') ?>
|
68 |
+
<?php echo $this->getTierPriceHtml() ?>
|
69 |
+
<div class="add_out">
|
70 |
+
<?php if (!$this->hasOptions()):?>
|
71 |
+
<div class="add-to-holder">
|
72 |
+
<?php if($_product->isSaleable()): ?>
|
73 |
+
<?php echo $this->getChildHtml('addtocart') ?>
|
74 |
+
<?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
|
75 |
+
<span class="add-or"><?php echo $this->__('OR') ?></span>
|
76 |
+
<?php endif; ?>
|
77 |
+
<?php endif; ?>
|
78 |
+
<?php echo $this->getChildHtml('addto') ?>
|
79 |
+
</div>
|
80 |
+
<?php else:?>
|
81 |
+
<?php echo $this->getChildHtml('addto') ?>
|
82 |
+
|
83 |
+
<?php endif; ?>
|
84 |
+
</div>
|
85 |
+
|
86 |
+
|
87 |
+
<?php if ($_product->getShortDescription()):?>
|
88 |
+
<h4 class="over"><?php echo $this->__('Quick Overview') ?></h4>
|
89 |
+
<div class="short-description"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
|
90 |
+
<?php endif;?>
|
91 |
+
|
92 |
+
<?php echo $this->getChildHtml('other');?>
|
93 |
+
|
94 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
95 |
+
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
|
96 |
+
<?php endif;?>
|
97 |
+
|
98 |
+
</div>
|
99 |
+
<div class="clear"></div>
|
100 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
101 |
+
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
|
102 |
+
<?php endif;?>
|
103 |
+
</form>
|
104 |
+
<script type="text/javascript">
|
105 |
+
var productAddToCartForm = new VarienForm('product_addtocart_form');
|
106 |
+
productAddToCartForm.submit = function(){
|
107 |
+
if (this.validator.validate()) {
|
108 |
+
this.form.submit();
|
109 |
+
}
|
110 |
+
}.bind(productAddToCartForm);
|
111 |
+
</script>
|
112 |
+
</div>
|
113 |
+
|
114 |
+
<div class="product-collateral">
|
115 |
+
<?php if ($_description = $this->getChildHtml('description')):?>
|
116 |
+
<div class="collateral-box">
|
117 |
+
<div class="head">
|
118 |
+
<h4><?php echo $this->__('Product Description') ?></h4>
|
119 |
+
</div>
|
120 |
+
<?php echo $_description ?>
|
121 |
+
</div>
|
122 |
+
<?php endif;?>
|
123 |
+
<?php if ($_additional = $this->getChildHtml('additional')):?>
|
124 |
+
<div class="collateral-box">
|
125 |
+
<div class="head">
|
126 |
+
<h4><?php echo $this->__('Additional Information') ?></h4>
|
127 |
+
</div>
|
128 |
+
<?php echo $_additional ?>
|
129 |
+
</div>
|
130 |
+
<?php endif;?>
|
131 |
+
<?php echo $this->getChildHtml('upsell_products') ?>
|
132 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
133 |
+
</div>
|
134 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/product/view/additional.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php foreach ($this->getChildHtmlList() as $_html): ?>
|
28 |
+
<div class="collateral-box">
|
29 |
+
<?php echo $_html ?>
|
30 |
+
</div>
|
31 |
+
<?php endforeach; ?>
|
app/design/frontend/default/freepop/template/catalog/product/view/addto.phtml
ADDED
@@ -0,0 +1,37 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_product = $this->getProduct() ?>
|
29 |
+
|
30 |
+
<ul class="add-to-box">
|
31 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
32 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
33 |
+
<?php endif; ?>
|
34 |
+
<?php if($_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product) ): ?>
|
35 |
+
<li><span class="pipe">|</span> <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a></li>
|
36 |
+
<?php endif; ?>
|
37 |
+
</ul>
|
app/design/frontend/default/freepop/template/catalog/product/view/addtocart.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_product = $this->getProduct() ?>
|
29 |
+
|
30 |
+
<?php if($_product->isSaleable()): ?>
|
31 |
+
<fieldset class="add-to-cart-box">
|
32 |
+
<legend><?php echo $this->__('Add Items to Cart') ?></legend>
|
33 |
+
<?php if(!$_product->isGrouped()): ?>
|
34 |
+
<span class="qty-box"><label for="qty"><?php echo $this->__('Qty') ?>:</label>
|
35 |
+
<input name="qty" type="text" class="input-text qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>" /></span>
|
36 |
+
<?php endif; ?>
|
37 |
+
<button type="button" class="form-button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
38 |
+
</fieldset>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/catalog/product/view/attributes.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product additional attributes template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Attributes
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php
|
34 |
+
$_helper = $this->helper('catalog/output');
|
35 |
+
$_product = $this->getProduct()
|
36 |
+
?>
|
37 |
+
<?php if($_additional = $this->getAdditionalData()): ?>
|
38 |
+
<div class="collateral-box attribute-specs">
|
39 |
+
<table cellspacing="0" class="data-table" id="product-attribute-specs-table">
|
40 |
+
<?php foreach ($_additional as $_data): ?>
|
41 |
+
<tr>
|
42 |
+
<td class="label"><?php echo $this->htmlEscape($this->__($_data['label'])) ?></td>
|
43 |
+
<td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
|
44 |
+
</tr>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</table>
|
47 |
+
<script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
|
48 |
+
</div>
|
49 |
+
<?php endif;?>
|
app/design/frontend/default/freepop/template/catalog/product/view/description.phtml
ADDED
@@ -0,0 +1,35 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product description template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Description
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<div class="product-specs">
|
34 |
+
<?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), nl2br($this->getProduct()->getDescription()), 'description') ?>
|
35 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/product/view/media.phtml
ADDED
@@ -0,0 +1,77 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product media data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
|
34 |
+
<?php
|
35 |
+
$_product = $this->getProduct();
|
36 |
+
$_helper = $this->helper('catalog/output');
|
37 |
+
?>
|
38 |
+
|
39 |
+
<?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
|
40 |
+
<p class="product-image-zoom">
|
41 |
+
<?php
|
42 |
+
$_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
|
43 |
+
echo $_helper->productAttribute($_product, $_img, 'image')
|
44 |
+
?>
|
45 |
+
</p>
|
46 |
+
<p class="a-center" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
|
47 |
+
|
48 |
+
<div class="image-zoom" id="track_outer">
|
49 |
+
<img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
|
50 |
+
<div id="track">
|
51 |
+
<div id="handle"></div>
|
52 |
+
</div>
|
53 |
+
<img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
|
54 |
+
</div>
|
55 |
+
<script type="text/javascript">
|
56 |
+
Event.observe(window, 'load', function() {
|
57 |
+
product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
|
58 |
+
});
|
59 |
+
</script>
|
60 |
+
<?php else: ?>
|
61 |
+
<?php
|
62 |
+
$_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(265).'" alt="'.$this->htmlEscape($_product->getImageLabel()).'" />';
|
63 |
+
echo $_helper->productAttribute($_product, $_img, 'image')
|
64 |
+
?>
|
65 |
+
<?php endif; ?>
|
66 |
+
<?php if (count($this->getGalleryImages()) > 0): ?>
|
67 |
+
<div class="more-views">
|
68 |
+
<h4><?php echo $this->__('More Views') ?></h4>
|
69 |
+
<ul>
|
70 |
+
<?php foreach ($this->getGalleryImages() as $_image): ?>
|
71 |
+
<li>
|
72 |
+
<a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=50,top=50,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(56); ?>" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
|
73 |
+
</li>
|
74 |
+
<?php endforeach; ?>
|
75 |
+
</ul>
|
76 |
+
</div>
|
77 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/catalog/product/view/options.phtml
ADDED
@@ -0,0 +1,176 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
|
29 |
+
<?php if (count($_options)):?>
|
30 |
+
<script type="text/javascript">
|
31 |
+
//<![CDATA[
|
32 |
+
var optionFileUpload = {
|
33 |
+
productForm : $('product_addtocart_form'),
|
34 |
+
formAction : '',
|
35 |
+
formElements : {},
|
36 |
+
upload : function(element){
|
37 |
+
this.formElements = this.productForm.getElementsBySelector('input', 'select', 'textarea', 'button');
|
38 |
+
this.removeRequire(element.readAttribute('id').sub('option_', ''));
|
39 |
+
|
40 |
+
template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"><\/iframe>';
|
41 |
+
|
42 |
+
Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), {after: template});
|
43 |
+
|
44 |
+
this.formAction = this.productForm.action;
|
45 |
+
this.productForm.action = '<?php echo $this->getUrl('*/product/upload') ?>option_id/'+element.readAttribute('id').sub('option_', '');
|
46 |
+
this.productForm.target = 'upload_target';
|
47 |
+
this.productForm.submit();
|
48 |
+
this.productForm.target = '';
|
49 |
+
this.productForm.action = this.formAction;
|
50 |
+
},
|
51 |
+
removeRequire : function(skipElementId){
|
52 |
+
for(var i=0; i<this.formElements.length; i++){
|
53 |
+
if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
|
54 |
+
this.formElements[i].disabled='disabled';
|
55 |
+
}
|
56 |
+
}
|
57 |
+
},
|
58 |
+
addRequire : function(skipElementId){
|
59 |
+
for(var i=0; i<this.formElements.length; i++){
|
60 |
+
if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
|
61 |
+
this.formElements[i].disabled='';
|
62 |
+
}
|
63 |
+
}
|
64 |
+
},
|
65 |
+
uploadCallback : function(data){
|
66 |
+
this.addRequire(data.optionId);
|
67 |
+
$('upload_target').remove();
|
68 |
+
|
69 |
+
if (data.error) {
|
70 |
+
|
71 |
+
} else {
|
72 |
+
$('option_'+data.optionId+'_uploaded_file').value = data.fileName;
|
73 |
+
$('option_'+data.optionId+'_file').value = '';
|
74 |
+
$('option_'+data.optionId+'_file').hide();
|
75 |
+
$('option_'+data.optionId+'').hide();
|
76 |
+
template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'"><\/a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')">Remove file<\/a>';
|
77 |
+
|
78 |
+
Element.insert($('option_'+data.optionId+'_uploaded_file'), {after: template});
|
79 |
+
}
|
80 |
+
},
|
81 |
+
removeFile : function(optionId)
|
82 |
+
{
|
83 |
+
$('option_'+optionId+'_uploaded_file').value= '';
|
84 |
+
$('option_'+optionId+'_file').show();
|
85 |
+
$('option_'+optionId+'').show();
|
86 |
+
|
87 |
+
$('option_'+optionId+'_file_box').remove();
|
88 |
+
}
|
89 |
+
}
|
90 |
+
var optionTextCounter = {
|
91 |
+
count : function(field,cntfield,maxlimit){
|
92 |
+
if (field.value.length > maxlimit){
|
93 |
+
field.value = field.value.substring(0, maxlimit);
|
94 |
+
} else {
|
95 |
+
cntfield.innerHTML = maxlimit - field.value.length;
|
96 |
+
}
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
Product.Options = Class.create();
|
101 |
+
Product.Options.prototype = {
|
102 |
+
initialize : function(config){
|
103 |
+
this.config = config;
|
104 |
+
this.reloadPrice();
|
105 |
+
},
|
106 |
+
reloadPrice : function(){
|
107 |
+
price = new Number();
|
108 |
+
config = this.config;
|
109 |
+
skipIds = [];
|
110 |
+
$$('.product-custom-option').each(function(element){
|
111 |
+
var optionId = 0;
|
112 |
+
element.name.sub(/[0-9]+/, function(match){
|
113 |
+
optionId = match[0];
|
114 |
+
});
|
115 |
+
if (this.config[optionId]) {
|
116 |
+
if (element.type == 'checkbox' || element.type == 'radio') {
|
117 |
+
if (element.checked) {
|
118 |
+
if (config[optionId][element.getValue()]) {
|
119 |
+
price += parseFloat(config[optionId][element.getValue()]);
|
120 |
+
}
|
121 |
+
}
|
122 |
+
} else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
|
123 |
+
dateSelected = true;
|
124 |
+
$$('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
|
125 |
+
if (dt.getValue() == '') {
|
126 |
+
dateSelected = false;
|
127 |
+
}
|
128 |
+
});
|
129 |
+
if (dateSelected) {
|
130 |
+
price += parseFloat(this.config[optionId]);
|
131 |
+
skipIds[optionId] = optionId;
|
132 |
+
}
|
133 |
+
} else if(element.type == 'select-one' || element.type == 'select-multiple') {
|
134 |
+
if (element.options) {
|
135 |
+
$A(element.options).each(function(selectOption){
|
136 |
+
if (selectOption.selected) {
|
137 |
+
if (this.config[optionId][selectOption.value]) {
|
138 |
+
price += parseFloat(this.config[optionId][selectOption.value]);
|
139 |
+
}
|
140 |
+
}
|
141 |
+
});
|
142 |
+
}
|
143 |
+
} else {
|
144 |
+
if (element.getValue().strip() != '') {
|
145 |
+
price += parseFloat(this.config[optionId]);
|
146 |
+
}
|
147 |
+
}
|
148 |
+
}
|
149 |
+
});
|
150 |
+
try {
|
151 |
+
optionsPrice.changePrice('options', price);
|
152 |
+
optionsPrice.reload();
|
153 |
+
} catch (e) {
|
154 |
+
|
155 |
+
}
|
156 |
+
}
|
157 |
+
}
|
158 |
+
function validateOptionsCallback(elmId, result){
|
159 |
+
var container = $(elmId).up('ul.options-list');
|
160 |
+
if (result == 'failed') {
|
161 |
+
container.removeClassName('validation-passed');
|
162 |
+
container.addClassName('validation-failed');
|
163 |
+
} else {
|
164 |
+
container.removeClassName('validation-failed');
|
165 |
+
container.addClassName('validation-passed');
|
166 |
+
}
|
167 |
+
}
|
168 |
+
var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
|
169 |
+
//]]>
|
170 |
+
</script>
|
171 |
+
<dl>
|
172 |
+
<?php foreach($_options as $_option): ?>
|
173 |
+
<?php echo $this->getOptionHtml($_option) ?>
|
174 |
+
<?php endforeach; ?>
|
175 |
+
</dl>
|
176 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/js.phtml
ADDED
@@ -0,0 +1,60 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<script type="text/javascript">
|
2 |
+
//<![CDATA[
|
3 |
+
var DateOption = Class.create({
|
4 |
+
|
5 |
+
getDaysInMonth: function(month, year)
|
6 |
+
{
|
7 |
+
var curDate = new Date();
|
8 |
+
if (!month) {
|
9 |
+
month = curDate.getMonth();
|
10 |
+
}
|
11 |
+
if (!year) {
|
12 |
+
year = curDate.getFullYear();
|
13 |
+
}
|
14 |
+
return 32 - new Date(year, month, 32).getDate();
|
15 |
+
},
|
16 |
+
|
17 |
+
reloadMonth: function(event)
|
18 |
+
{
|
19 |
+
var selectEl = event.findElement();
|
20 |
+
var idParts = selectEl.id.split("_");
|
21 |
+
if (idParts.length != 3) {
|
22 |
+
return false;
|
23 |
+
}
|
24 |
+
var optionIdPrefix = idParts[0] + "_" + idParts[1];
|
25 |
+
var month = parseInt($(optionIdPrefix + "_month").value);
|
26 |
+
var year = parseInt($(optionIdPrefix + "_year").value);
|
27 |
+
var dayEl = $(optionIdPrefix + "_day");
|
28 |
+
|
29 |
+
var days = this.getDaysInMonth(month > 0 ? month-1 : month, year);
|
30 |
+
|
31 |
+
//remove days
|
32 |
+
for (var i = dayEl.options.length - 1; i >= 0; i--) {
|
33 |
+
if (dayEl.options[i].value > days) {
|
34 |
+
dayEl.remove(dayEl.options[i].index);
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
// add days
|
39 |
+
var lastDay = parseInt(dayEl.options[dayEl.options.length-1].value);
|
40 |
+
for (i = lastDay + 1; i <= days; i++) {
|
41 |
+
this.addOption(dayEl, i, i);
|
42 |
+
}
|
43 |
+
},
|
44 |
+
|
45 |
+
addOption: function(select, text, value)
|
46 |
+
{
|
47 |
+
var option = document.createElement('OPTION');
|
48 |
+
option.value = value;
|
49 |
+
option.text = text;
|
50 |
+
|
51 |
+
if (select.options.add) {
|
52 |
+
select.options.add(option);
|
53 |
+
} else {
|
54 |
+
select.appendChild(option);
|
55 |
+
}
|
56 |
+
}
|
57 |
+
});
|
58 |
+
var dateOption = new DateOption();
|
59 |
+
//]]>
|
60 |
+
</script>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/type/date.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required"> *</span><?php endif; ?></label>
|
30 |
+
<?php echo $this->getFormatedPrice() ?></dt>
|
31 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="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 |
+
Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
|
41 |
+
Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
|
42 |
+
</script>
|
43 |
+
<?php endif; ?>
|
44 |
+
|
45 |
+
<?php endif; ?>
|
46 |
+
|
47 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
|
48 |
+
|| $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
|
49 |
+
<?php echo $this->getTimeHtml() ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
|
52 |
+
<?php if ($_option->getIsRequire()): ?>
|
53 |
+
<input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
|
54 |
+
<script type="text/javascript">
|
55 |
+
//<![CDATA[
|
56 |
+
Validation.addAllThese(
|
57 |
+
[
|
58 |
+
['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
|
59 |
+
var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
|
60 |
+
for (var i=0; i < dateTimeParts.length; i++) {
|
61 |
+
if (dateTimeParts[i].value == "") return false;
|
62 |
+
}
|
63 |
+
return true;
|
64 |
+
}]
|
65 |
+
]
|
66 |
+
);
|
67 |
+
//]]>
|
68 |
+
</script>
|
69 |
+
<?php endif; ?>
|
70 |
+
</dd>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/type/default.phtml
ADDED
@@ -0,0 +1,28 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 |
+
<dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?></label></dt>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/type/file.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 |
+
<dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required"> *</span><?php endif; ?></label>
|
29 |
+
<?php echo $this->getFormatedPrice() ?></dt>
|
30 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
31 |
+
<input type="file" id="option_<?php echo $_option->getId() ?>_file" name="options_<?php echo $_option->getId() ?>_file" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" onchange="opConfig.reloadPrice()"/>
|
32 |
+
<?php if ($_option->getFileExtension()): ?>
|
33 |
+
<p class="no-margin"><?php echo Mage::helper('catalog')->__('Allowed file extensions to upload')?>: <strong><?php echo $_option->getFileExtension() ?></strong></p>
|
34 |
+
<?php endif; ?>
|
35 |
+
<?php if ($_option->getImageSizeX() > 0): ?>
|
36 |
+
<p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image width')?>: <strong><?php echo $_option->getImageSizeX() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
|
37 |
+
<?php endif; ?>
|
38 |
+
<?php if ($_option->getImageSizeY() > 0): ?>
|
39 |
+
<p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image height')?>: <strong><?php echo $_option->getImageSizeY() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
</dd>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/type/select.phtml
ADDED
@@ -0,0 +1,37 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Catalog_Block_Product_View_Options_Type_Select */ ?>
|
28 |
+
<?php $_option = $this->getOption() ?>
|
29 |
+
<dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required"> *</span><?php endif; ?></label></dt>
|
30 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
31 |
+
<?php echo $this->getValuesHtml() ?>
|
32 |
+
<?php if ($_option->getIsRequire()): ?>
|
33 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX): ?>
|
34 |
+
<span id="options-<?php echo $_option->getId() ?>-container"></span>
|
35 |
+
<?php endif; ?>
|
36 |
+
<?php endif;?>
|
37 |
+
</dd>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/type/text.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 |
+
<dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required"> *</span><?php endif; ?></label>
|
29 |
+
<?php echo $this->getFormatedPrice() ?></dt>
|
30 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
31 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_FIELD): ?>
|
32 |
+
<input type="text" onchange="opConfig.reloadPrice()" id="options_<?php echo $_option->getId() ?>_text" class="input-text<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" value="" />
|
33 |
+
<?php elseif ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_AREA): ?>
|
34 |
+
<textarea id="options_<?php echo $_option->getId() ?>_text" onchange="opConfig.reloadPrice()" class="<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" rows="5" cols="25"></textarea>
|
35 |
+
<?php endif; ?>
|
36 |
+
<?php if ($_option->getMaxCharacters()): ?>
|
37 |
+
<p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum number of characters')?>: <strong><?php echo $_option->getMaxCharacters() ?></strong></p>
|
38 |
+
<?php endif; ?>
|
39 |
+
</dd>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/wrapper.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<fieldset class="product-options" id="product-options-wrapper">
|
29 |
+
<?php echo $this->getChildHtml('', true, true);?>
|
30 |
+
<?php if ($this->hasRequiredOptions()):?>
|
31 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
32 |
+
<?php endif;?>
|
33 |
+
</fieldset>
|
34 |
+
<script type="text/javascript">decorateGeneric($$('#product-options-wrapper dl'), ['last']);</script>
|
app/design/frontend/default/freepop/template/catalog/product/view/options/wrapper/bottom.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<div class="product-options-bottom">
|
29 |
+
<?php echo $this->getChildHtml('', true, true);?>
|
30 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/product/view/price.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="price-box" id="product_price">
|
28 |
+
<span class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></span><br />
|
29 |
+
<span class="special-price"><?php echo $this->getPrice() ?></span>
|
30 |
+
</div>
|
app/design/frontend/default/freepop/template/catalog/product/view/price_clone.phtml
ADDED
@@ -0,0 +1,28 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 echo $this->getPriceHtml($_product, false, '_clone') ?>
|
app/design/frontend/default/freepop/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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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() ? 'product-pricing-grouped' : '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() && $_price['formated_price'] != $_price['formated_price_incl_tax']): ?>
|
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') ?> <strong class="benefit"><?php echo $this->__('save')?> <?php echo $_price['savePercent']?>%
|
176 |
+
<?php endif ?></strong>
|
177 |
+
<?php endif; ?>
|
178 |
+
</li>
|
179 |
+
<?php endforeach ?>
|
180 |
+
</ul>
|
181 |
+
<?php endif;?>
|
app/design/frontend/default/freepop/template/catalog/product/view/type/configurable.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Super product options
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_View_Super_Config
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_product = $this->getProduct() ?>
|
35 |
+
<?php if($_product->isSaleable()): ?>
|
36 |
+
<p class="availability"><?php echo $this->__('Availability: In stock.') ?></p>
|
37 |
+
<?php else: ?>
|
38 |
+
<p class="availability"><?php echo $this->__('Availability: Out of stock.') ?></p>
|
39 |
+
<?php endif; ?>
|
40 |
+
|
41 |
+
<?php echo $this->getPriceHtml($_product) ?>
|
app/design/frontend/default/freepop/template/catalog/product/view/type/grouped.phtml
ADDED
@@ -0,0 +1,82 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Grouped product data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
* @see Mage_Catalog_Block_Product_View_Type_Grouped
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_product = $this->getProduct() ?>
|
35 |
+
<?php $_associatedProducts = $this->getAssociatedProducts() ?>
|
36 |
+
<?php if($_product->isSaleable() && count($_associatedProducts)): ?>
|
37 |
+
<p class="availability"><?php echo $this->__('Availability: In stock.') ?></p>
|
38 |
+
<?php else: ?>
|
39 |
+
<p class="availability"><?php echo $this->__('Availability: Out of stock.') ?></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
<table cellspacing="0" class="data-table" id="super-product-table">
|
42 |
+
<col />
|
43 |
+
<col />
|
44 |
+
<col width="1" />
|
45 |
+
<thead>
|
46 |
+
<tr>
|
47 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
48 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
49 |
+
<?php if ($_product->isSaleable()): ?>
|
50 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
51 |
+
<?php endif; ?>
|
52 |
+
</tr>
|
53 |
+
</thead>
|
54 |
+
<tbody>
|
55 |
+
<?php if (count($_associatedProducts)): ?>
|
56 |
+
<?php foreach ($_associatedProducts as $_item): ?>
|
57 |
+
<?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
|
58 |
+
<tr>
|
59 |
+
<td><?php echo $this->htmlEscape($_item->getName()) ?></td>
|
60 |
+
<td class="a-right">
|
61 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
62 |
+
<?php echo $this->getTierPriceHtml($_item) ?>
|
63 |
+
</td>
|
64 |
+
<?php if ($_product->isSaleable()): ?>
|
65 |
+
<td class="a-center">
|
66 |
+
<?php if ($_item->isSaleable()) : ?>
|
67 |
+
<input name="super_group[<?php echo $_item->getId() ?>]" value="<?php echo $_item->getQty()*1 ?>" type="text" class="input-text qty" />
|
68 |
+
<?php else: ?>
|
69 |
+
<?php echo $this->__('Out of stock.') ?>
|
70 |
+
<?php endif; ?>
|
71 |
+
</td>
|
72 |
+
<?php endif; ?>
|
73 |
+
</tr>
|
74 |
+
<?php endforeach; ?>
|
75 |
+
<?php else: ?>
|
76 |
+
<tr>
|
77 |
+
<td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
|
78 |
+
</tr>
|
79 |
+
<?php endif; ?>
|
80 |
+
</tbody>
|
81 |
+
</table>
|
82 |
+
<script type="text/javascript">decorateTable('super-product-table')</script>
|
app/design/frontend/default/freepop/template/catalog/product/view/type/options/configurable.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
$_product = $this->getProduct();
|
30 |
+
$_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
|
31 |
+
?>
|
32 |
+
<?php if ($_product->isSaleable() && count($_attributes)):?>
|
33 |
+
<dl>
|
34 |
+
<?php foreach($_attributes as $_attribute): ?>
|
35 |
+
<dt><label><?php echo $_attribute->getLabel() ?><span class="required"> *</span></label></dt>
|
36 |
+
<dd<?php if ($_attribute->decoratedIsLast){?> class="last"<?php }?>>
|
37 |
+
<select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select">
|
38 |
+
<option><?php echo $this->__('Choose an Option...') ?></option>
|
39 |
+
</select>
|
40 |
+
</dd>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</dl>
|
43 |
+
<script type="text/javascript">
|
44 |
+
var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
|
45 |
+
</script>
|
46 |
+
<?php endif;?>
|
app/design/frontend/default/freepop/template/catalog/product/view/type/simple.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Simple product deatle template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Type_Simple
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php $_product = $this->getProduct() ?>
|
34 |
+
|
35 |
+
<?php if($_product->isSaleable()): ?>
|
36 |
+
<p class="availability"><?php echo $this->__('Availability: In stock.') ?></p>
|
37 |
+
<?php else: ?>
|
38 |
+
<p class="availability"><?php echo $this->__('Availability: Out of stock.') ?></p>
|
39 |
+
<?php endif; ?>
|
40 |
+
|
41 |
+
<?php echo $this->getPriceHtml($_product) ?>
|
app/design/frontend/default/freepop/template/catalog/product/view/type/virtual.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Simple product deatle template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Type_Simple
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php $_product = $this->getProduct() ?>
|
34 |
+
|
35 |
+
<?php if($_product->isSaleable()): ?>
|
36 |
+
<p class="availability"><?php echo $this->__('Availability: In stock.') ?></p>
|
37 |
+
<?php else: ?>
|
38 |
+
<p class="availability"><?php echo $this->__('Availability: Out of stock.') ?></p>
|
39 |
+
<?php endif; ?>
|
40 |
+
|
41 |
+
<?php echo $this->getPriceHtml($_product) ?>
|
app/design/frontend/default/freepop/template/checkout/cart.phtml
ADDED
@@ -0,0 +1,125 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Shopping cart template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<div class="page-head-alt button-level">
|
35 |
+
<h3><?php echo $this->__('Shopping Cart') ?></h3>
|
36 |
+
<?php if(!$this->hasError()): ?>
|
37 |
+
<ul class="checkout-types">
|
38 |
+
<?php echo $this->getChildHtml('top_methods') ?>
|
39 |
+
</ul>
|
40 |
+
<?php endif; ?>
|
41 |
+
</div>
|
42 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
43 |
+
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
44 |
+
<table cellspacing="0" border="0" id="shopping-cart-table" class="data-table box-table shopping-cart">
|
45 |
+
<col width="40" />
|
46 |
+
<col width="75" />
|
47 |
+
<col />
|
48 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
49 |
+
<col width="1" />
|
50 |
+
<?php endif ?>
|
51 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
52 |
+
<col width="80" />
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
55 |
+
<col width="80" />
|
56 |
+
<?php endif; ?>
|
57 |
+
<col width="1" />
|
58 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
59 |
+
<col width="80" />
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
62 |
+
<col width="80" />
|
63 |
+
<?php endif; ?>
|
64 |
+
|
65 |
+
|
66 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
67 |
+
<thead>
|
68 |
+
<tr>
|
69 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Remove') ?></th>
|
70 |
+
<th rowspan="<?php echo $mergedCells; ?>"> </th>
|
71 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
72 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
73 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Move to Wishlist') ?></th>
|
74 |
+
<?php endif ?>
|
75 |
+
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Unit Price') ?></th>
|
76 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
77 |
+
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
|
78 |
+
</tr>
|
79 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
80 |
+
<tr>
|
81 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
82 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
83 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
84 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
85 |
+
</tr>
|
86 |
+
<?php endif; ?>
|
87 |
+
</thead>
|
88 |
+
<tfoot>
|
89 |
+
<tr>
|
90 |
+
<td colspan="100" class="a-right">
|
91 |
+
<?php if($this->getContinueShoppingUrl()): ?>
|
92 |
+
<button class="form-button-alt continue-shopping" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')" type="button"><span><?php echo $this->__('Continue Shopping') ?></span></button>
|
93 |
+
<?php endif; ?>
|
94 |
+
<button class="form-button-alt" type="submit"><span><?php echo $this->__('Update Shopping Cart') ?></span></button>
|
95 |
+
</td>
|
96 |
+
</tr>
|
97 |
+
</tfoot>
|
98 |
+
<tbody>
|
99 |
+
<?php foreach($this->getItems() as $_item): ?>
|
100 |
+
<?php echo $this->getItemHtml($_item) ?>
|
101 |
+
<?php endforeach ?>
|
102 |
+
</tbody>
|
103 |
+
</table>
|
104 |
+
<script type="text/javascript">decorateTable('shopping-cart-table')</script>
|
105 |
+
</form>
|
106 |
+
|
107 |
+
<div class="shopping-cart-collaterals">
|
108 |
+
<div class="col2-set">
|
109 |
+
<?php echo $this->getChildHtml('crosssell') ?>
|
110 |
+
<div class="col-2">
|
111 |
+
<?php echo $this->getChildHtml('coupon') ?>
|
112 |
+
<?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
|
113 |
+
</div>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
|
117 |
+
<div class="shopping-cart-totals">
|
118 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
119 |
+
<?php if(!$this->hasError()): ?>
|
120 |
+
<ul class="checkout-types">
|
121 |
+
<?php echo $this->getChildHtml('methods') ?>
|
122 |
+
</ul>
|
123 |
+
<?php endif; ?>
|
124 |
+
</div>
|
125 |
+
<div class="clear"></div>
|
app/design/frontend/default/freepop/template/checkout/cart/coupon.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="discount-codes box">
|
28 |
+
<form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
|
29 |
+
<fieldset>
|
30 |
+
<h4><?php echo $this->__('Discount Codes') ?></h4>
|
31 |
+
<p><?php echo $this->__('Enter your coupon code if you have one.') ?></p>
|
32 |
+
<input type="hidden" name="remove" id="remove-coupone" value="0"/>
|
33 |
+
<?php if(!strlen($this->getCouponCode())): ?>
|
34 |
+
<div class="left" style="padding-bottom:5px;"><input class="input-text left" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" /></div>
|
35 |
+
<div class="left"> <button class="form-button-alt" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply Coupon') ?></span></button></div>
|
36 |
+
<?php else: ?>
|
37 |
+
<div style="padding-bottom:5px;"><input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" style="width:207px;" /></div>
|
38 |
+
<button class="form-button-alt" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply Coupon') ?></span></button> <button class="form-button-alt" type="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><?php echo $this->__('Cancel Coupon') ?></span></button>
|
39 |
+
<?php endif;?>
|
40 |
+
<div class="clear"></div>
|
41 |
+
</fieldset>
|
42 |
+
</form>
|
43 |
+
<script type="text/javascript">
|
44 |
+
var discountForm = new VarienForm('discount-coupon-form');
|
45 |
+
discountForm.submit = function (isRemove) {
|
46 |
+
if (isRemove) {
|
47 |
+
$('coupon_code').removeClassName('required-entry');
|
48 |
+
$('remove-coupone').value = "1";
|
49 |
+
} else {
|
50 |
+
$('coupon_code').addClassName('required-entry');
|
51 |
+
$('remove-coupone').value = "0";
|
52 |
+
}
|
53 |
+
return VarienForm.prototype.submit.bind(discountForm)();
|
54 |
+
}
|
55 |
+
</script>
|
56 |
+
</div>
|
app/design/frontend/default/freepop/template/checkout/cart/crosssell.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Cart cross sell items template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Crosssell
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getItemCount()): ?>
|
35 |
+
<div class="col-1 upsell">
|
36 |
+
<h4><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h4>
|
37 |
+
<ul class="generic-product-list">
|
38 |
+
<?php foreach ($this->getItems() as $_item): ?>
|
39 |
+
<li>
|
40 |
+
<a href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" class="product-image" /></a>
|
41 |
+
<div class="product-shop">
|
42 |
+
<h5><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h5>
|
43 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
44 |
+
<button class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')" type="button"><span><?php echo $this->__('Add to Cart') ?></span></button><br/>
|
45 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
46 |
+
<small><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a></small>
|
47 |
+
<?php endif; ?>
|
48 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?><br/>
|
49 |
+
<small><a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a></small>
|
50 |
+
<?php endif; ?>
|
51 |
+
</div>
|
52 |
+
</li>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
</ul>
|
55 |
+
</div>
|
56 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/checkout/cart/item/default.phtml
ADDED
@@ -0,0 +1,256 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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>
|
29 |
+
<td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" width="16" height="16" alt="<?php $this->__('Remove item')?>" /></a></td>
|
30 |
+
<td><a href="<?php echo $this->getProductUrl() ?>"><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" width="75" /></a></td>
|
31 |
+
<td class="attributes-col">
|
32 |
+
<h4 class="title"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h4>
|
33 |
+
<!-- item custom options -->
|
34 |
+
<?php if ($_options = $this->getOptionList()):?>
|
35 |
+
<dl class="item-options">
|
36 |
+
<?php foreach ($_options as $_option) : ?>
|
37 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
38 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
39 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
40 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
41 |
+
<div class="truncated_full_value">
|
42 |
+
<dl class="item-options">
|
43 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
44 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
45 |
+
</dl>
|
46 |
+
</div>
|
47 |
+
<?php endif; ?>
|
48 |
+
</dd>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</dl>
|
51 |
+
<?php endif;?>
|
52 |
+
<!-- / -->
|
53 |
+
|
54 |
+
<?php if ($messages = $this->getMessages()): ?>
|
55 |
+
<?php foreach ($messages as $message): ?>
|
56 |
+
<div class="shopping-cart-item-message <?php echo $message['type'] ?>">
|
57 |
+
* <?php echo $message['text'] ?>
|
58 |
+
</div>
|
59 |
+
<?php endforeach; ?>
|
60 |
+
<?php endif; ?>
|
61 |
+
</td>
|
62 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
63 |
+
<td class="a-center">
|
64 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" />
|
65 |
+
</td>
|
66 |
+
<?php endif ?>
|
67 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
68 |
+
<td class="a-right">
|
69 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
70 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
71 |
+
<?php else: ?>
|
72 |
+
<div class="cart-price">
|
73 |
+
<?php endif; ?>
|
74 |
+
|
75 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
76 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
77 |
+
<?php else: ?>
|
78 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
79 |
+
<?php endif; ?>
|
80 |
+
|
81 |
+
</div>
|
82 |
+
|
83 |
+
|
84 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
85 |
+
|
86 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
87 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
88 |
+
<small>
|
89 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
90 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
91 |
+
<?php endforeach; ?>
|
92 |
+
</small>
|
93 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
94 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
95 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
96 |
+
<?php endforeach; ?>
|
97 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
98 |
+
<small>
|
99 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
100 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
101 |
+
<?php endforeach; ?>
|
102 |
+
</small>
|
103 |
+
<?php endif; ?>
|
104 |
+
</div>
|
105 |
+
|
106 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
107 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
108 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
109 |
+
</div>
|
110 |
+
<?php endif; ?>
|
111 |
+
<?php endif; ?>
|
112 |
+
</td>
|
113 |
+
<?php endif; ?>
|
114 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
115 |
+
<td class="a-right">
|
116 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
117 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
118 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
119 |
+
<?php else: ?>
|
120 |
+
<div class="cart-price">
|
121 |
+
<?php endif; ?>
|
122 |
+
|
123 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
124 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
125 |
+
<?php else: ?>
|
126 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
127 |
+
<?php endif; ?>
|
128 |
+
|
129 |
+
</div>
|
130 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
131 |
+
|
132 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
133 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
134 |
+
<small>
|
135 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
136 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
137 |
+
<?php endforeach; ?>
|
138 |
+
</small>
|
139 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
140 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
141 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
142 |
+
<?php endforeach; ?>
|
143 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
144 |
+
<small>
|
145 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
146 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
147 |
+
<?php endforeach; ?>
|
148 |
+
</small>
|
149 |
+
<?php endif; ?>
|
150 |
+
</div>
|
151 |
+
|
152 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
153 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
154 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
155 |
+
</div>
|
156 |
+
<?php endif; ?>
|
157 |
+
<?php endif; ?>
|
158 |
+
</td>
|
159 |
+
<?php endif; ?>
|
160 |
+
<td class="a-center">
|
161 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" class="input-text qty" maxlength="8" />
|
162 |
+
</td>
|
163 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
164 |
+
<td class="a-right">
|
165 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
166 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
167 |
+
<?php else: ?>
|
168 |
+
<div class="cart-price">
|
169 |
+
<?php endif; ?>
|
170 |
+
|
171 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
172 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
173 |
+
<?php else: ?>
|
174 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
175 |
+
<?php endif; ?>
|
176 |
+
|
177 |
+
</div>
|
178 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
179 |
+
|
180 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
181 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
182 |
+
<small>
|
183 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
184 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
185 |
+
<?php endforeach; ?>
|
186 |
+
</small>
|
187 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
188 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
189 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
190 |
+
<?php endforeach; ?>
|
191 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
192 |
+
<small>
|
193 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
194 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
195 |
+
<?php endforeach; ?>
|
196 |
+
</small>
|
197 |
+
<?php endif; ?>
|
198 |
+
</div>
|
199 |
+
|
200 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
201 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
202 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
203 |
+
</div>
|
204 |
+
<?php endif; ?>
|
205 |
+
<?php endif; ?>
|
206 |
+
</td>
|
207 |
+
<?php endif; ?>
|
208 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
209 |
+
<td class="a-right">
|
210 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
211 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
212 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
213 |
+
<?php else: ?>
|
214 |
+
<div class="cart-price">
|
215 |
+
<?php endif; ?>
|
216 |
+
|
217 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
218 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
219 |
+
<?php else: ?>
|
220 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
221 |
+
<?php endif; ?>
|
222 |
+
|
223 |
+
</div>
|
224 |
+
|
225 |
+
|
226 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
227 |
+
|
228 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
229 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
230 |
+
<small>
|
231 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
232 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
233 |
+
<?php endforeach; ?>
|
234 |
+
</small>
|
235 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
236 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
237 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
238 |
+
<?php endforeach; ?>
|
239 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
240 |
+
<small>
|
241 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
242 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
243 |
+
<?php endforeach; ?>
|
244 |
+
</small>
|
245 |
+
<?php endif; ?>
|
246 |
+
</div>
|
247 |
+
|
248 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
249 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
250 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
251 |
+
</div>
|
252 |
+
<?php endif; ?>
|
253 |
+
<?php endif; ?>
|
254 |
+
</td>
|
255 |
+
<?php endif; ?>
|
256 |
+
</tr>
|
app/design/frontend/default/freepop/template/checkout/cart/noItems.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-head">
|
28 |
+
<h3><?php echo $this->__('Shopping Cart is Empty') ?></h3>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
32 |
+
<p><?php echo $this->__('Please <a href="%s">continue shopping</a>.', $this->getContinueShoppingUrl()) ?></p>
|
app/design/frontend/default/freepop/template/checkout/cart/render/default.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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>
|
29 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" width="16" height="16" alt="Remove item" /></a></td>
|
30 |
+
<td>
|
31 |
+
<a href="<?php echo $this->getItemUrl($_item) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" width="75" /></a></td>
|
32 |
+
<td class="attributes-col">
|
33 |
+
<h4 class="title"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h4>
|
34 |
+
<?php echo $this->getItemDescription($_item) ?>
|
35 |
+
<?php if($_item->getMessage()): ?>
|
36 |
+
<div style="font-size:95%;margin-top:6px;" class="shopping-cart-item-message <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">
|
37 |
+
* <?php echo $_item->getMessage() ?>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
40 |
+
</td>
|
41 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
42 |
+
<td class="a-center">
|
43 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" />
|
44 |
+
</td>
|
45 |
+
<?php endif ?>
|
46 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
+
<td class="a-right">
|
48 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
49 |
+
</td>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
52 |
+
<td class="a-right">
|
53 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getTaxAmount()/$_item->getQty()) ?>
|
54 |
+
</td>
|
55 |
+
<?php endif; ?>
|
56 |
+
<td class="a-center">
|
57 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="8" />
|
58 |
+
</td>
|
59 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
60 |
+
<td class="a-right">
|
61 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
62 |
+
</td>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
65 |
+
<td class="a-right">
|
66 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getTaxAmount()) ?>
|
67 |
+
</td>
|
68 |
+
<?php endif; ?>
|
69 |
+
</tr>
|
app/design/frontend/default/freepop/template/checkout/cart/render/simple.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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>
|
29 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" width="16" height="16" alt="Remove item" /></a></td>
|
30 |
+
<td><a href="<?php echo $this->getItemUrl($_item) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" width="75" /></a>
|
31 |
+
</td>
|
32 |
+
<td class="attributes-col">
|
33 |
+
<h4 class="title"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h4>
|
34 |
+
<?php echo $this->getItemDescription($_item) ?>
|
35 |
+
<?php if($_item->getMessage()): ?>
|
36 |
+
<div style="font-size:95%;margin-top:6px;" class="shopping-cart-item-message <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">
|
37 |
+
* <?php echo $_item->getMessage() ?>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
40 |
+
</td>
|
41 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
42 |
+
<td class="a-center">
|
43 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" />
|
44 |
+
</td>
|
45 |
+
<?php endif ?>
|
46 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
+
<td class="a-right">
|
48 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
49 |
+
</td>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
52 |
+
<td class="a-right">
|
53 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getTaxAmount()/$_item->getQty()) ?>
|
54 |
+
</td>
|
55 |
+
<?php endif; ?>
|
56 |
+
<td class="a-center">
|
57 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="8" />
|
58 |
+
</td>
|
59 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
60 |
+
<td class="a-right">
|
61 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
62 |
+
</td>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
65 |
+
<td class="a-right">
|
66 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getTaxAmount()) ?>
|
67 |
+
</td>
|
68 |
+
<?php endif; ?>
|
69 |
+
</tr>
|
app/design/frontend/default/freepop/template/checkout/cart/shipping.phtml
ADDED
@@ -0,0 +1,115 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Checkout_Block_Cart_Shipping
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<div class="shipping-estimate box">
|
33 |
+
<h4><?php echo $this->__('Estimate Shipping and Tax') ?></h4>
|
34 |
+
<form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
|
35 |
+
<p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
|
36 |
+
<p><label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br /><span><?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?></span></p>
|
37 |
+
<?php //if($this->getStateActive()): ?>
|
38 |
+
<p>
|
39 |
+
<label for="region_id"><?php echo $this->__('State/Province') ?><?php if ($this->isStateProvinceRequired()):?> <span class="required">*</span><?php endif;?></label><br />
|
40 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
|
41 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
42 |
+
</select>
|
43 |
+
<script type="text/javascript">
|
44 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
|
45 |
+
</script>
|
46 |
+
<input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none" />
|
47 |
+
</p>
|
48 |
+
<?php //endif; ?>
|
49 |
+
<?php if($this->getCityActive()): ?>
|
50 |
+
<p><label for="city"><?php echo $this->__('City') ?><?php if ($this->isCityRequired()):?> <span class="required">*</span><?php endif;?></label><br />
|
51 |
+
<input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->htmlEscape($this->getEstimateCity()) ?>" />
|
52 |
+
</p>
|
53 |
+
<?php endif; ?>
|
54 |
+
<p><label for="postcode"><?php echo $this->__('Zip/Postal Code') ?><?php if ($this->isZipCodeRequired()):?> <span class="required">*</span><?php endif;?></label><br />
|
55 |
+
<input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->htmlEscape($this->getEstimatePostcode()) ?>" /></p>
|
56 |
+
<p><button type="button" onclick="coShippingMethodForm.submit()" class="form-button-alt"><span><?php echo $this->__('Get a Quote') ?></span></button></p>
|
57 |
+
</form>
|
58 |
+
<script type="text/javascript">
|
59 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
|
60 |
+
</script>
|
61 |
+
|
62 |
+
<?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
|
63 |
+
<div class="divider"></div>
|
64 |
+
<form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
|
65 |
+
<dl class="shipment-methods">
|
66 |
+
<?php foreach ($_shippingRateGroups as $code => $_rates): ?>
|
67 |
+
<dt><?php echo $this->getCarrierName($code) ?></dt>
|
68 |
+
<dd>
|
69 |
+
<ul>
|
70 |
+
<?php foreach ($_rates as $_rate): ?>
|
71 |
+
<li class="<?php if ($_rate->getErrorMessage()) echo 'error-msg';?>">
|
72 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
73 |
+
<?php echo $_rate->getErrorMessage() ?>
|
74 |
+
<?php else: ?>
|
75 |
+
<input name="estimate_method" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> />
|
76 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
|
77 |
+
<strong>
|
78 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
79 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
80 |
+
|
81 |
+
<?php echo $_excl; ?>
|
82 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
83 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
84 |
+
<?php endif; ?>
|
85 |
+
</strong></label>
|
86 |
+
<?php endif ?>
|
87 |
+
</li>
|
88 |
+
<?php endforeach; ?>
|
89 |
+
</ul>
|
90 |
+
</dd>
|
91 |
+
<?php endforeach; ?>
|
92 |
+
</dl>
|
93 |
+
<fieldset>
|
94 |
+
<button type="submit" class="form-button-alt" name="do" value="<?php echo $this->__('Update Total') ?>"><span><?php echo $this->__('Update Total') ?></span></button>
|
95 |
+
</fieldset>
|
96 |
+
</form>
|
97 |
+
<?php endif; ?>
|
98 |
+
|
99 |
+
<script type="text/javascript">
|
100 |
+
var coShippingMethodForm = new VarienForm('shipping-zip-form');
|
101 |
+
Validation.addAllThese(
|
102 |
+
[
|
103 |
+
['validate-postcode', '<?php echo $this->__('Please enter a valid zip code. For example 90602 or 90602-1234.') ?>', function(v) {
|
104 |
+
var element = $('postcode');
|
105 |
+
if (element && ('' != element.value)) {
|
106 |
+
if (!element.value.match(/(^[A-z0-9]{2,10}([\s]{0,2}|[\-]{0,2})[A-z0-9]{2,10}$)/ )) {
|
107 |
+
return false;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
return true;
|
111 |
+
}]
|
112 |
+
]
|
113 |
+
);
|
114 |
+
</script>
|
115 |
+
</div>
|
app/design/frontend/default/freepop/template/checkout/cart/sidebar.phtml
ADDED
@@ -0,0 +1,79 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Shoping cart sidebar
|
29 |
+
*
|
30 |
+
* @see Mage_Checkout_Block_Cart_Sidebar
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<div class="top_box"><span></span></div>
|
34 |
+
|
35 |
+
<div class="box base-mini mini-cart">
|
36 |
+
<div class="head">
|
37 |
+
<?php $_cartQty = $this->getSummaryCount() ?>
|
38 |
+
<h4><?php echo $this->__('My Cart') ?></h4>
|
39 |
+
<div class="addcart_box">
|
40 |
+
<?php if ($_cartQty>0): ?>
|
41 |
+
<?php if ($_cartQty==1): ?>
|
42 |
+
<?php echo $this->__('There is <a href="%s"><strong>1 item</strong></a> in your cart.', $this->getUrl('checkout/cart')) ?>
|
43 |
+
<?php else: ?>
|
44 |
+
<?php echo $this->__('There are <a href="%s"><strong>%s items</strong></a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?>
|
45 |
+
<?php endif ?>
|
46 |
+
<p class="subtotal">
|
47 |
+
<?php echo $this->__('Cart Subtotal:') ?> <strong><?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?></strong>
|
48 |
+
<?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
|
49 |
+
<br />(<strong><?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?></strong> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
|
50 |
+
<?php endif; ?>
|
51 |
+
</p>
|
52 |
+
<?php endif ?>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
<div class="middle_box">
|
56 |
+
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
57 |
+
<div class="actions">
|
58 |
+
<button class="form-button" type="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')">
|
59 |
+
<span><?php echo $this->__('Checkout') ?></span>
|
60 |
+
</button>
|
61 |
+
</div>
|
62 |
+
<?php endif ?>
|
63 |
+
|
64 |
+
<?php $_items = $this->getRecentItems() ?>
|
65 |
+
<?php if(count($_items)): ?>
|
66 |
+
<h5><?php echo $this->__('Recently added item(s)') ?></h5>
|
67 |
+
<ol id="cart-sidebar">
|
68 |
+
<?php foreach($_items as $_item): ?>
|
69 |
+
<?php echo $this->getItemHtml($_item) ?>
|
70 |
+
<?php endforeach; ?>
|
71 |
+
</ol>
|
72 |
+
<script type="text/javascript">decorateList('cart-sidebar', 'non-recursive')</script>
|
73 |
+
<?php else: ?>
|
74 |
+
<div class="content"><p><?php echo $this->__('You have no items in your shopping cart.') ?></p></div>
|
75 |
+
<?php endif ?>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="bottom_box"><span></span></div>
|
79 |
+
<!-- [ends] .cart-sidebar // -->
|
app/design/frontend/default/freepop/template/checkout/cart/sidebar/default.phtml
ADDED
@@ -0,0 +1,141 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 |
+
<li>
|
29 |
+
<div class="product-images">
|
30 |
+
<a href="<?php echo $this->getProductUrl()?>"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" width="50" height="50" /></a>
|
31 |
+
</div>
|
32 |
+
<div class="product-details">
|
33 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="widget-btn"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" /></a>
|
34 |
+
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a><br />
|
35 |
+
<strong><?php echo $this->getQty() ?></strong> x
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
48 |
+
<?php echo $this->__('Excl. Tax'); ?>:
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
51 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
52 |
+
<?php else: ?>
|
53 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
54 |
+
<?php endif; ?>
|
55 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
56 |
+
<br />
|
57 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
58 |
+
<small>
|
59 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
60 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</small>
|
63 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
64 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
65 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
66 |
+
<?php endforeach; ?>
|
67 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
68 |
+
<small>
|
69 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
70 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
71 |
+
<?php endforeach; ?>
|
72 |
+
</small>
|
73 |
+
<?php endif; ?>
|
74 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
75 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
76 |
+
<?php endif; ?>
|
77 |
+
<?php endif; ?>
|
78 |
+
<?php endif; ?>
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
84 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
85 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
86 |
+
<br /><?php echo $this->__('Incl. Tax'); ?>:
|
87 |
+
<?php endif; ?>
|
88 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
89 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
90 |
+
<?php else: ?>
|
91 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
94 |
+
<br />
|
95 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
96 |
+
<small>
|
97 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
98 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
99 |
+
<?php endforeach; ?>
|
100 |
+
</small>
|
101 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
103 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
104 |
+
<?php endforeach; ?>
|
105 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
106 |
+
<small>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
109 |
+
<?php endforeach; ?>
|
110 |
+
</small>
|
111 |
+
<?php endif; ?>
|
112 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
113 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
114 |
+
<?php endif; ?>
|
115 |
+
<?php endif; ?>
|
116 |
+
<?php endif; ?>
|
117 |
+
|
118 |
+
|
119 |
+
<!-- item custom options -->
|
120 |
+
<?php if ($_options = $this->getOptionList()):?>
|
121 |
+
<div class="truncated">
|
122 |
+
<div class="truncated_full_value">
|
123 |
+
<dl class="item-options">
|
124 |
+
<?php foreach ($_options as $_option) : ?>
|
125 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
126 |
+
<dd>
|
127 |
+
<?php if (is_array($_option['value'])): ?>
|
128 |
+
<?php echo nl2br(implode("\n", $_option['value'])) ?>
|
129 |
+
<?php else: ?>
|
130 |
+
<?php echo $_option['value'] ?>
|
131 |
+
<?php endif; ?>
|
132 |
+
</dd>
|
133 |
+
<?php endforeach; ?>
|
134 |
+
</dl>
|
135 |
+
</div>
|
136 |
+
<a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
|
137 |
+
</div>
|
138 |
+
<?php endif;?>
|
139 |
+
<!-- / -->
|
140 |
+
</div>
|
141 |
+
</li>
|
app/design/frontend/default/freepop/template/checkout/cart/totals.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Shopping cart totals template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Totals
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<table cellspacing="0" id="shopping-cart-totals-table">
|
35 |
+
<tfoot>
|
36 |
+
<?php echo $this->renderTotals('footer'); ?>
|
37 |
+
</tfoot>
|
38 |
+
<tbody>
|
39 |
+
<?php echo $this->renderTotals(); ?>
|
40 |
+
</tbody>
|
41 |
+
</table>
|
app/design/frontend/default/freepop/template/checkout/links.phtml
ADDED
@@ -0,0 +1,26 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
app/design/frontend/default/freepop/template/checkout/onepage.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
|
28 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
|
29 |
+
<script type="text/javascript">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
|
30 |
+
|
31 |
+
<ol id="checkoutSteps" class="one-page-checkout">
|
32 |
+
<?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
|
33 |
+
<?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
|
34 |
+
<li id="opc-<?php echo $_stepId ?>" class="section <?php echo !empty($_stepInfo['allow'])?'allow':'' ?> <?php echo !empty($_stepInfo['complete'])?'saved':'' ?>">
|
35 |
+
<div class="head">
|
36 |
+
<h3><span class="step-count"><?php echo $i ?></span> <?php echo $_stepInfo['label'] ?></h3><a href="#"><?php echo $this->__('Edit') ?></a>
|
37 |
+
</div>
|
38 |
+
<div id="checkout-step-<?php echo $_stepId ?>" class="box<?php if($_stepId=='shipping_method'): ?>-no-padding<?php endif; ?> a-item" style="display:none;">
|
39 |
+
<?php echo $this->getChildHtml($_stepId) ?>
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
<?php endforeach ?>
|
43 |
+
</ol>
|
44 |
+
|
45 |
+
<script type="text/javascript">
|
46 |
+
//<![CDATA[
|
47 |
+
var accordion = new Accordion('checkoutSteps', '.head', true);
|
48 |
+
<?php if($this->getActiveStep()): ?>
|
49 |
+
accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
|
50 |
+
<?php endif ?>
|
51 |
+
|
52 |
+
var checkout = new Checkout(accordion,{
|
53 |
+
progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
|
54 |
+
review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
|
55 |
+
saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
|
56 |
+
failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
|
57 |
+
);
|
58 |
+
//]]>
|
59 |
+
</script>
|
app/design/frontend/default/freepop/template/checkout/success.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<div class="page-head">
|
29 |
+
<h3><?php echo $this->__('Your order has been received') ?></h3>
|
30 |
+
</div>
|
31 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
+
<p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
|
33 |
+
<p>
|
34 |
+
<?php if ($this->canPrint()) :?>
|
35 |
+
<?php echo $this->__('Your order # is: <a href="%s">%s</a>', $this->getViewOrderUrl(), $this->getOrderId()) ?>.<br/>
|
36 |
+
<?php else :?>
|
37 |
+
<?php echo $this->__('Your order # is: %s', $this->getOrderId()) ?>.<br/>
|
38 |
+
<?php endif;?>
|
39 |
+
|
40 |
+
<?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?><br/>
|
41 |
+
<?php if ($this->canPrint()) :?>
|
42 |
+
<?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
|
43 |
+
<?php endif;?>
|
44 |
+
<?php echo $this->getChildHtml() ?>
|
45 |
+
</p>
|
46 |
+
<div class="button-set">
|
47 |
+
<button type="button" class="form-button" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><?php echo $this->__('Continue Shopping') ?></span></button>
|
48 |
+
</div>
|
app/design/frontend/default/freepop/template/newsletter/subscribe.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="box base-mini mini-newsletter">
|
28 |
+
<div class="head">
|
29 |
+
<h4><?php echo $this->__('Newsletter') ?><a name="newsletter-box"></a></h4>
|
30 |
+
</div>
|
31 |
+
<div class="middle_box">
|
32 |
+
<form action="<?php echo $this->getUrl('newsletter/subscriber/new') ?>" method="post" id="newsletter-validate-detail">
|
33 |
+
<fieldset class="content">
|
34 |
+
<legend><?php echo $this->__('Newsletter') ?></legend>
|
35 |
+
<!--
|
36 |
+
<?php if( $message = $this->getErrorMessage() ): ?>
|
37 |
+
<p class="error"><?php echo $message ?></p>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php if( $message = $this->getSuccessMessage() ): ?>
|
40 |
+
<p class="success"><?php echo $message ?></p>
|
41 |
+
<?php endif; ?>
|
42 |
+
-->
|
43 |
+
<label for="newsletter"><?php echo $this->__('Sign up for our newsletter:') ?></label>
|
44 |
+
<input name="email" type="text" id="newsletter" class="required-entry validate-email input-text" />
|
45 |
+
<button type="submit" class="form-button-alt"><span><?php echo $this->__('Subscribe') ?></span></button>
|
46 |
+
</fieldset>
|
47 |
+
</form>
|
48 |
+
</div>
|
49 |
+
<script type="text/javascript">
|
50 |
+
//<![CDATA[
|
51 |
+
var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
|
52 |
+
//]]>
|
53 |
+
</script>
|
54 |
+
</div>
|
55 |
+
<div class="bottom_box"><span></span></div>
|
app/design/frontend/default/freepop/template/page/1column.phtml
ADDED
@@ -0,0 +1,80 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
34 |
+
<head>
|
35 |
+
<?php echo $this->getChildHtml('head') ?>
|
36 |
+
</head>
|
37 |
+
<body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
|
38 |
+
<div id="wrapper_outsite">
|
39 |
+
<div id="wrapper">
|
40 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
+
<!-- header_act -->
|
42 |
+
<div class="header_act">
|
43 |
+
<?php echo $this->getChildHtml('header') ?>
|
44 |
+
</div>
|
45 |
+
<!-- /header_act -->
|
46 |
+
<!-- content_act -->
|
47 |
+
<div class="content_act">
|
48 |
+
<!-- start middle -->
|
49 |
+
<div class="middle-container">
|
50 |
+
<div class="middle col-1-layout">
|
51 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
52 |
+
<!-- start center -->
|
53 |
+
<div id="main" class="col-main">
|
54 |
+
|
55 |
+
<!-- start content -->
|
56 |
+
<?php echo $this->getChildHtml('content') ?>
|
57 |
+
<!-- end content -->
|
58 |
+
|
59 |
+
</div>
|
60 |
+
<!-- end center -->
|
61 |
+
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
<!-- end middle -->
|
65 |
+
</div>
|
66 |
+
<!-- /content_act -->
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<!-- /wrapper -->
|
70 |
+
<!-- footer_act -->
|
71 |
+
<div class="footer_act">
|
72 |
+
<div class="footer_site">
|
73 |
+
<?php echo $this->getChildHtml('footer') ?>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
<!-- footer_act -->
|
77 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
78 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
79 |
+
</body>
|
80 |
+
</html>
|
app/design/frontend/default/freepop/template/page/2columns-left.phtml
ADDED
@@ -0,0 +1,83 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
34 |
+
<head>
|
35 |
+
<?php echo $this->getChildHtml('head') ?>
|
36 |
+
</head>
|
37 |
+
<body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
|
38 |
+
<div id="wrapper_outsite">
|
39 |
+
<div id="wrapper">
|
40 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
+
<!-- header_act -->
|
42 |
+
<div class="header_act">
|
43 |
+
<?php echo $this->getChildHtml('header') ?>
|
44 |
+
</div>
|
45 |
+
<!-- /header_act -->
|
46 |
+
<!-- content_act -->
|
47 |
+
<div class="content_act">
|
48 |
+
<!-- start middle -->
|
49 |
+
<div class="middle-container">
|
50 |
+
<div class="middle col-2-left-layout">
|
51 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
52 |
+
<!-- start left -->
|
53 |
+
<div class="col-left side-col">
|
54 |
+
<?php echo $this->getChildHtml('left') ?>
|
55 |
+
</div>
|
56 |
+
<div id="main" class="col-main">
|
57 |
+
<!-- start global messages -->
|
58 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
59 |
+
<!-- end global messages -->
|
60 |
+
<!-- start content -->
|
61 |
+
<?php echo $this->getChildHtml('content') ?>
|
62 |
+
<!-- end content -->
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
<!-- end center -->
|
66 |
+
</div>
|
67 |
+
<!-- end middle -->
|
68 |
+
</div>
|
69 |
+
<!-- /content_act -->
|
70 |
+
</div>
|
71 |
+
</div>
|
72 |
+
<!-- /wrapper -->
|
73 |
+
<!-- footer_act -->
|
74 |
+
<div class="footer_act">
|
75 |
+
<div class="footer_site">
|
76 |
+
<?php echo $this->getChildHtml('footer') ?>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
<!-- footer_act -->
|
80 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
81 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
82 |
+
</body>
|
83 |
+
</html>
|
app/design/frontend/default/freepop/template/page/2columns-right.phtml
ADDED
@@ -0,0 +1,86 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Template for Mage_Page_Block_Html
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
32 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
33 |
+
<head>
|
34 |
+
<?php echo $this->getChildHtml('head') ?>
|
35 |
+
</head>
|
36 |
+
<body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
|
37 |
+
<div id="wrapper_outsite">
|
38 |
+
<div id="wrapper">
|
39 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
40 |
+
<!-- header_act -->
|
41 |
+
<div class="header_act">
|
42 |
+
<?php echo $this->getChildHtml('header') ?>
|
43 |
+
</div>
|
44 |
+
<!-- /header_act -->
|
45 |
+
<!-- content_act -->
|
46 |
+
<div class="content_act">
|
47 |
+
<!-- start middle -->
|
48 |
+
<div class="middle-container">
|
49 |
+
<div class="middle col-2-right-layout">
|
50 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
51 |
+
<!-- start center -->
|
52 |
+
<div id="main" class="col-main">
|
53 |
+
<!-- start global messages -->
|
54 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
55 |
+
<!-- end global messages -->
|
56 |
+
|
57 |
+
<!-- start content -->
|
58 |
+
<?php echo $this->getChildHtml('content') ?>
|
59 |
+
<!-- end content -->
|
60 |
+
</div>
|
61 |
+
<!-- end center -->
|
62 |
+
|
63 |
+
<!-- start right -->
|
64 |
+
<div class="col-right side-col">
|
65 |
+
<?php echo $this->getChildHtml('right') ?>
|
66 |
+
</div>
|
67 |
+
<!-- end right -->
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
<!-- end middle -->
|
71 |
+
</div>
|
72 |
+
<!-- /content_act -->
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
<!-- /wrapper -->
|
76 |
+
<!-- footer_act -->
|
77 |
+
<div class="footer_act">
|
78 |
+
<div class="footer_site">
|
79 |
+
<?php echo $this->getChildHtml('footer') ?>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
<!-- footer_act -->
|
83 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
84 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
85 |
+
</body>
|
86 |
+
</html>
|
app/design/frontend/default/freepop/template/page/3columns.phtml
ADDED
@@ -0,0 +1,96 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
34 |
+
<head>
|
35 |
+
<?php echo $this->getChildHtml('head') ?>
|
36 |
+
</head>
|
37 |
+
<body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
|
38 |
+
<div id="wrapper_outsite">
|
39 |
+
<div id="wrapper">
|
40 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
+
<!-- header_act -->
|
42 |
+
<div class="header_act">
|
43 |
+
<?php echo $this->getChildHtml('header') ?>
|
44 |
+
</div>
|
45 |
+
<!-- /header_act -->
|
46 |
+
<!-- content_act -->
|
47 |
+
<div class="content_act">
|
48 |
+
<!-- start middle -->
|
49 |
+
<div class="middle-container">
|
50 |
+
<div class="middle col-3-layout">
|
51 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
52 |
+
<!-- start left -->
|
53 |
+
<div class="col-left side-col">
|
54 |
+
<?php echo $this->getChildHtml('left') ?>
|
55 |
+
</div>
|
56 |
+
<!-- end left -->
|
57 |
+
<!-- start center -->
|
58 |
+
<div id="main" class="col-main">
|
59 |
+
<!-- start global messages -->
|
60 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
61 |
+
<!-- end global messages -->
|
62 |
+
|
63 |
+
<!-- start content -->
|
64 |
+
<?php echo $this->getChildHtml('content') ?>
|
65 |
+
<!-- end content -->
|
66 |
+
</div>
|
67 |
+
<!-- end center -->
|
68 |
+
|
69 |
+
<!-- start right -->
|
70 |
+
<div class="col-right side-col">
|
71 |
+
<?php echo $this->getChildHtml('right') ?>
|
72 |
+
</div>
|
73 |
+
<!-- end right -->
|
74 |
+
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
<!-- end middle -->
|
78 |
+
</div>
|
79 |
+
<!-- /content_act -->
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
<!-- /wrapper -->
|
83 |
+
<!-- footer_act -->
|
84 |
+
<div class="footer_act">
|
85 |
+
<div class="footer_site">
|
86 |
+
<?php echo $this->getChildHtml('footer') ?>
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
<!-- footer_act -->
|
90 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
91 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
92 |
+
</body>
|
93 |
+
</html>
|
94 |
+
|
95 |
+
|
96 |
+
|
app/design/frontend/default/freepop/template/page/dashboard.phtml
ADDED
@@ -0,0 +1,83 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
34 |
+
<head>
|
35 |
+
<?php echo $this->getChildHtml('head') ?>
|
36 |
+
</head>
|
37 |
+
<body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
|
38 |
+
<div class="wrapper">
|
39 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
40 |
+
<!-- start header -->
|
41 |
+
<div class="header">
|
42 |
+
<?php echo $this->getChildHtml('header') ?>
|
43 |
+
</div>
|
44 |
+
<!-- end header -->
|
45 |
+
|
46 |
+
<!-- start middle -->
|
47 |
+
<div class="middle-container">
|
48 |
+
<div class="middle col-2-right-layout">
|
49 |
+
<!-- start center -->
|
50 |
+
<div id="main" class="col-main account-main">
|
51 |
+
<!-- start global messages -->
|
52 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
53 |
+
<!-- end global messages -->
|
54 |
+
|
55 |
+
<!-- start content -->
|
56 |
+
<?php echo $this->getChildHtml('content') ?>
|
57 |
+
<!-- end content -->
|
58 |
+
|
59 |
+
</div>
|
60 |
+
<!-- end center -->
|
61 |
+
|
62 |
+
<!-- start right -->
|
63 |
+
<div class="col-right side-col account-side">
|
64 |
+
<?php echo $this->getChildHtml('right') ?>
|
65 |
+
</div>
|
66 |
+
<!-- end right -->
|
67 |
+
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
<!-- end middle -->
|
71 |
+
|
72 |
+
<!-- start footer -->
|
73 |
+
<div class="footer-container">
|
74 |
+
<div class="footer">
|
75 |
+
<?php echo $this->getChildHtml('footer') ?>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<!-- end footer -->
|
79 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
80 |
+
</div>
|
81 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
82 |
+
</body>
|
83 |
+
</html>
|
app/design/frontend/default/freepop/template/page/html/breadcrumbs.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($crumbs && is_array($crumbs)): ?>
|
28 |
+
<h4 class="no-display"><?php echo $this->__("You're currently on:") ?></h4>
|
29 |
+
<ul class="breadcrumbs">
|
30 |
+
<?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
|
31 |
+
<li class="<?php echo $_crumbName ?>">
|
32 |
+
<?php if($_crumbInfo['link']): ?>
|
33 |
+
<a href="<?php echo $_crumbInfo['link'] ?>" title="<?php echo $this->htmlEscape($_crumbInfo['title']) ?>"><?php echo $this->htmlEscape($_crumbInfo['label']) ?></a>
|
34 |
+
<?php elseif($_crumbInfo['last']): ?>
|
35 |
+
<strong><?php echo $this->htmlEscape($_crumbInfo['label']) ?></strong>
|
36 |
+
<?php else: ?>
|
37 |
+
<?php echo $this->htmlEscape($_crumbInfo['label']) ?>
|
38 |
+
<?php endif; ?>
|
39 |
+
</li>
|
40 |
+
<?php if(!$_crumbInfo['last']): ?>
|
41 |
+
<li> / </li>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</ul>
|
45 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/page/html/footer.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="informational">
|
28 |
+
<?php echo $this->getChildHtml() ?>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<p><?php echo $this->getCopyright() ?>Designed by<a href="http://www.hello-magento.com/"> HelloMagento</a></p>
|
app/design/frontend/default/freepop/template/page/html/head.phtml
ADDED
@@ -0,0 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<title><?php echo $this->getTitle() ?></title>
|
28 |
+
<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
|
29 |
+
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
|
30 |
+
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
|
31 |
+
<meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
|
32 |
+
<?php echo $this->getChildHtml() ?>
|
33 |
+
<link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
34 |
+
<link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
35 |
+
<script type="text/javascript">
|
36 |
+
//<![CDATA[
|
37 |
+
var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
|
38 |
+
var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
|
39 |
+
//]]>
|
40 |
+
</script>
|
41 |
+
<?php echo $this->getCssJsHtml() ?>
|
42 |
+
<?php echo $this->helper('core/js')->getTranslatorScript() ?>
|
43 |
+
<?php echo $this->getIncludes() ?>
|
app/design/frontend/default/freepop/template/page/html/header.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<div class="header-top-container">
|
29 |
+
<div class="header-top">
|
30 |
+
<h1 id="logo">
|
31 |
+
<a href="<?php echo $this->getUrl('') ?>">
|
32 |
+
<img src="<?php echo $this->getSkinUrl('images/logo.png') ?>" alt="<?php echo $this->getLogoAlt() ?>" />
|
33 |
+
</a>
|
34 |
+
</h1>
|
35 |
+
<p class="no-display"><a href="#main"><strong><?php echo $this->__('Skip to Main Content') ?> »</strong></a></p>
|
36 |
+
<?php echo $this->getChildHtml('topSearch') ?>
|
37 |
+
<div class="quick-access">
|
38 |
+
<?php //echo $this->getWelcome() ?>
|
39 |
+
<div class="shop-access">
|
40 |
+
<?php echo $this->getChildHtml('topLinks') ?>
|
41 |
+
</div>
|
42 |
+
<?php echo $this->getChildHtml('store_language') ?>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<?php echo $this->getChildHtml('topMenu') ?>
|
app/design/frontend/default/freepop/template/page/html/notices.phtml
ADDED
@@ -0,0 +1,44 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Page_Block_Html_Notices
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php if ($this->displayNoscriptNotice()): ?>
|
33 |
+
<noscript>
|
34 |
+
<div class="noscript">
|
35 |
+
<div class="noscript-inner">
|
36 |
+
<p><strong><?php echo $this->__('We detected that your JavaScript seem to be disabled.'); ?></strong></p>
|
37 |
+
<p><?php echo $this->__('You must have JavaScript enabled in your browser to utilize the functionality of this website.'); ?></p>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
</noscript>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php if ($this->displayDemoNotice()): ?>
|
43 |
+
<p class="demo-notice"><?php echo $this->__('This is a demo store. Any orders placed through this store will not be honored or fulfilled.') ?></p>
|
44 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/page/html/pager.phtml
ADDED
@@ -0,0 +1,77 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 |
+
<table class="pager" cellspacing="0">
|
36 |
+
<tr>
|
37 |
+
<td>
|
38 |
+
<?php if($this->getLastPageNum()>1): ?>
|
39 |
+
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
40 |
+
<?php else: ?>
|
41 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
42 |
+
<?php endif; ?>
|
43 |
+
</td>
|
44 |
+
<?php if($this->getLastPageNum()>1): ?>
|
45 |
+
<td class="pages">
|
46 |
+
<strong><?php echo $this->__('Page:') ?></strong>
|
47 |
+
<ol>
|
48 |
+
<?php if (!$this->isFirstPage()): ?>
|
49 |
+
<li><a href="<?php echo $this->getPreviousPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous Page') ?>" /></a></li>
|
50 |
+
<?php endif ?>
|
51 |
+
<?php foreach ($this->getPages() as $_page): ?>
|
52 |
+
<?php if ($this->isPageCurrent($_page)): ?>
|
53 |
+
<li><span class="on"><?php echo $_page ?></span></li>
|
54 |
+
<?php else: ?>
|
55 |
+
<li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
|
56 |
+
<?php endif ?>
|
57 |
+
<?php endforeach;; ?>
|
58 |
+
<?php if (!$this->isLastPage()): ?>
|
59 |
+
<li><a href="<?php echo $this->getNextPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next Page') ?>"/></a></li>
|
60 |
+
<?php endif ?>
|
61 |
+
</ol>
|
62 |
+
</td>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php if($this->getShowPerPage()): ?>
|
65 |
+
<td class="a-right">
|
66 |
+
<?php echo $this->__('Show') ?> <select onchange="setLocation(this.value)">
|
67 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
68 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
69 |
+
<?php echo $_limit ?>
|
70 |
+
</option>
|
71 |
+
<?php endforeach; ?>
|
72 |
+
</select> <?php echo $this->__('per page') ?>
|
73 |
+
</td>
|
74 |
+
<?php endif ?>
|
75 |
+
</tr>
|
76 |
+
</table>
|
77 |
+
<?php endif ?>
|
app/design/frontend/default/freepop/template/page/html/top.links.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($toplinks && is_array($toplinks)): ?>
|
28 |
+
<ul>
|
29 |
+
<?php echo $this->getChildHtml() ?>
|
30 |
+
<?php foreach($toplinks as $_toplink): ?>
|
31 |
+
<li<?php if($_toplink['first']||$_toplink['last']): ?> class="<?php if($_toplink['first']): ?>first <?php endif; ?><?php if($_toplink['last']): ?>last <?php endif; ?>"<?php endif; ?> <?php echo $_toplink['liParams'] ?>> <?php echo $_toplink['beforeText'] ?><a <?php echo $_toplink['aParams'] ?>><?php echo $_toplink['innerText'] ?></a><?php echo $_toplink['afterText'] ?></li>
|
32 |
+
<?php endforeach; ?>
|
33 |
+
</ul>
|
34 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/page/html/wrapper.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* This template is for generic wrapper purposes, including ajax.updater loaded blocks
|
29 |
+
*
|
30 |
+
* Usage in layout xml files:
|
31 |
+
* <block type="core/template" template="page/html/wrapper.phtml">
|
32 |
+
* <action method="setId"><id>some-custom-identificator</id></action>
|
33 |
+
*
|
34 |
+
* <!-- optional -->
|
35 |
+
* <action method="setTag"><tag>span</tag></action> <!-- div is used if not specified -->
|
36 |
+
* <action method="setParams"><params>class="custom-class"</params></action>
|
37 |
+
*
|
38 |
+
* <!-- insert wrapped blocks here -->
|
39 |
+
* </block>
|
40 |
+
*/
|
41 |
+
?>
|
42 |
+
<?php $_tag = $this->hasTag() ? $this->getTag() : "div" ?>
|
43 |
+
<<?php echo $_tag?> id="<?php echo $this->getId()?>" <?php echo $this->getParams()?>>
|
44 |
+
<?php echo $this->getChildHtml()?>
|
45 |
+
</<?php echo $_tag?>>
|
app/design/frontend/default/freepop/template/page/js/calendar.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Calendar localization script. Should be put into page header.
|
30 |
+
*
|
31 |
+
* @see Mage_Core_Block_Html_Calendar
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
|
35 |
+
<script type="text/javascript">
|
36 |
+
//<![CDATA[
|
37 |
+
enUS = <?php echo $enUS?>; // en_US locale reference
|
38 |
+
Calendar._DN = <?php echo $days['wide']?>; // full day names
|
39 |
+
Calendar._SDN = <?php echo $days['abbreviated']?>; // short day names
|
40 |
+
Calendar._FD = <?php echo $firstDay?>; // First day of the week. "0" means display Sunday first, "1" means display Monday first, etc.
|
41 |
+
Calendar._MN = <?php echo $months['wide']?>; // full month names
|
42 |
+
Calendar._SMN = <?php echo $months['abbreviated']?>; // short month names
|
43 |
+
Calendar._am = <?php echo $am ?>; // am/pm
|
44 |
+
Calendar._pm = <?php echo $pm ?>;
|
45 |
+
|
46 |
+
// tooltips
|
47 |
+
Calendar._TT = {};
|
48 |
+
Calendar._TT["INFO"] = "<?php echo $this->jsQuoteEscape( $this->__('About the calendar') );?>";
|
49 |
+
|
50 |
+
Calendar._TT["ABOUT"] =
|
51 |
+
"<?php echo $this->jsQuoteEscape( $this->__('DHTML Date/Time Selector') )?>\n" +
|
52 |
+
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" +
|
53 |
+
"<?php echo $this->jsQuoteEscape( $this->__('For latest version visit: %s', 'http://www.dynarch.com/projects/calendar/') )?>\n" +
|
54 |
+
"<?php echo $this->jsQuoteEscape( $this->__('Distributed under GNU LGPL. See %s for details.', 'http://gnu.org/licenses/lgpl.html') )?>" +
|
55 |
+
"\n\n" +
|
56 |
+
"<?php echo $this->jsQuoteEscape( $this->__('Date selection:') )?>\n" +
|
57 |
+
"<?php echo $this->jsQuoteEscape( $this->__('- Use the %s, %s buttons to select year', '\\xab', '\xbb') )?>\n" +
|
58 |
+
"<?php echo $this->jsQuoteEscape( $this->__('- Use the %s buttons to select month', '" + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "') )?>\n" +
|
59 |
+
"<?php echo $this->jsQuoteEscape( $this->__('- Hold mouse button on any of the above buttons for faster selection.') )?>";
|
60 |
+
Calendar._TT["ABOUT_TIME"] = "\n\n" +
|
61 |
+
"<?php echo $this->jsQuoteEscape( $this->__('Time selection:') )?>\n" +
|
62 |
+
"<?php echo $this->jsQuoteEscape( $this->__('- Click on any of the time parts to increase it') )?>\n" +
|
63 |
+
"<?php echo $this->jsQuoteEscape( $this->__('- or Shift-click to decrease it') )?>\n" +
|
64 |
+
"<?php echo $this->jsQuoteEscape( $this->__('- or click and drag for faster selection.') )?>";
|
65 |
+
|
66 |
+
Calendar._TT["PREV_YEAR"] = "<?php echo $this->jsQuoteEscape( $this->__('Prev. year (hold for menu)') );?>";
|
67 |
+
Calendar._TT["PREV_MONTH"] = "<?php echo $this->jsQuoteEscape( $this->__('Prev. month (hold for menu)') );?>";
|
68 |
+
Calendar._TT["GO_TODAY"] = "<?php echo $this->jsQuoteEscape( $this->__('Go Today') );?>";
|
69 |
+
Calendar._TT["NEXT_MONTH"] = "<?php echo $this->jsQuoteEscape( $this->__('Next month (hold for menu)') );?>";
|
70 |
+
Calendar._TT["NEXT_YEAR"] = "<?php echo $this->jsQuoteEscape( $this->__('Next year (hold for menu)') );?>";
|
71 |
+
Calendar._TT["SEL_DATE"] = "<?php echo $this->jsQuoteEscape( $this->__('Select date') );?>";
|
72 |
+
Calendar._TT["DRAG_TO_MOVE"] = "<?php echo $this->jsQuoteEscape( $this->__('Drag to move') );?>";
|
73 |
+
Calendar._TT["PART_TODAY"] = ' (' + <?php echo $today ?> + ')';
|
74 |
+
|
75 |
+
// the following is to inform that "%s" is to be the first day of week
|
76 |
+
Calendar._TT["DAY_FIRST"] = "<?php echo $this->jsQuoteEscape( $this->__('Display %s first', '%s') );?>";
|
77 |
+
|
78 |
+
// This may be locale-dependent. It specifies the week-end days, as an array
|
79 |
+
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
80 |
+
// means Monday, etc.
|
81 |
+
Calendar._TT["WEEKEND"] = <?php echo $weekendDays?>;
|
82 |
+
|
83 |
+
Calendar._TT["CLOSE"] = "<?php echo $this->jsQuoteEscape( $this->__('Close') );?>";
|
84 |
+
Calendar._TT["TODAY"] = <?php echo $today ?>;
|
85 |
+
Calendar._TT["TIME_PART"] = "<?php echo $this->jsQuoteEscape( $this->__('(Shift-)Click or drag to change value') );?>";
|
86 |
+
|
87 |
+
// date formats
|
88 |
+
Calendar._TT["DEF_DATE_FORMAT"] = <?php echo $defaultFormat?>;
|
89 |
+
Calendar._TT["TT_DATE_FORMAT"] = <?php echo $toolTipFormat?>;
|
90 |
+
|
91 |
+
Calendar._TT["WK"] = <?php echo $week ?>;
|
92 |
+
Calendar._TT["TIME"] = "<?php echo $this->jsQuoteEscape( $this->__('Time:') );?>";
|
93 |
+
//]]>
|
94 |
+
</script>
|
app/design/frontend/default/freepop/template/page/one-column.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
34 |
+
<head>
|
35 |
+
<?php echo $this->getChildHtml('head') ?>
|
36 |
+
</head>
|
37 |
+
<body class="page-popup <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
38 |
+
<?php echo $this->getChildHtml('content') ?>
|
39 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
40 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
41 |
+
</body>
|
42 |
+
</html>
|
app/design/frontend/default/freepop/template/page/print.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
34 |
+
<head>
|
35 |
+
<?php echo $this->getChildHtml('head') ?>
|
36 |
+
</head>
|
37 |
+
<body class="page-popup<?php echo !$this->getBodyClass()?' '.$this->getBodyClass():'' ?>">
|
38 |
+
<div>
|
39 |
+
<div class="print-head">
|
40 |
+
<img src="<?php echo $this->getPrintLogoUrl() ? $this->getPrintLogoUrl() : $this->getSkinUrl('images/logo_print.gif') ?>" alt="" />
|
41 |
+
<?php if ($this->getPrintLogoText()):?>
|
42 |
+
<address><?php echo nl2br($this->htmlEscape($this->getPrintLogoText())) ?></address>
|
43 |
+
<?php endif;?>
|
44 |
+
</div>
|
45 |
+
<?php echo $this->getChildHtml('content') ?>
|
46 |
+
<div class="button-set">
|
47 |
+
<button onclick="window.close();" class="form-button"><span><?php echo $this->__('Close Window') ?></span></button>
|
48 |
+
</div>
|
49 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
50 |
+
</div>
|
51 |
+
</body>
|
52 |
+
</html>
|
app/design/frontend/default/freepop/template/page/redirect.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage_Page
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-head">
|
28 |
+
<h3><?php echo $this->__('Redirecting...') ?></h3>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<?php if($this->getMessage()): ?>
|
32 |
+
<p><?php echo $this->getMessage() ?></p>
|
33 |
+
<?php endif; ?>
|
34 |
+
|
35 |
+
<?php echo $this->getRedirectOutput() ?>
|
36 |
+
|
37 |
+
<?php if(!$this->isHtmlFormRedirect()): ?>
|
38 |
+
<p><?php echo $this->__('Click <a href="%s">here</a> if nothing has happened', $this->getTargetURL()) ?></p>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/page/switch/flags.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if(count($this->getStores())>1): ?>
|
28 |
+
<div class="language-switcher">
|
29 |
+
<label for="select-language"><?php echo $this->__('Your Language') ?>: </label>
|
30 |
+
<select id="select-language" class="flag" onchange="window.location.href=this.value">
|
31 |
+
<?php foreach ($this->getStores() as $_lang): ?>
|
32 |
+
<?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? 'selected="selected"' : '' ?>
|
33 |
+
<option style="background-image:url('<?php echo $this->getSkinUrl('images/flag_'.$_lang->getCode().'.gif') ?>');" value="<?php echo $_lang->getCurrentUrl() ?>" <?php echo $_selected ?>>
|
34 |
+
<?php echo $this->htmlEscape($_lang->getName()) ?></option>
|
35 |
+
<?php endforeach; ?>
|
36 |
+
</select>
|
37 |
+
</div>
|
38 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/page/switch/languages.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Language switcher template
|
30 |
+
*
|
31 |
+
* @see Mage_Page_Block_Switch
|
32 |
+
*/
|
33 |
+
|
34 |
+
?>
|
35 |
+
<?php if(count($this->getStores())>1): ?>
|
36 |
+
<div class="language-switcher">
|
37 |
+
<label for="select-language"><?php echo $this->__('Your Language:') ?> </label>
|
38 |
+
<select id="select-language" onchange="window.location.href=this.value">
|
39 |
+
<?php foreach ($this->getStores() as $_lang): ?>
|
40 |
+
<?php $_selected = ($_lang->getId()==$this->getCurrentStoreId()) ? 'selected="selected"' : '' ?>
|
41 |
+
<option value="<?php echo $_lang->getCurrentUrl() ?>" <?php echo $_selected ?>><?php echo $this->htmlEscape($_lang->getName()) ?></option>
|
42 |
+
<?php endforeach; ?>
|
43 |
+
</select>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/page/switch/stores.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Store switcher template
|
30 |
+
*
|
31 |
+
* @see Mage_Core_Block_Store_Switcher
|
32 |
+
*/
|
33 |
+
|
34 |
+
?>
|
35 |
+
<?php if(count($this->getGroups())>1): ?>
|
36 |
+
<div class="store-switcher">
|
37 |
+
<label for="select-store"><?php echo $this->__('Select Store') ?>: </label>
|
38 |
+
<select id="select-store" onchange="location.href=this.value">
|
39 |
+
<?php /*foreach ($this->getStores() as $_store): ?>
|
40 |
+
<option value="<?php echo $_store->getUrl('') ?>"<?php if($_store->getId()==$this->getCurrentStoreId()): ?> selected="selected"<?php endif; ?>><?php echo $_store->getName() ?></option>
|
41 |
+
<?php endforeach;*/ ?>
|
42 |
+
<?php foreach ($this->getGroups() as $_group): ?>
|
43 |
+
<?php $_selected = ($_group->getId()==$this->getCurrentGroupId()) ? 'selected="selected"' : '' ?>
|
44 |
+
<option value="<?php echo $_group->getHomeUrl() ?>" <?php echo $_selected ?>><?php echo $this->htmlEscape($_group->getName()) ?></option>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</select>
|
47 |
+
</div>
|
48 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/page/template/container.phtml
ADDED
@@ -0,0 +1,35 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Page_Block_Template_Container
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<div class="page-head">
|
33 |
+
<h3><?php echo $this->getTitle() ?></h3>
|
34 |
+
</div>
|
35 |
+
<?php echo $this->getChildHtml() ?>
|
app/design/frontend/default/freepop/template/page/template/links.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Page_Block_Template_Links
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_links = $this->getLinks(); ?>
|
33 |
+
<?php if(count($_links)>0): ?>
|
34 |
+
|
35 |
+
<ul style="float:left;" <?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
|
36 |
+
<?php foreach($_links as $_link): ?>
|
37 |
+
<li <?php if($_link->getIsFirst()): ?> class="first"<?php elseif($_link->getIsLast()): ?> class="last"<?php endif; ?><?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</ul>
|
40 |
+
|
41 |
+
<div class="clear_both"><span></span></div>
|
42 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/reports/home_product_compared.phtml
ADDED
@@ -0,0 +1,66 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
29 |
+
<div class="box recently">
|
30 |
+
<h3><?php echo $this->__('Your Recently Compared') ?></h3>
|
31 |
+
<table cellspacing="0" class="recently-list" id="recently-compared-list-table">
|
32 |
+
<tr>
|
33 |
+
<?php $i=0; foreach ($_products as $_product): ?>
|
34 |
+
<?php if ($i>5): continue; endif; ?>
|
35 |
+
<td>
|
36 |
+
<div>
|
37 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
|
38 |
+
<img class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80, 77) ?>" width="80" height="77" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
<p><a class="product-name" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>)"><?php echo $this->htmlEscape($_product->getName()) ?></a></p>
|
42 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
43 |
+
<?php echo $this->getPriceHtml($_product, true, '-home-compared') ?>
|
44 |
+
<?php if($_product->isSaleable()): ?>
|
45 |
+
<button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
46 |
+
<?php else: ?>
|
47 |
+
<div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
|
48 |
+
<?php endif; ?>
|
49 |
+
<div class="clear"></div>
|
50 |
+
<p class="add-to">
|
51 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
52 |
+
<a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?><br />
|
55 |
+
<a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
|
56 |
+
<?php endif; ?>
|
57 |
+
</p>
|
58 |
+
</td>
|
59 |
+
<?php $i++; endforeach; ?>
|
60 |
+
<?php for($i;$i%5!=0;$i++): ?>
|
61 |
+
<td> </td>
|
62 |
+
<?php endfor ?>
|
63 |
+
</tr>
|
64 |
+
</table>
|
65 |
+
</div>
|
66 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/reports/home_product_viewed.phtml
ADDED
@@ -0,0 +1,72 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Reports_Block_Product_Viewed
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
34 |
+
<div class="box recently">
|
35 |
+
<h3><?php echo $this->__('Your Recently Viewed') ?></h3>
|
36 |
+
<table cellspacing="0" class="recently-list" id="recently-viewed-list-table">
|
37 |
+
<tr>
|
38 |
+
<?php $i=0; foreach ($_products as $_product): ?>
|
39 |
+
<?php if ($i>5): continue; endif; ?>
|
40 |
+
|
41 |
+
<td>
|
42 |
+
<div>
|
43 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
|
44 |
+
<img class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80, 77) ?>" width="80" height="77" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
|
45 |
+
</a>
|
46 |
+
</div>
|
47 |
+
<p><a class="product-name" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>)"><?php echo $this->htmlEscape($_product->getName()) ?></a></p>
|
48 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
49 |
+
<?php echo $this->getPriceHtml($_product, true, '-home-viewed') ?>
|
50 |
+
<?php if($_product->isSaleable()): ?>
|
51 |
+
<button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
|
52 |
+
<?php else: ?>
|
53 |
+
<div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
|
54 |
+
<?php endif; ?>
|
55 |
+
<div class="clear"></div>
|
56 |
+
<p class="add-to">
|
57 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
58 |
+
<a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
|
59 |
+
<?php endif; ?>
|
60 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?><br />
|
61 |
+
<a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
|
62 |
+
<?php endif; ?>
|
63 |
+
</p>
|
64 |
+
</td>
|
65 |
+
<?php $i++; endforeach; ?>
|
66 |
+
<?php for($i;$i%5!=0;$i++): ?>
|
67 |
+
<td> </td>
|
68 |
+
<?php endfor ?>
|
69 |
+
</tr>
|
70 |
+
</table>
|
71 |
+
</div>
|
72 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/reports/product_compared.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
28 |
+
<div class="box base-mini mini-compare-products">
|
29 |
+
<div class="head">
|
30 |
+
<h4><span><?php echo $this->__('Recently Compared Products') ?></span></h4>
|
31 |
+
</div>
|
32 |
+
<div class="content">
|
33 |
+
<ol id="recently-compared-items">
|
34 |
+
<?php foreach ($_products as $_item): ?>
|
35 |
+
<li><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></li>
|
36 |
+
<?php endforeach; ?>
|
37 |
+
</ol>
|
38 |
+
</div>
|
39 |
+
<script type="text/javascript">decorateList('recently-compared-items');</script>
|
40 |
+
</div>
|
41 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/reports/product_viewed.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
28 |
+
<div class="box base-mini mini-product-view">
|
29 |
+
<div class="head">
|
30 |
+
<h4><span><?php echo $this->__('Recently Viewed Products') ?></span></h4>
|
31 |
+
</div>
|
32 |
+
<div class="middle_box">
|
33 |
+
<ol id="recently-viewed-items">
|
34 |
+
<?php foreach ($_products as $_item): ?>
|
35 |
+
<li><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></li>
|
36 |
+
<?php endforeach; ?>
|
37 |
+
</ol>
|
38 |
+
</div>
|
39 |
+
<script type="text/javascript">decorateList('recently-viewed-items')</script>
|
40 |
+
</div>
|
41 |
+
<div class="bottom_box"><span></span></div>
|
42 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/review/customer/list.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
28 |
+
<div class="page-head">
|
29 |
+
<h3><?php echo $this->__('My Product Reviews') ?></h3>
|
30 |
+
</div>
|
31 |
+
<?php if( $this->getCollection() && $this->count()): ?>
|
32 |
+
<?php echo $this->getToolbarHtml() ?>
|
33 |
+
<table class="data-table box-table" id="my-reviews-table" cellspacing="0">
|
34 |
+
<col width="60" />
|
35 |
+
<col width="200" />
|
36 |
+
<col width="80" />
|
37 |
+
<col />
|
38 |
+
<col width="100" />
|
39 |
+
<tbody>
|
40 |
+
<?php foreach ($this->getCollection() as $_review): ?>
|
41 |
+
<tr>
|
42 |
+
<td><?php echo $this->dateFormat($_review->getCreatedAt()) ?></td>
|
43 |
+
<td><a href="<?php echo $this->getProductLink() ?>id/<?php echo $_review->getEntityPkValue() ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a></td>
|
44 |
+
<td>
|
45 |
+
<?php if($_review->getSum()): ?>
|
46 |
+
<div class="rating-box">
|
47 |
+
<div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
|
48 |
+
</div>
|
49 |
+
<?php endif; ?>
|
50 |
+
</td>
|
51 |
+
<td><?php echo $this->htmlEscape($this->helper('review')->getDetail($_review->getDetail())) ?></td>
|
52 |
+
<td class="last a-center"><a href="<?php echo $this->getReviewLink() ?>id/<?php echo $_review->getReviewId() ?>"><?php echo $this->__('View Details') ?></a></td>
|
53 |
+
</tr>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
</tbody>
|
56 |
+
</table>
|
57 |
+
<script type="text/javascript">decorateTable('my-reviews-table')</script>
|
58 |
+
<?php echo $this->getToolbarHtml() ?>
|
59 |
+
<?php else: ?>
|
60 |
+
<p><?php echo $this->__('You have submitted no reviews.') ?></p>
|
61 |
+
<?php endif; ?>
|
62 |
+
<div class="button-set">
|
63 |
+
<a href="<?php echo $this->getBackUrl() ?>" class="left">«<?php echo $this->__('Back') ?></a>
|
64 |
+
</div>
|
app/design/frontend/default/freepop/template/review/customer/recent.phtml
ADDED
@@ -0,0 +1,53 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if( $this->getCollection() && $this->count()): ?>
|
28 |
+
<div class="account-box ad-reviews">
|
29 |
+
<div class="head">
|
30 |
+
<h4><?php echo $this->__('My Recent Reviews') ?></h4>
|
31 |
+
<a href="<?php echo $this->getAllReviewsUrl() ?>"><small><?php echo $this->__('View All Reviews') ?></small></a>
|
32 |
+
</div>
|
33 |
+
<?php $iterator = 0 ?>
|
34 |
+
<?php foreach ($this->getCollection() as $_review): ?>
|
35 |
+
<ol class="recent-reviews">
|
36 |
+
<li<?php if($iterator % 2 == 0): ?> class="odd"<?php endif; ?>>
|
37 |
+
<div class="count"><?php echo ++$iterator ?></div>
|
38 |
+
<div class="content">
|
39 |
+
<a href="<?php echo $this->getReviewUrl($_review->getReviewId()) ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a>
|
40 |
+
<?php if($_review->getSum()): ?>
|
41 |
+
<div class="ratings">
|
42 |
+
<small><?php echo $this->__('Rating:') ?></small>
|
43 |
+
<div class="rating-box">
|
44 |
+
<div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
<?php endif; ?>
|
48 |
+
</div>
|
49 |
+
</li>
|
50 |
+
</ol>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
</div>
|
53 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/review/customer/view.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getProductData()->getId()): ?>
|
28 |
+
<div class="page-head">
|
29 |
+
<h3><?php echo $this->__('Review Details') ?></h3>
|
30 |
+
</div>
|
31 |
+
|
32 |
+
<div class="my-review-detail">
|
33 |
+
<div class="product-image">
|
34 |
+
<p><a href="<?php echo $this->getProductData()->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" alt="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" height="125" width="125" /></a></p>
|
35 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
36 |
+
<small><?php echo $this->__('Average Customer Rating:') ?></small>
|
37 |
+
<?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
|
38 |
+
<?php endif; ?>
|
39 |
+
</div>
|
40 |
+
<div class="details">
|
41 |
+
<h3><?php echo $this->htmlEscape($this->getProductData()->getName()) ?></h3>
|
42 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
43 |
+
<strong><?php echo $this->__('Your Rating:') ?></strong>
|
44 |
+
<table cellspacing="0" class="ratings-list">
|
45 |
+
<?php foreach ($this->getRating() as $_rating): ?>
|
46 |
+
<?php if($_rating->getPercent()): ?>
|
47 |
+
<tr>
|
48 |
+
<td class="label"><?php echo $_rating->getRatingCode() ?></td>
|
49 |
+
<td><div class="rating-box">
|
50 |
+
<div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
|
51 |
+
</div></td>
|
52 |
+
</tr>
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
</table>
|
56 |
+
<?php endif; ?>
|
57 |
+
<?php echo $this->__('Your Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
|
58 |
+
<div class="description">
|
59 |
+
<p><?php echo nl2br($this->htmlEscape($this->getReviewData()->getDetail())) ?></p>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<div class="button-set"><a href="<?php echo $this->getBackUrl() ?>" class="left">« <?php echo $this->__('Back to My Reviews') ?></a></div>
|
63 |
+
</div>
|
64 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/review/form.phtml
ADDED
@@ -0,0 +1,123 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-head">
|
28 |
+
<h3><?php echo $this->__('Write Your Own Review') ?></h3>
|
29 |
+
</div>
|
30 |
+
<h4><?php echo $this->__("You're reviewing: %s", $this->htmlEscape($this->getProductInfo()->getName())) ?></h4>
|
31 |
+
<form action="<?php echo $this->getAction() ?>" method="post" id="review-form">
|
32 |
+
<fieldset>
|
33 |
+
<?php if( $this->getRatings() && $this->getRatings()->getSize()): ?>
|
34 |
+
<div class="product-review-box">
|
35 |
+
<strong><?php echo $this->__('How do you rate this product?') ?><span class="required">*</span></strong><br />
|
36 |
+
<span id="input-message-box"></span>
|
37 |
+
<table class="data-table" id="product-review-table" cellspacing="0">
|
38 |
+
<thead>
|
39 |
+
<tr>
|
40 |
+
<th> </th>
|
41 |
+
<th><?php echo $this->__('1 star') ?></th>
|
42 |
+
<th><?php echo $this->__('2 stars') ?></th>
|
43 |
+
<th><?php echo $this->__('3 stars') ?></th>
|
44 |
+
<th><?php echo $this->__('4 stars') ?></th>
|
45 |
+
<th><?php echo $this->__('5 stars') ?></th>
|
46 |
+
</tr>
|
47 |
+
</thead>
|
48 |
+
<tbody>
|
49 |
+
<?php $_oddIterator = 1; ?>
|
50 |
+
<?php foreach ($this->getRatings() as $_rating): ?>
|
51 |
+
<tr class="odd<?php if($_oddIterator == $this->getRatings()->getSize()): $_oddIterator = 0; ?> last<?php endif; ?>">
|
52 |
+
<td class="label"><?php echo $_rating->getRatingCode() ?></td>
|
53 |
+
<?php $_iterator = 1; ?>
|
54 |
+
<?php foreach ($_rating->getOptions() as $_option): ?>
|
55 |
+
<!--<td <?php if($_iterator == 5): ?>class="last"<?php endif; ?> style="width:60px;"><input type="radio" <?php if($_iterator == 5): $_iterator=0; ?>class="validate-one-required-by-name"<?php endif; ?> name="ratings[<?php echo $_rating->getId() ?>]" id="<?php echo $_rating->getRatingCode() ?>_<?php echo $_option->getValue() ?>" value="<?php echo $_option->getId() ?>"/></td>-->
|
56 |
+
<td<?php if($_iterator == 5): ?> class="last"<?php endif; ?> style="width:60px;"><input type="radio" name="ratings[<?php echo $_rating->getId() ?>]" id="<?php echo $_rating->getRatingCode() ?>_<?php echo $_option->getValue() ?>" value="<?php echo $_option->getId() ?>" /></td>
|
57 |
+
<?php $_iterator++ ?>
|
58 |
+
<?php endforeach; ?>
|
59 |
+
</tr>
|
60 |
+
<?php $_oddIterator ++; ?>
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</tbody>
|
63 |
+
</table>
|
64 |
+
<input type="hidden" name="validate_rating" class="validate-rating" value="" />
|
65 |
+
<script type="text/javascript">decorateTable('product-review-table')</script>
|
66 |
+
</div>
|
67 |
+
<?php endif; ?>
|
68 |
+
<?php // do not remove div - some problem whith validator in IE ?>
|
69 |
+
<div>
|
70 |
+
<label for="nickname_field"><?php echo $this->__('Nickname') ?><span class="required">*</span></label><br />
|
71 |
+
<input class="input-text required-entry" name="nickname" id="nickname_field" style="width: 450px;" type="text" value="<?php echo $this->htmlEscape($data->getNickname()) ?>" />
|
72 |
+
</div>
|
73 |
+
|
74 |
+
<div>
|
75 |
+
<label for="summary_field"><?php echo $this->__('Summary of Your Review') ?><span class="required">*</span></label><br />
|
76 |
+
<input name="title" class="input-text required-entry" id="summary_field" style="width: 450px;" type="text" value="<?php echo $this->htmlEscape($data->getTitle()) ?>" />
|
77 |
+
</div>
|
78 |
+
|
79 |
+
<div>
|
80 |
+
<label for="review_field"><?php echo $this->__('Review') ?><span class="required">*</span></label><br />
|
81 |
+
<textarea class="required-entry" name="detail" id="review_field" cols="53" rows="10" style="width: 450px;"><?php echo $this->htmlEscape($data->getDetail()) ?></textarea>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
<div class="button-set">
|
85 |
+
<button class="form-button right" type="submit"><span><?php echo $this->__('Submit Review') ?></span></button>
|
86 |
+
</div>
|
87 |
+
</fieldset>
|
88 |
+
</form>
|
89 |
+
<script type="text/javascript">
|
90 |
+
//<![CDATA[
|
91 |
+
var dataForm = new VarienForm('review-form');
|
92 |
+
|
93 |
+
Validation.addAllThese(
|
94 |
+
[
|
95 |
+
['validate-rating', '<?php echo $this->__('Please select one of each of the ratings above') ?>', function(v) {
|
96 |
+
var trs = $('product-review-table').getElementsBySelector('tr');
|
97 |
+
var inputs;
|
98 |
+
var error = 1;
|
99 |
+
|
100 |
+
for( var j=0; j < trs.length; j++ ) {
|
101 |
+
var tr = trs[j];
|
102 |
+
if( j > 0 ) {
|
103 |
+
inputs = tr.getElementsBySelector('input');
|
104 |
+
|
105 |
+
for( i in inputs ) {
|
106 |
+
if( inputs[i].checked == true ) {
|
107 |
+
error = 0;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
if( error == 1 ) {
|
112 |
+
return false;
|
113 |
+
} else {
|
114 |
+
error = 1;
|
115 |
+
}
|
116 |
+
}
|
117 |
+
}
|
118 |
+
return true;
|
119 |
+
}]
|
120 |
+
]
|
121 |
+
);
|
122 |
+
//]]>
|
123 |
+
</script>
|
app/design/frontend/default/freepop/template/review/helper/summary.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php if ($this->getReviewsCount()): ?>
|
29 |
+
|
30 |
+
<div class="ratings">
|
31 |
+
<?php if ($this->getRatingSummary()):?>
|
32 |
+
<div class="rating-box">
|
33 |
+
<div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
|
34 |
+
</div>
|
35 |
+
<?php endif;?>
|
36 |
+
<a href="<?php echo $this->getReviewsUrl() ?>"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a>
|
37 |
+
<span class="pipe">|</span>
|
38 |
+
<a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Add Your Review') ?></a>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
<?php elseif ($this->getDisplayIfEmpty()): ?>
|
42 |
+
|
43 |
+
<p class="review_empty"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
|
44 |
+
|
45 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/review/helper/summary_short.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php if ($this->getReviewsCount()): ?>
|
29 |
+
|
30 |
+
<div class="ratings">
|
31 |
+
<?php if ($this->getRatingSummary()):?>
|
32 |
+
<div class="rating-box">
|
33 |
+
<div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
|
34 |
+
</div>
|
35 |
+
(<?php echo $this->getReviewsCount() ?>)
|
36 |
+
<?php else: ?>
|
37 |
+
<a href="<?php echo $this->getReviewsUrl() ?>"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a>
|
38 |
+
<?php endif;?>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
<?php elseif ($this->getDisplayIfEmpty()): ?>
|
42 |
+
|
43 |
+
<p><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
|
44 |
+
|
45 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/review/product/view/count.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (!empty($count)):?>
|
28 |
+
<a href="#customer-reviews" class="nobr"><small><?php echo $this->__('%s Review(s)', $count) ?></small></a>
|
29 |
+
<?php endif;?>
|
app/design/frontend/default/freepop/template/review/product/view/list.phtml
ADDED
@@ -0,0 +1,66 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_items = $this->getReviewsCollection()->getItems();?>
|
29 |
+
<?php if (count($_items)):?>
|
30 |
+
<div class="collateral-box dedicated-review-box" id="customer-reviews">
|
31 |
+
<div class="head">
|
32 |
+
<h4><?php echo $this->__('Customer Reviews') ?></h4>
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<?php echo $this->getChildHtml('toolbar') ?>
|
36 |
+
|
37 |
+
<ol style="margin-top:15px;">
|
38 |
+
<?php foreach ($_items as $_review):?>
|
39 |
+
<li>
|
40 |
+
<a href="<?php echo $this->getReviewUrl($_review->getId()) ?>"><strong><?php echo $this->htmlEscape($_review->getTitle()) ?></strong></a> <?php echo $this->__('Review by %s', $this->htmlEscape($_review->getNickname())) ?>
|
41 |
+
<table class="ratings-list" cellspacing="0">
|
42 |
+
<tbody>
|
43 |
+
<?php foreach ($_review->getRatingVotes() as $_vote): ?>
|
44 |
+
<tr>
|
45 |
+
<td class="label"><strong><?php echo $_vote->getRatingCode() ?></strong></td>
|
46 |
+
<td>
|
47 |
+
<div class="rating-box">
|
48 |
+
<div class="rating" style="width: <?php echo $_vote->getPercent() ?>%;"></div>
|
49 |
+
</div>
|
50 |
+
</td>
|
51 |
+
</tr>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</tbody>
|
54 |
+
</table>
|
55 |
+
<p><?php echo nl2br($this->htmlEscape($_review->getDetail())) ?> <?php echo $this->__('(Posted on %s)', $this->formatDate($_review->getCreatedAt()), 'long') ?></p>
|
56 |
+
</li>
|
57 |
+
<?php endforeach; ?>
|
58 |
+
</ol>
|
59 |
+
|
60 |
+
<?php echo $this->getChildHtml('toolbar') ?>
|
61 |
+
</div>
|
62 |
+
<?php endif;?>
|
63 |
+
|
64 |
+
<br/>
|
65 |
+
|
66 |
+
<?php echo $this->getChildHtml('review_form') ?>
|
app/design/frontend/default/freepop/template/review/product/view/other.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_product = Mage::registry('product'); ?>
|
29 |
+
<p><a href="<?php echo $_product->getProductUrl() ?>">« <?php echo $this->__('Back to Main Product Info') ?></a></p>
|
app/design/frontend/default/freepop/template/review/view.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getProductData()->getId()): ?>
|
28 |
+
<div class="page-head">
|
29 |
+
<h4><?php echo $this->__('Review Details') ?></h4>
|
30 |
+
</div>
|
31 |
+
<div class="my-review-detail">
|
32 |
+
<div class="product-image">
|
33 |
+
<p><a href="<?php echo $this->getProductData()->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" alt="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" height="100" width="100" /></a></p>
|
34 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
35 |
+
<small><?php echo $this->__('Average Customer Rating') ?>:</small>
|
36 |
+
<?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
|
37 |
+
<?php endif; ?>
|
38 |
+
</div>
|
39 |
+
<div class="details">
|
40 |
+
<h3><?php echo $this->htmlEscape($this->getProductData()->getName()) ?></h3>
|
41 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
42 |
+
<strong><?php echo $this->__('Product Rating:') ?></strong>
|
43 |
+
<?php foreach ($this->getRating() as $_rating): ?>
|
44 |
+
<?php if($_rating->getPercent()): ?>
|
45 |
+
<div class="ratings">
|
46 |
+
<?php echo $this->__($_rating->getRatingCode()) ?>
|
47 |
+
<div class="rating-box">
|
48 |
+
<div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
<?php endif; ?>
|
54 |
+
<div class="clear"></div>
|
55 |
+
<?php echo $this->__('Product Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
|
56 |
+
<div class="description">
|
57 |
+
<p><?php echo nl2br($this->htmlEscape($this->getReviewData()->getDetail())) ?></p>
|
58 |
+
</div>
|
59 |
+
</div></div>
|
60 |
+
<div class="button-set"><a href="<?php echo $this->getBackUrl() ?>" class="left">« <?php echo $this->__('Back to Product Reviews') ?></a></div><br />
|
61 |
+
<?php endif; ?>
|
app/design/frontend/default/freepop/template/sales/reorder/sidebar.phtml
ADDED
@@ -0,0 +1,84 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Last order sidebar
|
30 |
+
*
|
31 |
+
* @see Mage_Sale_Block_Reorder_Sidebar
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($_order = $this->getLastOrder()): ?>
|
35 |
+
<div class="box base-mini mini-compare-products">
|
36 |
+
<form method="post" action="<?php echo $this->getUrl('checkout/cart/addgroup') ?>" id="reorder-validate-detail">
|
37 |
+
<div class="head">
|
38 |
+
<h4 style="display: block; float: left;"><?php echo $this->__('My Orders') ?> - </h4>
|
39 |
+
<a href="<?php echo $this->getUrl('customer/account') ?>"><?php echo $this->__('View All') ?></a><br /><br />
|
40 |
+
|
41 |
+
</div>
|
42 |
+
<div class="middle_box">
|
43 |
+
<h5><?php echo $this->__('Last ordered items') ?></h5>
|
44 |
+
<ol id="cart-sidebar-reorder" class="options-list">
|
45 |
+
<?php $_showAddButtonFlag = false ?>
|
46 |
+
<?php foreach ($_order->getItemsRandomCollection(5) as $_item): ?>
|
47 |
+
<?php if ($_item->getProduct() && is_null($_item->getParentItem())): ?>
|
48 |
+
<li>
|
49 |
+
<div class="product-checkbox">
|
50 |
+
<?php if ($_item->getProduct()->getStockItem()->getIsInStock()): ?>
|
51 |
+
<?php $_showAddButtonFlag = true ?>
|
52 |
+
<input type="checkbox" name="order_items[]" id="reorder-item-<?php echo $_item->getId() ?>" value="<?php echo $_item->getId() ?>" class="validate-one-required-by-name" />
|
53 |
+
<script type="text/javascript">
|
54 |
+
$('reorder-item-<?php echo $_item->getId() ?>').advaiceContainer = 'cart-sidebar-reorder-advice-container';
|
55 |
+
</script>
|
56 |
+
<?php endif; ?>
|
57 |
+
</div>
|
58 |
+
<div class="product-names">
|
59 |
+
<a href="<?php echo $_item->getProduct()->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
|
60 |
+
</div>
|
61 |
+
</li>
|
62 |
+
<?php endif; ?>
|
63 |
+
<?php endforeach; ?>
|
64 |
+
</ol>
|
65 |
+
|
66 |
+
<script type="text/javascript">decorateList('cart-sidebar-reorder')</script>
|
67 |
+
<div id="cart-sidebar-reorder-advice-container"></div>
|
68 |
+
|
69 |
+
<?php if ($_showAddButtonFlag): ?>
|
70 |
+
<div class="actions">
|
71 |
+
<button class="form-button" type="submit"><span><?php echo $this->__('Add to Cart') ?></span></button><br />
|
72 |
+
</div>
|
73 |
+
<?php endif; ?>
|
74 |
+
</div>
|
75 |
+
</form>
|
76 |
+
</div>
|
77 |
+
<div class="bottom_box"><span></span></div>
|
78 |
+
<?php echo $this->getPagerHtml(); ?>
|
79 |
+
<script type="text/javascript">
|
80 |
+
//<![CDATA[
|
81 |
+
var reorderFormDetail = new VarienForm('reorder-validate-detail');
|
82 |
+
//]]>
|
83 |
+
</script>
|
84 |
+
<?php endif ?>
|
app/design/frontend/default/freepop/template/tag/list.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="head">
|
28 |
+
<h4><?php echo $this->__('Product Tags') ?></h4>
|
29 |
+
</div>
|
30 |
+
<?php if( $this->getCount() ): ?>
|
31 |
+
<h5><?php echo $this->__('Other people marked this product with these tags:') ?></h5>
|
32 |
+
<ul class="tags-list">
|
33 |
+
<?php $_iterator = 0; ?>
|
34 |
+
<?php foreach( $this->getTags() as $_tag ): ?>
|
35 |
+
<li<?php if( 1 == ++$_iterator && $this->getCount() != 1 ): ?> class="first"<?php elseif($_iterator == $this->getCount()): ?> class="last"<?php endif; ?>><a href="<?php echo $_tag->getTaggedProductsUrl() ?>"><?php echo $this->htmlEscape($_tag->getName()) ?></a> (<?php echo $_tag->getPopularity() ?>)</li>
|
36 |
+
<?php endforeach; ?>
|
37 |
+
</ul>
|
38 |
+
<?php endif; ?>
|
39 |
+
<h5><?php echo $this->__('Add Your Tags:') ?></h5>
|
40 |
+
<div class="add-tag-box">
|
41 |
+
<form id="addTagForm" action="<?php echo $this->getFormAction(); ?>" method="get">
|
42 |
+
<div class="input-box">
|
43 |
+
<input type="text" class="input-text required-entry" name="productTagName" />
|
44 |
+
</div>
|
45 |
+
<fieldset><button type="button" class="form-button-alt" onclick="submitTagForm()"><span><?php echo $this->__('Add Tags') ?></span></button></fieldset>
|
46 |
+
</form>
|
47 |
+
<script type="text/javascript">
|
48 |
+
//<![CDATA[
|
49 |
+
var addTagFormJs = new VarienForm('addTagForm');
|
50 |
+
function submitTagForm(){
|
51 |
+
if(addTagFormJs.validator.validate()) {
|
52 |
+
addTagFormJs.form.submit();
|
53 |
+
}
|
54 |
+
}
|
55 |
+
//]]>
|
56 |
+
</script>
|
57 |
+
<div class="clear"></div>
|
58 |
+
<small><?php echo $this->__("Use spaces to separate tags. Use single quotes (') for phrases.") ?></small>
|
59 |
+
</div>
|
app/design/frontend/default/freepop/template/wishlist/sidebar.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_default
|
22 |
+
* @package Mage
|
23 |
+
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
28 |
+
<?php //if($this->getCanDisplayWishlist()): ?>
|
29 |
+
<div class="box base-mini mini-wishlist">
|
30 |
+
<div class="head">
|
31 |
+
<h4><?php echo $this->__('My Wishlist - <a href="%s">%d Item(s)</a>',
|
32 |
+
$this->helper('wishlist')->getListUrl(),
|
33 |
+
$this->helper('wishlist')->getItemCount()
|
34 |
+
) ?></h4>
|
35 |
+
|
36 |
+
</div>
|
37 |
+
<div class="middle_box">
|
38 |
+
<h5><?php echo $this->__('Last Added Items') ?></h5>
|
39 |
+
<?php if($this->helper('wishlist')->getItemCount()>0): ?>
|
40 |
+
<ol id="wishlist-sidebar">
|
41 |
+
<?php foreach($this->getWishlistItems() as $_item): ?>
|
42 |
+
<li>
|
43 |
+
<div class="product-images">
|
44 |
+
<a href="<?php echo $_item->getProductUrl() ?>">
|
45 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50); ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" width="50" height="50" />
|
46 |
+
</a>
|
47 |
+
</div>
|
48 |
+
<div class="product-details">
|
49 |
+
<a href="<?php echo $this->helper('wishlist')->getRemoveUrl($_item) ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the wishlist?') ?>');" class="widget-btn">
|
50 |
+
<img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Item') ?>" />
|
51 |
+
</a>
|
52 |
+
<a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
|
53 |
+
<?php echo $this->getPriceHtml($_item) ?>
|
54 |
+
<?php if($_item->isSaleable()): ?>
|
55 |
+
<a href="<?php echo $this->helper('wishlist')->getAddToCartUrlBase64($_item) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
|
56 |
+
<?php endif; ?>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php endforeach; ?>
|
60 |
+
</ol>
|
61 |
+
<script type="text/javascript">decorateList('wishlist-sidebar')</script>
|
62 |
+
<?php else: ?>
|
63 |
+
<div class="content"><p><?php echo $this->__('You have no items in your wishlist.') ?></p></div>
|
64 |
+
<?php endif ?>
|
65 |
+
<div class="actions"><a href="<?php echo $this->helper('wishlist')->getListUrl() ?>"><?php echo $this->__('Go to Wishlist') ?></a></div>
|
66 |
+
</div>
|
67 |
+
</div>
|
68 |
+
<?php endif ?>
|
69 |
+
<div class="bottom_box"><span></span></div>
|
package.xml
ADDED
@@ -0,0 +1,22 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>FreePOP_Theme</name>
|
4 |
+
<version>1.1</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>FreePOP - Magento Theme</summary>
|
10 |
+
<description>Free POP is a simple, nice and clear theme for magento ecommerce site. It is suite for many kind of webshop as CD, DVD, Music, Movie...
|
11 |
+
|
12 |
+
Allow: You have full permission to use or customize for personal website or for your client website.
|
13 |
+
|
14 |
+
Not allow: You are not allow to redistribute or sell this design any where.</description>
|
15 |
+
<notes>Compatible with magento 1.3.x</notes>
|
16 |
+
<authors><author><name>Hello Magento</name><user>auto-converted</user><email>haint@hello-magento.com</email></author></authors>
|
17 |
+
<date>2009-09-14</date>
|
18 |
+
<time>05:05:12</time>
|
19 |
+
<contents><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="freepop"><dir name="css"><file name="style.css" hash="3670a57b6b24513bd64873c4f5db032d"/></dir><dir name="images"><file name="addto.gif" hash="eefe51ea8b6ffc70148e8ee888390b38"/><file name="bg.gif" hash="68a674fe71609dc8ebee287ea631e65d"/><file name="bg_buttom.gif" hash="fd63f4a63860984c25825d949a9603eb"/><file name="bg_compare_11.gif" hash="fa32a899b9cf2ab738ef2eb634e0d87e"/><file name="bg_content_03.gif" hash="57e35c538e8e68f59bcfacff4d6a5d4d"/><file name="bg_new.gif" hash="351ff5ab3bac4963389febf538a00a76"/><file name="bg_shopby.gif" hash="2d7539059d67de04ad5e2817405911ab"/><file name="bg_title_03.gif" hash="3e01f219c3f09c940f31bb5b9ca0f192"/><file name="bkg_products-grid3.gif" hash="6041e18c5bfb14bc17f942cebaffdb02"/><file name="bottom_box_06.gif" hash="4e436d94352fa5d894fa24f8de927550"/><file name="bottom_box_06.png" hash="c76aa8af4ce225b0c990067e3cc09846"/><file name="btn_addtocat.png" hash="1d0325923a424a54c9cac11f9b3cbe78"/><file name="btn_mini_search.gif" hash="856b7ce3bc991482db4b59436ec12829"/><file name="center_head_06.gif" hash="5547b3d762341b870f75561f23bb7bf3"/><file name="collection.gif" hash="b969c9b1c620c4f0b995cc5b36a3eea9"/><file name="currency_switcher_bg.gif" hash="2158d744ff03f418fbf7553c72fd82c4"/><file name="free_01.gif" hash="63f002481b624169d524fcfba8c7d111"/><file name="free_02.gif" hash="f97b335e3e6da3c76e9c224f95758d46"/><file name="header_bg.gif" hash="7f211eedbe93388614d6e777b072ccf5"/><file name="head_05.gif" hash="d095688707b620157946bfc9b5796eff"/><file name="home_03.gif" hash="6a5a41c938d1b7cb493c30f3e0ec8570"/><file name="home_07.gif" hash="9eb840c94a9a54491de7cbb4ca59ded8"/><file name="icon_01.png" hash="e3297d4359e002c9639b6c532b769587"/><file name="icon_basket.gif" hash="429741bf7dbf5ed6aac49e1dcf6ef456"/><file name="icon_newspaper.gif" hash="57ce4a0cd0f97589c07237f24c460cda"/><file name="icon_table.gif" hash="3ef1946ad28582455b5aa00c0962aca1"/><file name="left_head.gif" hash="85afe5405acaa0023f109e9beffd5180"/><file name="logo.png" hash="139963c29d9941a17ed0cc1c7c8421b4"/><file name="menu_06.gif" hash="df412e889096be4bda6ac74b61c37164"/><file name="middle_box_03.gif" hash="a4d0bb64ed3925535b06645ba723bd5e"/><file name="narrow_by_set.gif" hash="08663578a21d6a59ba308a7a177658af"/><file name="new_movies.gif" hash="7544a602f1528f0785e09931ba7be888"/><file name="new_music.gif" hash="4727b360498d62a435ff44953e57b310"/><file name="pager_arrow_right.gif" hash="cd47445a79a92502c8f7ec0eb70938ef"/><file name="pager_bg.gif" hash="22fc6c7ed4c93c1a1173006459f08172"/><file name="product_03.gif" hash="794c137cd5bd90dc230700683bb56aaa"/><file name="product_btn.gif" hash="2c74cea0fb1618878921b6dc43bf6efd"/><file name="right_head.gif" hash="4f5f4b7fb7d2e753f321b53ca97215d7"/><file name="search.gif" hash="a1ef27f4afad18cc5583f1df973efa7d"/><file name="shopby.gif" hash="42467606f001e86eef4c20db9a13f4ec"/><file name="shop_access_pipe.gif" hash="15f1390defe198c1de726a42d1b6c1d6"/><file name="Thumbs.db" hash="6f13ede73a87addff3d76077e5590fa9"/><file name="top_box_03.gif" hash="bc11eeff056a920bc106ea9538c4583d"/><file name="Untitled-1_03.gif" hash="36d912bafee170e04bcc2a7d12dafc5c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="freepop"><file name="LICENSE.TXT" hash="807c7cb19ddb70074d33f3d83a5d7bed"/><file name="README.TXT" hash="6aba1a7f8f2eac7dfecb3943e7d16091"/><dir name="layout"><file name="catalog.xml" hash="e4de0f1cd7273c1dadaff1c878216c08"/><file name="catalogsearch.xml" hash="6045c5c537bde654cd5399ea6e6c3cd7"/><file name="directory.xml" hash="697d8eed70d00b652062ee1c018a5189"/><file name="page.xml" hash="baf8afa0b1bc8ba53e9d0b931d763f2d"/></dir><dir name="template"><dir name="callouts"><file name="left_col.phtml" hash="bbdfed9f2268fb94e98f9e2438d4e2c9"/><file name="right_col.phtml" hash="fadd72e9277fbdddc21b9f18e8af6757"/></dir><dir name="catalog"><dir name="category"><file name="page.phtml" hash="44ce613bf529cb8bcf03056605412542"/><file name="view.phtml" hash="d5a166f828c5269f2c42ddfdb4e856a0"/></dir><dir name="navigation"><file name="left.phtml" hash="22df2914418accffedc04083cfcc025b"/><file name="left_navigation.phtml" hash="acdc57f2ce92e2f588146014ad24b488"/><file name="top.phtml" hash="2d2e843d4f3fd7d6a372d4c142f5b6f1"/></dir><dir name="product"><file name="gallery.phtml" hash="297c2aa4883c1e6f760202c7d3f0b0c0"/><file name="list.phtml" hash="8f59cf18ed132240cdd2e38165892e0b"/><file name="new.phtml" hash="0646639e3b6acf3e60f3c3dcbe0bb15b"/><file name="newmovies.phtml" hash="351d492f85b639d5f5150c3ba6e04264"/><file name="newmusic.phtml" hash="c4c594d456a9c88074775a2275826675"/><file name="price.phtml" hash="400542b2d7d239108844246a2c85cb16"/><file name="view.phtml" hash="bde8faa641c5a42b18fe0ac766067d3c"/><dir name="compare"><file name="list.phtml" hash="aa4047766c6daf8fd785968479932d96"/><file name="sidebar.phtml" hash="832d71ae0c4c2b8e851ab310968d7299"/></dir><dir name="list"><file name="related.phtml" hash="a5f05527941dfdb9876496a834daed21"/><file name="toolbar.phtml" hash="fc45890b9e54419110089d109a460ba2"/><file name="upsell.phtml" hash="5a63765ee134296250dab8c248950fb1"/></dir><dir name="view"><file name="additional.phtml" hash="a3f170d20473d9cd208d7ac9945bd6ca"/><file name="addto.phtml" hash="505983c0acb7f346399a9a831d0cec89"/><file name="addtocart.phtml" hash="736f425b47582e3d64f7d7825cb9026e"/><file name="attributes.phtml" hash="561e5effa5d49cf559375b389379193a"/><file name="description.phtml" hash="323fd14daf98a542557255825c4f7f9f"/><file name="media.phtml" hash="5da82af9fbc670644143d617714f6405"/><file name="options.phtml" hash="49b6aa5c14ca2dda3a29c07038bf57b2"/><file name="price.phtml" hash="9afc71f6e8d691e81aae9297065443fb"/><file name="price_clone.phtml" hash="0ba681d8abd3f5f7fa57a3979a1dcb2a"/><file name="tierprices.phtml" hash="50fdfb485e16313fcd27f83f1ab74a40"/><dir name="options"><file name="js.phtml" hash="f002cb2d5261b96752a484c95e5f8028"/><file name="wrapper.phtml" hash="e7c450e34708c606d90977382e9a6eef"/><dir name="type"><file name="date.phtml" hash="98c6e638f69c8deab7a31ddeed1fb492"/><file name="default.phtml" hash="7b07125e28fc5bd267c4f855307b08b0"/><file name="file.phtml" hash="524d4b61debb192718a961008d9db83f"/><file name="select.phtml" hash="4a8ef7bc2778030e38d5d15c4ecaef02"/><file name="text.phtml" hash="65758561268b918849cd938092ea25e5"/></dir><dir name="wrapper"><file name="bottom.phtml" hash="f1db56cf11ec91d69f7d275d117ced32"/></dir></dir><dir name="type"><file name="configurable.phtml" hash="8ee5216550bb55b51804a438ec810cbf"/><file name="grouped.phtml" hash="16405b29803e0d84daac591b19e968ca"/><file name="simple.phtml" hash="d5140de81cd3a8a2cdd8ca5a37130606"/><file name="virtual.phtml" hash="f89519f9d4126f40a373d79272c6ec9e"/><dir name="options"><file name="configurable.phtml" hash="e03e72643ab32221cf077e00643ee720"/></dir></dir></dir></dir></dir><dir name="checkout"><file name="cart.phtml" hash="6d2994a92360f0aa5a65a72434462277"/><file name="links.phtml" hash="b8fd00e658cae428d131d2c6e8e3b9bf"/><file name="onepage.phtml" hash="fa830b25caa05cb0f04b71e00cd3665d"/><file name="success.phtml" hash="261eae10f6f3376f9d36659066e15add"/><dir name="cart"><file name="coupon.phtml" hash="120fd4b17da019d37efee0c0af83abaa"/><file name="crosssell.phtml" hash="88fae5bb50f129b03a4d74c3c20fd54b"/><file name="noItems.phtml" hash="a37958fab7d6086c457b88fcbe92cf95"/><file name="shipping.phtml" hash="3602117cd8bc5274003531b8045f2514"/><file name="sidebar.phtml" hash="f1ea1ffd8f5b8057c9bda9e4248abe7f"/><file name="totals.phtml" hash="4940887e68e80d90b58050fc7c519749"/><dir name="item"><file name="default.phtml" hash="7a22d21cca22ed8972fe5a8deed88fa5"/></dir><dir name="render"><file name="default.phtml" hash="95e14a1a72a6d24e827926f292b129fa"/><file name="simple.phtml" hash="6f441bc16b16692d21093bcdce2dd94a"/></dir><dir name="sidebar"><file name="default.phtml" hash="227b5caf2ca4fae4888eb8ef4e98d0ab"/></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="67658063a7f345bf0736ac61e3114d48"/></dir><dir name="page"><file name="1column.phtml" hash="5d33b9c9905f4e7f80eab1eacb80050f"/><file name="2columns-left.phtml" hash="7e76dbf0b297903cfc28cae9dc42ec3f"/><file name="2columns-right.phtml" hash="88a19426c2fc44fe417875f8392b68af"/><file name="3columns.phtml" hash="3d3df80d700584283ba1ed838eaad8e0"/><file name="dashboard.phtml" hash="55b0714abf1425d4f859590f8e2bcf06"/><file name="one-column.phtml" hash="7992d96913ddf8c5c535996f8369d76a"/><file name="print.phtml" hash="2d61416bcd3480f65284a3eff304a0f9"/><file name="redirect.phtml" hash="d1171dd29391077d91e18e291d8f46ac"/><dir name="html"><file name="breadcrumbs.phtml" hash="5a235cee42ad7e2febd1dc581a517fbe"/><file name="footer.phtml" hash="565519ef40becef242fc1fd1f2b46e76"/><file name="head.phtml" hash="4b1ecd96be4fbdf92d9624e0a00961d9"/><file name="header.phtml" hash="9a50643fa919256dc8db17eb69405aec"/><file name="notices.phtml" hash="5f219693d01e9c640496f904b0a1e99a"/><file name="pager.phtml" hash="2ece215d4391749ae752f46f3c8565cb"/><file name="top.links.phtml" hash="5de168b9dd31195fe5f4baf6593502b8"/><file name="wrapper.phtml" hash="e87800398a14b3c5ecf3c983194d8b24"/></dir><dir name="js"><file name="calendar.phtml" hash="9d785c39631053eb2231b4fe1764d3cf"/></dir><dir name="switch"><file name="flags.phtml" hash="1abe7b4e50042eb33e2b161897662873"/><file name="languages.phtml" hash="93b1852fbc385a93ad77f9063b795bb5"/><file name="stores.phtml" hash="c8771b91a5ba4a45792070cb907d61fd"/></dir><dir name="template"><file name="container.phtml" hash="3fc1c3d3311b2323fc59916891910477"/><file name="links.phtml" hash="5eda541e737af69323755a32d0323f9d"/></dir></dir><dir name="reports"><file name="home_product_compared.phtml" hash="d6d0dd80848a4a64775d4a698c2b3f13"/><file name="home_product_viewed.phtml" hash="a42c784bf3c113bf3545441f2ec8dd58"/><file name="product_compared.phtml" hash="cd24c588d1d8429f0ee15a57ca1ab8cc"/><file name="product_viewed.phtml" hash="2fb20456005083b6aa3bc3782678a357"/></dir><dir name="review"><file name="form.phtml" hash="5dd30a73ea822ed412dd44d4b305de41"/><file name="view.phtml" hash="3cc2841d1df8e5d8ed2424c39b01dd1e"/><dir name="customer"><file name="list.phtml" hash="5fc631318d4929283d2aaf3ee4b9bfad"/><file name="recent.phtml" hash="91d70d168f131e71bceae98e2a894c5e"/><file name="view.phtml" hash="39d8cc2ecded66ce4b2442bc07f732e7"/></dir><dir name="helper"><file name="summary.phtml" hash="093806dc0607598edddcd04cc27ea6c7"/><file name="summary_short.phtml" hash="b27284a10914c0e61f42331017c0a112"/></dir><dir name="product"><dir name="view"><file name="count.phtml" hash="092e2690a9dc53387fc7dd9d35d1de72"/><file name="list.phtml" hash="8a0d00984f11c87ce9d84fee506c39f6"/><file name="other.phtml" hash="16307383413175a2930d3ce498823658"/></dir></dir></dir><dir name="sales"><dir name="reorder"><file name="sidebar.phtml" hash="1e58b9f9019aa789acd3148010cce2e2"/></dir></dir><dir name="tag"><file name="list.phtml" hash="4bbbed9b47b616bf00035b5e1b335a89"/></dir><dir name="wishlist"><file name="sidebar.phtml" hash="e36f0f9c35df818697b6612f209e3a01"/></dir></dir></dir></dir></dir></target></contents>
|
20 |
+
<compatible/>
|
21 |
+
<dependencies/>
|
22 |
+
</package>
|
skin/frontend/default/freepop/css/style.css
ADDED
@@ -0,0 +1,215 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
@charset "utf-8";
|
2 |
+
/* CSS Document */
|
3 |
+
/* class public */
|
4 |
+
*{ padding:0px; margin:0px;}
|
5 |
+
body{margin:0;padding:0;font-family:Arial, Helvetica, sans-serif;font-size:11px;color:#666666;background:#e9e9e9 url(../images/bg.gif) repeat-x top;}
|
6 |
+
a{text-decoration:none;color:#4a4a4a;}
|
7 |
+
a:hover{color: #4a4a4a;text-decoration:none;}
|
8 |
+
a.active{color: #4a4a4a;}
|
9 |
+
a img{border-style:none;}
|
10 |
+
div{text-align:left;}
|
11 |
+
h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-weight:normal;font-family: Arial;}
|
12 |
+
h1 {font-size: 20px;}
|
13 |
+
h2 {font-size: 18px;}
|
14 |
+
h3 {font-size: 16px;}
|
15 |
+
h4 {font-size: 15px;}
|
16 |
+
h5 {font-size: 14px;}
|
17 |
+
h6 {font-size: 12px;}
|
18 |
+
.clear_both{clear:both;overflow:hidden;height:1px;}
|
19 |
+
.clear_both1{clear:both;overflow:hidden;}
|
20 |
+
textarea,selest{font:12px/100% Times;color:#000000;}
|
21 |
+
input, select, button {vertical-align:middle;}
|
22 |
+
|
23 |
+
img{margin:0;padding:0;}
|
24 |
+
p{margin-bottom:0px;}
|
25 |
+
/* class private */
|
26 |
+
|
27 |
+
/*wrapper_act*/
|
28 |
+
#wrapper_outsite{width:1076px;margin:0px auto;background:url(../images/header_bg.gif) no-repeat;}
|
29 |
+
#wrapper{width:960px;margin:0px auto;}
|
30 |
+
|
31 |
+
/*header_act*/
|
32 |
+
.header_act{margin:0;padding:0;}
|
33 |
+
.header{margin:0;padding:0;}
|
34 |
+
.header-top-container{background:none;border:none;}
|
35 |
+
.header-top{padding:0px 0px 18px 0px;width:100%;}
|
36 |
+
h1#logo{margin:0px;margin-top:20px;}
|
37 |
+
.quick-access {margin:0px;margin-top:8px;padding:0px;}
|
38 |
+
.quick-access li {background:transparent url(../images/shop_access_pipe.gif) no-repeat scroll 100% 0;display:inline;padding-left:3px;
|
39 |
+
padding-right:7px;
|
40 |
+
}
|
41 |
+
.breadcrumbs li {font-size:13px;}
|
42 |
+
.breadcrumbs li a{color:#3fa4cb;font-weight:bold;}
|
43 |
+
.col-left .layered-nav{padding-bottom:10px;}
|
44 |
+
.mini-newsletter h4 {background:url(../images/icon_newspaper.gif) no-repeat left 60%;}
|
45 |
+
|
46 |
+
.header-nav-container{background:url(../images/menu_06.gif) no-repeat;}
|
47 |
+
.header-nav{width:100%;}
|
48 |
+
#nav{padding:0px;}
|
49 |
+
#nav a{padding:12px 20px 14px 20px;color:#666666;font-size:15px;text-transform:uppercase;font-weight:bold;}
|
50 |
+
#nav ul {
|
51 |
+
border:1px solid #899BA5;
|
52 |
+
left:-10000px;
|
53 |
+
position:absolute;
|
54 |
+
top:38px;
|
55 |
+
width:15em;
|
56 |
+
}
|
57 |
+
|
58 |
+
.mini-search {background:none;height:30px;padding:0px 0px 0px 0px;position:absolute;right:10px;top:114px;width:300px;text-align:right;}
|
59 |
+
.mini-search .input-text{border:1px solid #bbbcbc;width:186px;}
|
60 |
+
.shop-access {float:right;margin-bottom:6px;}
|
61 |
+
.shop-access a, .shop-access a:hover {color:#666666;font-size:13px;font-weight:bold;}
|
62 |
+
.language-switcher {margin-top:10px;}
|
63 |
+
.language-switcher label{color:#666666;font-size:12px;}
|
64 |
+
.language-switcher select{width:186px;}
|
65 |
+
.product-options-bottom {background-color:#F0FDFD; padding:15px 20px;}
|
66 |
+
.product-options {background-color:#FFFFFF;margin:20px 0 0;padding:10px 15px 20px;}
|
67 |
+
.product-options-bottom .form-button {background:transparent url(../images/product_btn.gif) no-repeat scroll 0 0;border:medium none;font-size:14px !important;font-weight:normal !important;padding:5px 12px;}
|
68 |
+
|
69 |
+
|
70 |
+
/*content_act*/
|
71 |
+
.content_act{}
|
72 |
+
.middle{background:none;padding:25px 0px;width:100%;}
|
73 |
+
.middle-container {background:none;}
|
74 |
+
.base-mini{border:none;}
|
75 |
+
.base-mini .head{background:url(../images/bg_title_03.gif) no-repeat;padding:3px 8px 2px 8px;border-bottom:none;}
|
76 |
+
.side-col{width:199px;}
|
77 |
+
.side-col .content{border:1px solid #cacaca;border-top:none;width:177px;margin-left:1px;background:url(../images/bg_content_03.gif) repeat-x;padding:10px;}
|
78 |
+
.base-mini .head h4{color:#fff;font-size:11px;padding:5px 0 1px 21px;}
|
79 |
+
.side-col .box{margin-bottom:0px;}
|
80 |
+
.base-mini .head{margin:0px;}
|
81 |
+
.side-col .content{border:none;}
|
82 |
+
.form-button-alt,.form-button {background:url(../images/bg_compare_11.gif) repeat-x;border:1px solid #93aba8;}
|
83 |
+
.base-mini .actions .form-button-alt{background:url(../images/bg_compare_11.gif) repeat-x;border:1px solid #93aba8;}
|
84 |
+
.addcart_box{border-right:1px solid #bbbcbc;border-left:1px solid #bbbcbc;background:#edfdff;padding:5px 8px 0px 8px;}
|
85 |
+
|
86 |
+
.bottom_box{height:10px;background:url(../images/bottom_box_06.png) no-repeat;margin-bottom:10px;}
|
87 |
+
.middle_box{border-right:1px solid #bbbcbc;border-left:1px solid #bbbcbc;background:#fefefe url(../images/middle_box_03.gif) repeat-x;}
|
88 |
+
|
89 |
+
.base-mini .actions{background:none;}
|
90 |
+
.base-mini .content, .base-mini ol{background:none;}
|
91 |
+
.base-mini ol li.odd{background:none;}
|
92 |
+
.base-mini ol li.even{background:none;}
|
93 |
+
.mini-cart h5{background:none;}
|
94 |
+
.mini-cart .head {padding:3px 0px 0px 0px;margin-bottom:0px;}
|
95 |
+
.mini-cart .head h4{margin-left:8px;}
|
96 |
+
.mini-cart .subtotal{background:none;text-align:left;margin-top:0px;}
|
97 |
+
|
98 |
+
|
99 |
+
.col-3-layout .col-main{width:535px;margin-left:14px;}
|
100 |
+
.mini-cart .head h4 {background:url(../images/icon_basket.gif) no-repeat left 60%;}
|
101 |
+
.mini-compare-products .head h4 {background:url(../images/icon_table.gif) no-repeat left 60%;}
|
102 |
+
.layered-nav .head {background:url(../images/shopby.gif) no-repeat scroll 0 0;}
|
103 |
+
.layered-nav h4{background:#ecfdff;color:#666666;text-transform:uppercase;font-size:14px;padding:3px 6px 9px;}
|
104 |
+
.narrow-by dl {background:#eefbfb url(../images/bg_shopby.gif) repeat-x;padding:0 0 1em;}
|
105 |
+
.narrow-by dd{border-bottom:1px solid #cacaca;background:none;}
|
106 |
+
.narrow-by dd.last{border-bottom:none;}
|
107 |
+
|
108 |
+
.layered-nav .border-creator{width:197px;*width:198px;border:1px solid #bbbcbc;border-top:none;}
|
109 |
+
.narrow-by dd li{color:#3fa4cb;}
|
110 |
+
.narrow-by dd li a{color:#3fa4cb;font-size:11px;font-weight:bold;}
|
111 |
+
.narrow-by dt {color:#666;background:transparent url(../images/narrow_by_set.gif) no-repeat 9px 0.8em;font-size:14px;}
|
112 |
+
table.pager td {border:none;padding:5px 8px;}
|
113 |
+
table.view-by td {border:none;padding:5px 8px;}
|
114 |
+
table.pager{border:1px solid #C0C1C4;border-bottom:none;background:#FFFFFF url(../images/pager_bg.gif) repeat-x scroll 0 100%;}
|
115 |
+
table.view-by{border:1px solid #C0C1C4;background:#FFFFFF url(../images/pager_bg.gif) repeat-x scroll 0 100%;}
|
116 |
+
table.pager li a{color:#3fa4cb;}
|
117 |
+
.listing-type-grid{border-left:1px solid #C0C1C4;border-right:1px solid #C0C1C4;background:#fdfdfd url(../images/bkg_products-grid3.gif) repeat-x;}
|
118 |
+
.listing-type-grid .grid-row{border-bottom:none;}
|
119 |
+
.listing-type-grid li.item {padding:20px 20px;width:137px;text-align:center;}
|
120 |
+
.catalog-listing h5 a{color:#666666;font-size:13px;text-decoration:none;font-weight:bold;}
|
121 |
+
.catalog-listing h5 a:hover {color:#666666;}
|
122 |
+
.price-box .price{color:#da0b2d;font-size:14px;}
|
123 |
+
.regular-price .price {color:#da0b2d;font-size:14px;}
|
124 |
+
.price-box {padding:5px 0;text-align:center;}
|
125 |
+
.listing-type-grid .form-button{background: url(../images/btn_addtocat.png) no-repeat;border:none;font-size:14px !important;padding:5px 13px;font-weight:normal !important;}
|
126 |
+
.catalog-listing {border-left:1px solid #C0C1C4;border-right:1px solid #C0C1C4;background:#fdfdfd url(../images/bkg_products-grid3.gif) repeat-x;}
|
127 |
+
.listing-type-list .listing-item {border-top:none;border-bottom:1px solid #C0C1C4;}
|
128 |
+
.listing-type-list .last{border-bottom:none;}
|
129 |
+
.listing-type-list .listing-item .form-button{background: url(../images/btn_addtocat.png) no-repeat;border:none;font-size:14px !important;padding:5px 13px;font-weight:normal !important;}
|
130 |
+
.category-head {width:100%;margin-bottom:0px;}
|
131 |
+
.left_head{float:left;background:url(../images/left_head.gif) no-repeat;height:28px;width:9px;}
|
132 |
+
.center_head{float:left;background:url(../images/product_03.gif) repeat-x;height:28px;width:516px;}
|
133 |
+
.category-head h2 {color:#ffffff;font-size:1.6em;font-weight:normal;line-height:1.3em;margin:0;max-width:100%;overflow:hidden;padding:3px 0px 0px 0px;}
|
134 |
+
.right_head{float:right;width:10px;background:url(../images/right_head.gif) no-repeat;height:28px;}
|
135 |
+
|
136 |
+
.col-2-right-layout .col-main {float:left;width:739px;background:#f0fdfd;border:1px solid #c4c3c3;}
|
137 |
+
.product-info-box .product-name {color:#666666;font-size:18px;margin-bottom:0.3em;}
|
138 |
+
.product-essential{background:none;}
|
139 |
+
.product-collateral {background:none;padding:25px 0px;}
|
140 |
+
.product-collateral .up-sell .generic-product-grid td {background:none;border-color:none;padding:12px 15px 12px 15px;}
|
141 |
+
.product-collateral .up-sell .generic-product-grid td img{border:none;}
|
142 |
+
.product-collateral .up-sell .generic-product-grid td.empty-product{background:none;}
|
143 |
+
.product-collateral .up-sell .generic-product-grid{border:none;}
|
144 |
+
|
145 |
+
p.review_empty a{font-size:13px;font-weight:bold;}
|
146 |
+
.product-info-box .availability {font-size:13px;font-weight:bold;}
|
147 |
+
.product-info-box .price-box {margin:10px 0;text-align:left;}
|
148 |
+
h4.over{font-size:13px;font-weight:bold;color:#666666;margin-bottom:5px;}
|
149 |
+
.product-shop .short-description{font-size:12px;font-weight:bold;color:#666666;text-align:left;}
|
150 |
+
.product-info-box {border:none;margin-top:0;}
|
151 |
+
.product-essential .product-shop {
|
152 |
+
width:378px;
|
153 |
+
}
|
154 |
+
.generic-product-grid td{border:none;}
|
155 |
+
.product-collateral .head{border-top:1px solid #c4c3c3;border-bottom:1px solid #c4c3c3;padding:8px;}
|
156 |
+
.product-collateral .collateral-box h4{color:#666;font-size:14px;font-weight:bold;}
|
157 |
+
.product-specs{padding:0px 25px;}
|
158 |
+
.attribute-specs{padding:0px 25px;}
|
159 |
+
.data-table .odd {background:#FFFFFF none repeat scroll 0 0;}
|
160 |
+
|
161 |
+
.product-collateral .collateral-box h5 {font-weight:bold;margin-bottom:6px;margin-left:25px;color:#666;}
|
162 |
+
.add-tag-box{margin-left:25px;}
|
163 |
+
.add-tag-box .form-button-alt{border:1px solid #d2d3d3;padding:4px 8px;}
|
164 |
+
.product-collateral .add-tag-box .input-box input.input-text{padding:4px 0px 5px 4px;width:280px;}
|
165 |
+
.product-collateral .up-sell .generic-product-grid .price-box{text-align:center;}
|
166 |
+
.add_out{padding:20px 20px;background:url(../images/addto.gif) no-repeat;height:50px;}
|
167 |
+
.add-to-holder .add-to-box li a{font-size:13px;font-weight:bold;color:#666;}
|
168 |
+
.add-to-holder .add-or{font-size:13px;font-weight:bold;color:#666;}
|
169 |
+
.add-to-holder .form-button{background: url(../images/product_btn.gif) no-repeat;border:none;font-size:14px !important;padding:5px 12px;font-weight:normal !important;}
|
170 |
+
.add-to-cart-box .qty-box .qty {padding:4px 2px;}
|
171 |
+
.login-box .content{background:#f1fdff;}
|
172 |
+
.login-box .col-1, .login-box .col-2 {border:1px solid #cbcbcb;background:#fff;}
|
173 |
+
.login-box .button-set{border-top:1px solid #cbcbcb;background:none;}
|
174 |
+
.login-box h4 {background-position:0 0px;background-repeat:no-repeat;border-bottom:1px solid #DDDDDD;color:#666;font-weight:bold;}
|
175 |
+
.one-page-checkout .active .box {background:#F1FDFF none repeat scroll 0 0;border:none;display:block;}
|
176 |
+
.one-page-checkout .active .head{border:none;border-bottom:1px solid #cbcbcb;background:#ECECED}
|
177 |
+
.one-page-checkout .head {border-top:1px solid #cbcbcb;background:#ECECED}
|
178 |
+
.one-page-checkout .active h3 {color:#666666;font-weight:bold;}
|
179 |
+
.one-page-checkout h4 {border-bottom:1px solid #cbcbcb;padding-bottom:2px;text-transform:uppercase;font-weight:bold;color:#666666;}
|
180 |
+
.side-col h3 {color:#666666;font-size:1.05em;font-weight:bold;margin-bottom:5px;text-transform:uppercase;}
|
181 |
+
.one-page-checkout .active .step-count {background:#FFFFFF none repeat scroll 0 0;border:1px solid #CBCBCB;color:#666666;}
|
182 |
+
.one-page-checkout .box-no-padding {background:#F1FDFF;border:none;}
|
183 |
+
.one-page-checkout .allow .head{border:none;border-bottom:1px solid #CBCBCB;background:#ECECED;}
|
184 |
+
.one-page-checkout-progress .content{border-right:1px solid #CBCBCB;}
|
185 |
+
.one-page-checkout .allow .step-count {background:#FFFFFF none repeat scroll 0 0;}
|
186 |
+
.product_head{background: url(../images/new_music.gif) no-repeat;margin-top:15px;padding:2px 0 3px 15px;}
|
187 |
+
.product_head h2{color:#fff;}
|
188 |
+
.addbg{background: url(../images/new_movies.gif) no-repeat;margin-top:15px;}
|
189 |
+
.product_body{border:1px solid #cbcbcb;border-top:none;background:#fefefe url(../images/bg_new.gif) repeat-x;}
|
190 |
+
.product_body_middle .generic-product-grid td{padding:20px 10px;}
|
191 |
+
.side-col .currency-switcher{margin-bottom:8px;background:transparent url(../images/currency_switcher_bg.gif) no-repeat scroll 0 0;}
|
192 |
+
p.view_more{text-align:right;padding-right:20px;margin-bottom:10px;}
|
193 |
+
p.view_more a{font-weight:bold;font-size:12px;}
|
194 |
+
.side-bar h6.title{background:transparent url(../images/bg_title_03.gif) no-repeat scroll 0 0;border-bottom:medium none;padding:6px 2px 6px 10px ;}
|
195 |
+
.side-bar h6.title a{font-size:12px;color:#fff;text-transform:uppercase;}
|
196 |
+
.div_catelog{border-left:1px solid #cccccc;border-right:1px solid #cccccc;padding:20px 10px;background:#FEFEFE url(../images/middle_box_03.gif) repeat-x;width:89%;}
|
197 |
+
.div_catelog ul li a{font-size:12px;color:#666;background:url(../images/icon_01.png) no-repeat left 60%;padding-left:20px;font-weight:bold;display:block;}
|
198 |
+
|
199 |
+
|
200 |
+
/*footer_act*/
|
201 |
+
.footer_act{height:100%;background:url(../images/bg_buttom.gif) repeat-x;}
|
202 |
+
.footer_site{width:960px;margin:0px auto;text-align:center;padding:27px 0px 27px 0px;}
|
203 |
+
.informational{margin-left:200px;}
|
204 |
+
.informational ul{text-align:center;float:left;}
|
205 |
+
.informational ul li{display:inline;border-left:1px solid #727272;padding:0px 2px 0px 5px}
|
206 |
+
.informational ul li.first_ft{border-left:none;}
|
207 |
+
.informational ul li a{font-size:15px;}
|
208 |
+
|
209 |
+
|
210 |
+
|
211 |
+
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
|
skin/frontend/default/freepop/images/Thumbs.db
ADDED
Binary file
|
skin/frontend/default/freepop/images/Untitled-1_03.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/addto.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bg.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bg_buttom.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bg_compare_11.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bg_content_03.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bg_new.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bg_shopby.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bg_title_03.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bkg_products-grid3.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bottom_box_06.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/bottom_box_06.png
ADDED
Binary file
|
skin/frontend/default/freepop/images/btn_addtocat.png
ADDED
Binary file
|
skin/frontend/default/freepop/images/btn_mini_search.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/center_head_06.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/collection.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/currency_switcher_bg.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/free_01.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/free_02.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/head_05.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/header_bg.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/home_03.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/home_07.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/icon_01.png
ADDED
Binary file
|
skin/frontend/default/freepop/images/icon_basket.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/icon_newspaper.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/icon_table.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/left_head.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/logo.png
ADDED
Binary file
|
skin/frontend/default/freepop/images/menu_06.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/middle_box_03.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/narrow_by_set.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/new_movies.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/new_music.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/pager_arrow_right.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/pager_bg.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/product_03.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/product_btn.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/right_head.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/search.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/shop_access_pipe.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/shopby.gif
ADDED
Binary file
|
skin/frontend/default/freepop/images/top_box_03.gif
ADDED
Binary file
|