Merge pull request #96 from thelia/frontend

Frontend
This commit is contained in:
Manuel Raynaud
2013-11-07 02:11:35 -08:00
12 changed files with 679 additions and 583 deletions

View File

@@ -1,214 +1,229 @@
<?php <?php
return array ( return array (
'+ View All' => '', '+ View All' => '',
'Thelia V2' => '', 'Thelia V2' => '',
'Skip to content' => '', 'Skip to content' => '',
'Toggle navigation' => '', 'Toggle navigation' => '',
'Main Navigation' => '', 'Main Navigation' => '',
'Register!' => '', 'Register!' => '',
'Log In!' => '', 'Log In!' => '',
'Sign In' => '', 'Sign In' => '',
'Register' => '', 'Register' => '',
'Cart' => '', 'Cart' => '',
'View Cart' => '', 'View Cart' => '',
'Checkout' => '', 'Checkout' => '',
'You have no items in your shopping cart.' => '', 'You have no items in your shopping cart.' => '',
'Home' => '', 'Home' => '',
'Search a product' => '', 'Search a product' => '',
'Search...' => '', 'Search...' => '',
'Minimum 2 characters.' => '', 'Minimum 2 characters.' => '',
'Search' => '', 'Search' => '',
'Language:' => '', 'Language:' => '',
'Currency:' => '', 'Currency:' => '',
'Latest' => '', 'Latest' => '',
'Offers' => '', 'Offers' => '',
'Special Price:' => '', 'Special Price:' => '',
'Regular Price:' => '', 'Regular Price:' => '',
'Free shipping' => '', 'Free shipping' => '',
'Orders over $50' => '', 'Orders over $50' => '',
'Secure payment' => '', 'Secure payment' => '',
'Multi-payment platform' => '', 'Multi-payment platform' => '',
'Need help ?' => '', 'Need help ?' => '',
'Questions ? See or F.A.Q.' => '', 'Questions ? See or F.A.Q.' => '',
'Latest articles' => '', 'Latest articles' => '',
'No articles currently' => '', 'No articles currently' => '',
'Useful links' => '', 'Useful links' => '',
'Login' => '', 'Login' => '',
'Follow us' => '', 'Follow us' => '',
'Newsletter' => '', 'Newsletter' => '',
'Sign up to receive our latest news.' => '', 'Sign up to receive our latest news.' => '',
'Email address' => '', 'Email address' => '',
'Your email address' => '', 'Your email address' => '',
'Subscribe' => '', 'Subscribe' => '',
'Contact Us' => '', 'Contact Us' => '',
'Copyright' => '', 'Copyright' => '',
'You are here:' => '', 'You are here:' => '',
'Show' => '', 'Show' => '',
'per page' => '', 'per page' => '',
'Sort By' => '', 'Sort By' => '',
'Name ascending' => '', 'Name ascending' => '',
'Name descending' => '', 'Name descending' => '',
'Price ascending' => '', 'Price ascending' => '',
'Price descending' => '', 'Price descending' => '',
'View as' => '', 'View as' => '',
'View product' => '', 'View product' => '',
'Pagination' => '', 'Pagination' => '',
'No products available in this category' => '', 'No products available in this category' => '',
'Categories' => '', 'Categories' => '',
'Ref.' => '', 'Ref.' => '',
'Availability' => '', 'Availability' => '',
'In stock' => '', 'In stock' => '',
'Out of stock' => '', 'Out of stock' => '',
'Add to cart' => '', 'Add to cart' => '',
'Description' => '', 'Description' => '',
'Additional Info' => '', 'Additional Info' => '',
'View cart' => '', 'View cart' => '',
'Continue Shopping' => '', 'Continue Shopping' => '',
'Upsell Products' => '', 'Upsell Products' => '',
'Your Cart' => '', 'Your Cart' => '',
'Billing and delivery' => '', 'Billing and delivery' => '',
'Check my order' => '', 'Check my order' => '',
'Product Name' => '', 'Product Name' => '',
'Name' => '', 'Name' => '',
'Unit Price' => '', 'Unit Price' => '',
'Price' => '', 'Price' => '',
'Quantity' => '', 'Quantity' => '',
'Qty' => '', 'Qty' => '',
'Total' => '', 'Total' => '',
'Tax Inclusive' => '', 'Tax Inclusive' => '',
'TTC' => '', 'TTC' => '',
'Available' => '', 'Available' => '',
'In Stock' => '', 'In Stock' => '',
'No.' => '', 'No.' => '',
'Remove' => '', 'Remove' => '',
'Proceed checkout' => '', 'Proceed checkout' => '',
'Warning' => '', 'Warning' => '',
'missing or invalid data' => '', 'missing or invalid data' => '',
'Do you have an account?' => '', 'Do you have an account?' => '',
'Forgot your Password?' => '', 'Forgot your Password?' => '',
'Next' => '', 'Next' => '',
'Log out!' => '', 'Log out!' => '',
'My Account' => '', 'My Account' => '',
'Previous product' => '', 'Previous product' => '',
'Next product' => '', 'Next product' => '',
'instead of' => '', 'instead of' => '',
'Add a new address' => '', 'Add a new address' => '',
'Choose your delivery address' => '', 'Choose your delivery address' => '',
'Address %nb' => '', 'Address %nb' => '',
'Edit this address' => '', 'Edit this address' => '',
'Edit' => '', 'Edit' => '',
'Remove this address' => '', 'Remove this address' => '',
'Cancel' => '', 'Cancel' => '',
'Choose your delivery method' => '', 'Choose your delivery method' => '',
'Back' => '', 'Back' => '',
'Next Step' => '', 'Next Step' => '',
'Delete address' => '', 'Delete address' => '',
'Do you really want to delete this address ?' => '', 'Do you really want to delete this address ?' => '',
'No' => '', 'No' => '',
'Yes' => '', 'Yes' => '',
'Shipping Tax' => '', 'Shipping Tax' => '',
'You may have a coupon ?' => '', 'You may have a coupon ?' => '',
'Code :' => '', 'Code :' => '',
'Coupon code' => '', 'Coupon code' => '',
'Ok' => '', 'Ok' => '',
'Delivery address' => '', 'Delivery address' => '',
'Billing address' => '', 'Billing address' => '',
'Change address' => '', 'Change address' => '',
'Choose your payment method' => '', 'Choose your payment method' => '',
'Secure Payment' => '', 'Secure Payment' => '',
'You choose to pay by' => '', 'You choose to pay by' => '',
'Thank you for the trust you place in us.' => '', 'Thank you for the trust you place in us.' => '',
'A summary of your order email has been sent to the following address' => '', 'A summary of your order email has been sent to the following address' => '',
'Your order will be confirmed by us upon receipt of your payment.' => '', 'Your order will be confirmed by us upon receipt of your payment.' => '',
'Order number' => '', 'Order number' => '',
'Date' => '', 'Date' => '',
'Go home' => '', 'Go home' => '',
'Account' => '', 'Account' => '',
'Personal Information' => '', 'Personal Information' => '',
'Change my account information' => '', 'Change my account information' => '',
'Change my password' => '', 'Change my password' => '',
'My Address book' => '', 'My Address book' => '',
'My Address Books' => '', 'My Address Books' => '',
'My Orders' => '', 'My Orders' => '',
'List of orders' => '', 'List of orders' => '',
'Order Number' => '', 'Order Number' => '',
'Amount' => '', 'Amount' => '',
'Status' => '', 'Status' => '',
'View' => '', 'View' => '',
'View order %ref as pdf document' => '', 'View order %ref as pdf document' => '',
'Order details' => '', 'Order details' => '',
'You don\'t have orders yet.' => '', 'You don\'t have orders yet.' => '',
'Update Profile' => '', 'Update Profile' => '',
'Personal Informations' => '', 'Personal Informations' => '',
'Select Title' => '', 'Select Title' => '',
'Update' => '', 'Update' => '',
'Change Password' => '', 'Change Password' => '',
'Login Information' => '', 'Login Information' => '',
'Create New Address' => '', 'Create New Address' => '',
'Address' => '', 'Address' => '',
'Home address' => '', 'Home address' => '',
'Complementary address' => '', 'Complementary address' => '',
'Select Country' => '', 'Select Country' => '',
'Create' => '', 'Create' => '',
'Related' => '', 'Related' => '',
'Grid' => '', 'Grid' => '',
'List' => '', 'List' => '',
'Next' => '', 'Next' => '',
'Previous' => '', 'Previous' => '',
/* '%nb Items' => '',
'The page cannot be found' => '', '%nb Item' => '',
'What\'s your name?' => '', 'Latest products' => '',
'So I can get back to you.' => '', 'Product Offers' => '',
'The subject of your message.' => '', /*
'And your message...' => '', 'The page cannot be found' => '',
'This email already exists.' => '', 'What\'s your name?' => '',
'Address label' => '', 'So I can get back to you.' => '',
'Title' => '', 'The subject of your message.' => '',
'First Name' => '', 'And your message...' => '',
'Last Name' => '', 'This email already exists.' => '',
'Company Name' => '', 'Address label' => '',
'Street Address' => '', 'Title' => '',
'Address Line 2' => '', 'First Name' => '',
'Address Line 3' => '', 'Last Name' => '',
'City' => '', 'Company Name' => '',
'Zip code' => '', 'Street Address' => '',
'Country' => '', 'Address Line 2' => '',
'Phone' => '', 'Address Line 3' => '',
'Cellphone' => '', 'City' => '',
'Make this address as my primary address' => '', 'Zip code' => '',
'Full Name' => '', 'Country' => '',
'Your Email Address' => '', 'Phone' => '',
'Subject' => '', 'Cellphone' => '',
'Your Message' => '', 'Make this address as my primary address' => '',
'Please enter your email address' => '', 'Full Name' => '',
'No, I am a new customer.' => '', 'Your Email Address' => '',
'Yes, I have a password :' => '', 'Subject' => '',
'Please enter your password' => '', 'Your Message' => '',
'This value should not be blank.' => '', 'Please enter your email address' => '',
'A user already exists with this email address. Please login or if you\'ve forgotten your password, go to Reset Your Password.' => '', 'No, I am a new customer.' => '',
'This email does not exists' => '', 'Yes, I have a password :' => '',
'Current Password' => '', 'Please enter your password' => '',
'New Password' => '', 'This value should not be blank.' => '',
'Password confirmation' => '', 'A user already exists with this email address. Please login or if you\'ve forgotten your password, go to Reset Your Password.' => '',
'Your current password does not match.' => '', 'This email does not exists' => '',
'Password confirmation is not the same as password field.' => '', 'Current Password' => '',
'I would like to receive the newsletter or the latest news.' => '', 'New Password' => '',
*/ 'Password confirmation' => '',
'Placeholder firstname' => '', 'Your current password does not match.' => '',
'Placeholder lastname' => '', 'Password confirmation is not the same as password field.' => '',
'Placeholder email' => '', 'I would like to receive the newsletter or the latest news.' => '',
'Placeholder phone' => '', */
'Placeholder cellphone' => '', // Product Empty
'Placeholder company' => '', 'Product Empty Title' => 'Welcome',
'Placeholder address1' => '', 'Product Empty Message' => 'It\'s really quick to add a product.
'Placeholder address2' => '', <ol>
'Placeholder city' => '', <li>Check <strong>NEW</strong> under the details tab if you want to see your product in the latest product section.</li>
'Placeholder zipcode' => '', <li>Check <strong>SALE</strong> under the details tab if you want to see your product in the offer product section.</li>
'Placeholder address label' => '', </ol>',
'Placeholder contact name' => '', 'Product Empty Button' => 'Add my first product',
'Placeholder contact email' => '', 'Demo product title' => 'Demo product title',
'Placeholder contact subject' => '', 'Demo product description' => 'Demo product description',
'Placeholder contact message' => '', // Placeholder
'Placeholder firstname' => '',
'Placeholder lastname' => '',
'Placeholder email' => '',
'Placeholder phone' => '',
'Placeholder cellphone' => '',
'Placeholder company' => '',
'Placeholder address1' => '',
'Placeholder address2' => '',
'Placeholder city' => '',
'Placeholder zipcode' => '',
'Placeholder address label' => '',
'Placeholder contact name' => '',
'Placeholder contact email' => '',
'Placeholder contact subject' => '',
'Placeholder contact message' => '',
) )
; ;

View File

@@ -156,6 +156,10 @@ return array (
'List' => 'Liste', 'List' => 'Liste',
'Next' => 'Suivant', 'Next' => 'Suivant',
'Previous' => 'Précédent', 'Previous' => 'Précédent',
'%nb Items' => '%nb produits',
'%nb Item' => '%nb produit',
'Latest products' => 'Derniers produits',
'Product Offers' => 'Produits en promotion',
/* /*
'The page cannot be found' => '', 'The page cannot be found' => '',
@@ -196,6 +200,17 @@ return array (
'Password confirmation is not the same as password field.' => '', 'Password confirmation is not the same as password field.' => '',
'I would like to receive the newsletter or the latest news.' => '', 'I would like to receive the newsletter or the latest news.' => '',
*/ */
// Product Empty
'Product Empty Title' => 'Bonjour',
'Product Empty Message' => 'C\'est très simple d\'ajouter un produit dans l\'adminsitration.
<ol>
<li>N\'oubliez pas de sélectionner <strong>NEW</strong> dans l\'onglet Details afin de voir votre produit dans la section des nouveautés.</li>
<li>N\'oubliez pas de sélectionner <strong>SALE</strong> dans l\'onglet Details afin de voir votre produit dans la section des promotions.</li>
</ol>',
'Product Empty Button' => 'Ajouter mon premier produit',
'Demo product title' => 'Example de titre',
'Demo product description' => 'Example de description de produit',
// Placeholder
'Placeholder firstname' => 'Prénom', 'Placeholder firstname' => 'Prénom',
'Placeholder lastname' => 'Nom de famille', 'Placeholder lastname' => 'Nom de famille',
'Placeholder email' => 'Adresse e-mail', 'Placeholder email' => 'Adresse e-mail',

View File

@@ -1,214 +1,229 @@
<?php <?php
return array ( return array (
'+ View All' => '', '+ View All' => '',
'Thelia V2' => '', 'Thelia V2' => '',
'Skip to content' => '', 'Skip to content' => '',
'Toggle navigation' => '', 'Toggle navigation' => '',
'Main Navigation' => '', 'Main Navigation' => '',
'Register!' => '', 'Register!' => '',
'Log In!' => '', 'Log In!' => '',
'Sign In' => '', 'Sign In' => '',
'Register' => '', 'Register' => '',
'Cart' => '', 'Cart' => '',
'View Cart' => '', 'View Cart' => '',
'Checkout' => '', 'Checkout' => '',
'You have no items in your shopping cart.' => '', 'You have no items in your shopping cart.' => '',
'Home' => '', 'Home' => '',
'Search a product' => '', 'Search a product' => '',
'Search...' => '', 'Search...' => '',
'Minimum 2 characters.' => '', 'Minimum 2 characters.' => '',
'Search' => '', 'Search' => '',
'Language:' => '', 'Language:' => '',
'Currency:' => '', 'Currency:' => '',
'Latest' => '', 'Latest' => '',
'Offers' => '', 'Offers' => '',
'Special Price:' => '', 'Special Price:' => '',
'Regular Price:' => '', 'Regular Price:' => '',
'Free shipping' => '', 'Free shipping' => '',
'Orders over $50' => '', 'Orders over $50' => '',
'Secure payment' => '', 'Secure payment' => '',
'Multi-payment platform' => '', 'Multi-payment platform' => '',
'Need help ?' => '', 'Need help ?' => '',
'Questions ? See or F.A.Q.' => '', 'Questions ? See or F.A.Q.' => '',
'Latest articles' => '', 'Latest articles' => '',
'No articles currently' => '', 'No articles currently' => '',
'Useful links' => '', 'Useful links' => '',
'Login' => '', 'Login' => '',
'Follow us' => '', 'Follow us' => '',
'Newsletter' => '', 'Newsletter' => '',
'Sign up to receive our latest news.' => '', 'Sign up to receive our latest news.' => '',
'Email address' => '', 'Email address' => '',
'Your email address' => '', 'Your email address' => '',
'Subscribe' => '', 'Subscribe' => '',
'Contact Us' => '', 'Contact Us' => '',
'Copyright' => '', 'Copyright' => '',
'You are here:' => '', 'You are here:' => '',
'Show' => '', 'Show' => '',
'per page' => '', 'per page' => '',
'Sort By' => '', 'Sort By' => '',
'Name ascending' => '', 'Name ascending' => '',
'Name descending' => '', 'Name descending' => '',
'Price ascending' => '', 'Price ascending' => '',
'Price descending' => '', 'Price descending' => '',
'View as' => '', 'View as' => '',
'View product' => '', 'View product' => '',
'Pagination' => '', 'Pagination' => '',
'No products available in this category' => '', 'No products available in this category' => '',
'Categories' => '', 'Categories' => '',
'Ref.' => '', 'Ref.' => '',
'Availability' => '', 'Availability' => '',
'In stock' => '', 'In stock' => '',
'Out of stock' => '', 'Out of stock' => '',
'Add to cart' => '', 'Add to cart' => '',
'Description' => '', 'Description' => '',
'Additional Info' => '', 'Additional Info' => '',
'View cart' => '', 'View cart' => '',
'Continue Shopping' => '', 'Continue Shopping' => '',
'Upsell Products' => '', 'Upsell Products' => '',
'Your Cart' => '', 'Your Cart' => '',
'Billing and delivery' => '', 'Billing and delivery' => '',
'Check my order' => '', 'Check my order' => '',
'Product Name' => '', 'Product Name' => '',
'Name' => '', 'Name' => '',
'Unit Price' => '', 'Unit Price' => '',
'Price' => '', 'Price' => '',
'Quantity' => '', 'Quantity' => '',
'Qty' => '', 'Qty' => '',
'Total' => '', 'Total' => '',
'Tax Inclusive' => '', 'Tax Inclusive' => '',
'TTC' => '', 'TTC' => '',
'Available' => '', 'Available' => '',
'In Stock' => '', 'In Stock' => '',
'No.' => '', 'No.' => '',
'Remove' => '', 'Remove' => '',
'Proceed checkout' => '', 'Proceed checkout' => '',
'Warning' => '', 'Warning' => '',
'missing or invalid data' => '', 'missing or invalid data' => '',
'Do you have an account?' => '', 'Do you have an account?' => '',
'Forgot your Password?' => '', 'Forgot your Password?' => '',
'Next' => '', 'Next' => '',
'Log out!' => '', 'Log out!' => '',
'My Account' => '', 'My Account' => '',
'Previous product' => '', 'Previous product' => '',
'Next product' => '', 'Next product' => '',
'instead of' => '', 'instead of' => '',
'Add a new address' => '', 'Add a new address' => '',
'Choose your delivery address' => '', 'Choose your delivery address' => '',
'Address %nb' => '', 'Address %nb' => '',
'Edit this address' => '', 'Edit this address' => '',
'Edit' => '', 'Edit' => '',
'Remove this address' => '', 'Remove this address' => '',
'Cancel' => '', 'Cancel' => '',
'Choose your delivery method' => '', 'Choose your delivery method' => '',
'Back' => '', 'Back' => '',
'Next Step' => '', 'Next Step' => '',
'Delete address' => '', 'Delete address' => '',
'Do you really want to delete this address ?' => '', 'Do you really want to delete this address ?' => '',
'No' => '', 'No' => '',
'Yes' => '', 'Yes' => '',
'Shipping Tax' => '', 'Shipping Tax' => '',
'You may have a coupon ?' => '', 'You may have a coupon ?' => '',
'Code :' => '', 'Code :' => '',
'Coupon code' => '', 'Coupon code' => '',
'Ok' => '', 'Ok' => '',
'Delivery address' => '', 'Delivery address' => '',
'Billing address' => '', 'Billing address' => '',
'Change address' => '', 'Change address' => '',
'Choose your payment method' => '', 'Choose your payment method' => '',
'Secure Payment' => '', 'Secure Payment' => '',
'You choose to pay by' => '', 'You choose to pay by' => '',
'Thank you for the trust you place in us.' => '', 'Thank you for the trust you place in us.' => '',
'A summary of your order email has been sent to the following address' => '', 'A summary of your order email has been sent to the following address' => '',
'Your order will be confirmed by us upon receipt of your payment.' => '', 'Your order will be confirmed by us upon receipt of your payment.' => '',
'Order number' => '', 'Order number' => '',
'Date' => '', 'Date' => '',
'Go home' => '', 'Go home' => '',
'Account' => '', 'Account' => '',
'Personal Information' => '', 'Personal Information' => '',
'Change my account information' => '', 'Change my account information' => '',
'Change my password' => '', 'Change my password' => '',
'My Address book' => '', 'My Address book' => '',
'My Address Books' => '', 'My Address Books' => '',
'My Orders' => '', 'My Orders' => '',
'List of orders' => '', 'List of orders' => '',
'Order Number' => '', 'Order Number' => '',
'Amount' => '', 'Amount' => '',
'Status' => '', 'Status' => '',
'View' => '', 'View' => '',
'View order %ref as pdf document' => '', 'View order %ref as pdf document' => '',
'Order details' => '', 'Order details' => '',
'You don\'t have orders yet.' => '', 'You don\'t have orders yet.' => '',
'Update Profile' => '', 'Update Profile' => '',
'Personal Informations' => '', 'Personal Informations' => '',
'Select Title' => '', 'Select Title' => '',
'Update' => '', 'Update' => '',
'Change Password' => '', 'Change Password' => '',
'Login Information' => '', 'Login Information' => '',
'Create New Address' => '', 'Create New Address' => '',
'Address' => '', 'Address' => '',
'Home address' => '', 'Home address' => '',
'Complementary address' => '', 'Complementary address' => '',
'Select Country' => '', 'Select Country' => '',
'Create' => '', 'Create' => '',
'Related' => '', 'Related' => '',
'Grid' => '', 'Grid' => '',
'List' => '', 'List' => '',
'Next' => '', 'Next' => '',
'Previous' => '', 'Previous' => '',
/* '%nb Items' => '',
'The page cannot be found' => '', '%nb Item' => '',
'What\'s your name?' => '', 'Latest products' => '',
'So I can get back to you.' => '', 'Product Offers' => '',
'The subject of your message.' => '', /*
'And your message...' => '', 'The page cannot be found' => '',
'This email already exists.' => '', 'What\'s your name?' => '',
'Address label' => '', 'So I can get back to you.' => '',
'Title' => '', 'The subject of your message.' => '',
'First Name' => '', 'And your message...' => '',
'Last Name' => '', 'This email already exists.' => '',
'Company Name' => '', 'Address label' => '',
'Street Address' => '', 'Title' => '',
'Address Line 2' => '', 'First Name' => '',
'Address Line 3' => '', 'Last Name' => '',
'City' => '', 'Company Name' => '',
'Zip code' => '', 'Street Address' => '',
'Country' => '', 'Address Line 2' => '',
'Phone' => '', 'Address Line 3' => '',
'Cellphone' => '', 'City' => '',
'Make this address as my primary address' => '', 'Zip code' => '',
'Full Name' => '', 'Country' => '',
'Your Email Address' => '', 'Phone' => '',
'Subject' => '', 'Cellphone' => '',
'Your Message' => '', 'Make this address as my primary address' => '',
'Please enter your email address' => '', 'Full Name' => '',
'No, I am a new customer.' => '', 'Your Email Address' => '',
'Yes, I have a password :' => '', 'Subject' => '',
'Please enter your password' => '', 'Your Message' => '',
'This value should not be blank.' => '', 'Please enter your email address' => '',
'A user already exists with this email address. Please login or if you\'ve forgotten your password, go to Reset Your Password.' => '', 'No, I am a new customer.' => '',
'This email does not exists' => '', 'Yes, I have a password :' => '',
'Current Password' => '', 'Please enter your password' => '',
'New Password' => '', 'This value should not be blank.' => '',
'Password confirmation' => '', 'A user already exists with this email address. Please login or if you\'ve forgotten your password, go to Reset Your Password.' => '',
'Your current password does not match.' => '', 'This email does not exists' => '',
'Password confirmation is not the same as password field.' => '', 'Current Password' => '',
'I would like to receive the newsletter or the latest news.' => '', 'New Password' => '',
*/ 'Password confirmation' => '',
'Placeholder firstname' => '', 'Your current password does not match.' => '',
'Placeholder lastname' => '', 'Password confirmation is not the same as password field.' => '',
'Placeholder email' => '', 'I would like to receive the newsletter or the latest news.' => '',
'Placeholder phone' => '', */
'Placeholder cellphone' => '', // Product Empty
'Placeholder company' => '', 'Product Empty Title' => 'Welcome',
'Placeholder address1' => '', 'Product Empty Message' => 'It\'s really quick to add a product.
'Placeholder address2' => '', <ol>
'Placeholder city' => '', <li>Check <strong>NEW</strong> under the details tab if you want to see your product in the latest product section.</li>
'Placeholder zipcode' => '', <li>Check <strong>SALE</strong> under the details tab if you want to see your product in the offer product section.</li>
'Placeholder address label' => '', </ol>',
'Placeholder contact name' => '', 'Product Empty Button' => 'Add my first product',
'Placeholder contact email' => '', 'Demo product title' => 'Demo product title',
'Placeholder contact subject' => '', 'Demo product description' => 'Demo product description',
'Placeholder contact message' => '', // Placeholder
'Placeholder firstname' => '',
'Placeholder lastname' => '',
'Placeholder email' => '',
'Placeholder phone' => '',
'Placeholder cellphone' => '',
'Placeholder company' => '',
'Placeholder address1' => '',
'Placeholder address2' => '',
'Placeholder city' => '',
'Placeholder zipcode' => '',
'Placeholder address label' => '',
'Placeholder contact name' => '',
'Placeholder contact email' => '',
'Placeholder contact subject' => '',
'Placeholder contact message' => '',
) )
; ;

View File

@@ -46,6 +46,7 @@
&.btn-coupon, &.btn-coupon,
&.btn-filter, &.btn-filter,
&.btn-grid, &.btn-grid,
&.btn-jumbotron,
&.btn-list, &.btn-list,
&.btn-login-mini, &.btn-login-mini,
&.btn-search, &.btn-search,

View File

@@ -19,7 +19,8 @@
{$product_order={$smarty.get.order|default:'alpha'}} {$product_order={$smarty.get.order|default:'alpha'}}
<article class="col-main {$smarty.get.mode|default:"grid"}" role="main"> <article class="col-main {$smarty.get.mode|default:"grid"}" role="main">
{ifloop rel="product_list"} {ifloop rel="product_list"}
{include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order} {assign var="amount" value="{count type="product" category={category attr="id"}}"}
{include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}}
<div id="category-products"> <div id="category-products">
<div class="products-content"> <div class="products-content">
<ul class="product-col-4"> <ul class="product-col-4">
@@ -29,7 +30,7 @@
</ul> </ul>
</div> </div>
</div><!-- /#category-products --> </div><!-- /#category-products -->
{include file="includes/toolbar.html" toolbar="bottom"} {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}}
{/ifloop} {/ifloop}
{elseloop rel="product_list"} {elseloop rel="product_list"}
<div class="address-warning"> <div class="address-warning">

View File

@@ -0,0 +1,35 @@
<div class="jumbotron">
<h1>{intl l="Product Empty Title"}</h1>
<p>{intl l="Product Empty Message"}</p>
<p><a href="{url path="/admin"}" class="btn btn-jumbotron btn-lg" role="button">{intl l="Product Empty Button"}</a></p>
</div>
<section id="products-new">
<div class="products-heading">
<h2>{intl l="Latest"}</h2>
</div>
<div class="products-content">
<ul class="products-grid product-col-4">
{for $count=1 to 4}
<li class="item">
<article>
<a href="{url path="/admin"}" tabindex="-1" class="product-image">
{images file='../assets/img/280x196.png'}<img src="{$asset_url}" alt="{intl l="Demo product title"}">{/images}
<span class="mask"></span>
</a>
<a href="{url path="/admin"}" class="product-info">
<h3 class="name">{intl l="Demo product title"}</h3>
<div class="short-description">{intl l="Demo product description"}</div>
<div class="product-price">
<div class="price-container">
<span class="regular-price"><span class="price">99.99 {currency attr="symbol"}</span></span>
</div>
</div>
</a>
</article><!-- /product -->
</li>
{/for}
</ul>
</div>
</section><!-- #products-new -->

View File

@@ -1,5 +1,7 @@
<li class="item"> <li class="item">
{assign var="hasSubmit" value = false} {assign var="hasSubmit" value = false}
{assign var="productTitle" value="{$TITLE}"}
<article itemscope itemtype="http://schema.org/Product"> <article itemscope itemtype="http://schema.org/Product">
<!-- Use the meta tag to specify content that is not visible on the page in any way --> <!-- Use the meta tag to specify content that is not visible on the page in any way -->
{loop name="brand.feature" type="feature" product=$ID title="brand"} {loop name="brand.feature" type="feature" product=$ID title="brand"}
@@ -15,14 +17,16 @@
<a href="{$URL}" itemprop="url" tabindex="-1" class="product-image"> <a href="{$URL}" itemprop="url" tabindex="-1" class="product-image">
{loop name="product_thumbnail" type="image" product=$ID width="{$width}" height="{$height}" resize_mode="borders" limit="1"} {loop name="product_thumbnail" type="image" product=$ID width="{$width}" height="{$height}" resize_mode="borders" limit="1"}
<img itemprop="image" src="{$IMAGE_URL}" alt="Product #{$LOOP_COUNT}"> <img itemprop="image" src="{$IMAGE_URL}" alt="{$productTitle}">
{/loop} {/loop}
{elseloop rel="product_thumbnail"}
{images file='../assets/img/218x146.png'}<img itemprop="image" src="{$asset_url}" alt="{$productTitle}">{/images}
{/elseloop}
<span class="mask"></span> <span class="mask"></span>
</a> </a>
<div class="product-info"> <div class="product-info">
<h3 class="name"><a href="{$URL}"><span itemprop="name">{$TITLE}</span></a></h3> <h3 class="name"><a href="{$URL}"><span itemprop="name">{$productTitle}</span></a></h3>
{if $hasDescription} {if $hasDescription}
<div class="description" itemprop="description"> <div class="description" itemprop="description">
<p>{$DESCRIPTION}</p> <p>{$DESCRIPTION}</p>

View File

@@ -1,7 +1,7 @@
<div class="toolbar toolbar-{$toolbar}" role="toolbar"> <div class="toolbar toolbar-{$toolbar}" role="toolbar">
{if $toolbar == "top" } {if $toolbar == "top" }
<div class="sorter-container"> <div class="sorter-container">
{*<span class="amount">9 {intl l="Item(s)"}</span>*} <span class="amount">{if ($amount > 1)}{intl l="%nb Items" nb="{$amount}"}{else}{intl l="%nb Item" nb="{$amount}"}{/if}</span>
<span class="limiter"> <span class="limiter">
<label for="limit-top">{intl l="Show"}</label> <label for="limit-top">{intl l="Show"}</label>
@@ -37,31 +37,33 @@
</div><!-- /.sorter --> </div><!-- /.sorter -->
{else} {else}
<div class="pagination-container" role="pagination" aria-labelledby="pagination-label-{$toolbar}}"> {if $amount > $limit}
<strong id="pagination-label-{$toolbar}}" class="pagination-label">{intl l="Pagination"}</strong> <div class="pagination-container" role="pagination" aria-labelledby="pagination-label-{$toolbar}}">
<ul class="pagination"> <strong id="pagination-label-{$toolbar}}" class="pagination-label">{intl l="Pagination"}</strong>
<ul class="pagination">
{if $product_page > 1} {if $product_page > 1}
<li><a href="{url path={navigate to="current"} page={$product_page-1} }" title="{intl l="Previous"}" class="prev"><i class="icon-prev"></i></a></li> <li><a href="{url path={navigate to="current"} page={$product_page-1} }" title="{intl l="Previous"}" class="prev"><i class="icon-prev"></i></a></li>
{else}
<li><a href="#" title="{intl l="Previous"}" class="prev"><i class="icon-prev"></i></a></li>
{/if}
{pageloop rel="product_list"}
{if $PAGE != $CURRENT}
<li><a href="{url path={navigate to="current"} page=$PAGE }"> {$PAGE} </a></li>
{else}
<li class="active"><a href="#" tabindex="-1">{$PAGE}</a></li>
{/if}
{if $PAGE == $LAST}
{if $CURRENT < $LAST}
<li><a href="{url path={navigate to="current"} page={$CURRENT+1} }" title="{intl l="Next"}" class="next"><i class="icon-next"></i></a></li>
{else} {else}
<li><a href="#" title="{intl l="Next"}" class="next"><i class="icon-next"></i></a></li> <li><a href="#" title="{intl l="Previous"}" class="prev"><i class="icon-prev"></i></a></li>
{/if} {/if}
{pageloop rel="product_list"}
{if $PAGE != $CURRENT}
<li><a href="{url path={navigate to="current"} page=$PAGE }"> {$PAGE} </a></li>
{else}
<li class="active"><a href="#" tabindex="-1">{$PAGE}</a></li>
{/if}
{if $PAGE == $LAST}
{if $CURRENT < $LAST}
<li><a href="{url path={navigate to="current"} page={$CURRENT+1} }" title="{intl l="Next"}" class="next"><i class="icon-next"></i></a></li>
{else}
<li><a href="#" title="{intl l="Next"}" class="next"><i class="icon-next"></i></a></li>
{/if}
{/if} {/if}
{/pageloop} {/pageloop}
</ul> </ul>
</div> </div>
{/if}
{/if} {/if}
</div><!-- /.toolbar toolbar-<?php echo $toolbar; ?> --> </div><!-- /.toolbar toolbar-<?php echo $toolbar; ?> -->

View File

@@ -14,101 +14,108 @@
<figure class="item active"> <figure class="item active">
{images file='assets/img/carousel/slider1.png'}<img src="{$asset_url}" alt="img1">{/images} {images file='assets/img/carousel/slider1.png'}<img src="{$asset_url}" alt="img1">{/images}
</figure> </figure>
{* <figure class="item"> <figure class="item">
{images file='assets/img/carousel/slider2.png'}<img src="{$asset_url}" alt="img2">{/images} {images file='assets/img/carousel/slider2.png'}<img src="{$asset_url}" alt="img2">{/images}
</figure> </figure>
<figure class="item"> <figure class="item">
{images file='assets/img/carousel/slider3.png'}<img src="{$asset_url}" alt="img3">{/images} {images file='assets/img/carousel/slider3.png'}<img src="{$asset_url}" alt="img3">{/images}
</figure>*} </figure>
</div> </div>
</div> </div>
{* <a class="left carousel-control" href="#carousel" data-slide="prev"><span class="icon-prev"></span></a> <a class="left carousel-control" href="#carousel" data-slide="prev"><span class="icon-prev"></span></a>
<a class="right carousel-control" href="#carousel" data-slide="next"><span class="icon-next"></span></a>*} <a class="right carousel-control" href="#carousel" data-slide="next"><span class="icon-next"></span></a>
</div> </div>
</section><!-- #carousel --> </section><!-- #carousel -->
{if {count type="product"} eq 0}
{include file="includes/product-empty.html"}
{else}
{ifloop rel="product_new"}
<section id="products-new">
<div class="products-heading">
<h2>{intl l="Latest"} <a href="{url path="/view_all" type="new"}" class="btn-all">{intl l="+ View All"}</a></h2>
</div>
<section id="products-new"> <div class="products-content">
<div class="products-heading"> <ul class="products-grid product-col-4">
<h2>{intl l="Latest"} <a href="{url path="/view_all" type="new"}" class="btn-all">{intl l="+ View All"}</a></h2> {loop name="product_new" type="product" limit="4" new="yes"}
</div> <li class="item">
<article itemscope itemtype="http://schema.org/Product">
<div class="products-content"> <!-- Use the meta tag to specify content that is not visible on the page in any way -->
<ul class="products-grid product-col-4"> {$product_id=$ID}
{loop name="product_new" type="product" limit="4" new="yes"} {loop name="brand.feature" type="feature" product="{$ID}" title="brand"}
<li class="item"> {loop name="brand.value" type="feature_value" feature="{$ID}" product="$product_id"}
<article itemscope itemtype="http://schema.org/Product"> <meta itemprop="brand" content="{$TITLE}">
<!-- Use the meta tag to specify content that is not visible on the page in any way --> {/loop}
{$product_id=$ID}
{loop name="brand.feature" type="feature" product="{$ID}" title="brand"}
{loop name="brand.value" type="feature_value" feature="{$ID}" product="$product_id"}
<meta itemprop="brand" content="{$TITLE}">
{/loop} {/loop}
{/loop} {loop name="brand.feature" type="feature" product=$ID title="isbn"}
{loop name="brand.feature" type="feature" product=$ID title="isbn"} {loop name="brand.value" type="feature_value" feature=$ID product=$product_id}
{loop name="brand.value" type="feature_value" feature=$ID product=$product_id} <meta itemprop="productID" content="isbn:{$TITLE}">
<meta itemprop="productID" content="isbn:{$TITLE}"> {/loop}
{/loop} {/loop}
{/loop}
<a href="{$URL}" itemprop="url" tabindex="-1" class="product-image"> <a href="{$URL}" itemprop="url" tabindex="-1" class="product-image">
{ifloop rel="image_product_new" } {ifloop rel="image_product_new" }
<img itemprop="image" <img itemprop="image"
{loop name="image_product_new" type="image" limit="1" product="{$ID}" force_return="true" width="280" height="196" resize_mode="borders"} {loop name="image_product_new" type="image" limit="1" product="{$ID}" force_return="true" width="280" height="196" resize_mode="borders"}
src="{$IMAGE_URL}" src="{$IMAGE_URL}"
{/loop} {/loop}
alt="Product #{$LOOP_COUNT}" > alt="Product #{$LOOP_COUNT}" >
{/ifloop} {/ifloop}
{elseloop rel="image_product_new"} {elseloop rel="image_product_new"}
{images file='assets/img/280x196.png'}<img itemprop="image" src="{$asset_url}" alt="Product #{$LOOP_COUNT}">{/images} {images file='assets/img/280x196.png'}<img itemprop="image" src="{$asset_url}" alt="Product #{$LOOP_COUNT}">{/images}
{/elseloop} {/elseloop}
<span class="mask"></span> <span class="mask"></span>
</a> </a>
<a href="{$URL}" class="product-info"> <a href="{$URL}" class="product-info">
<h3 class="name"><span itemprop="name">{$TITLE}</span></h3> <h3 class="name"><span itemprop="name">{$TITLE}</span></h3>
<div class="short-description" itemprop="description">{$CHAPO}</div> <div class="short-description" itemprop="description">{$CHAPO}</div>
<div class="product-price"> <div class="product-price">
<div class="price-container" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <div class="price-container" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
{loop type="category" name="category_tag" id=$DEFAULT_CATEGORY} {loop type="category" name="category_tag" id=$DEFAULT_CATEGORY}
<meta itemprop="category" content="{$TITLE}"> <meta itemprop="category" content="{$TITLE}">
{/loop} {/loop}
<meta itemprop="itemCondition" itemscope itemtype="http://schema.org/NewCondition"> <!-- List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition --> <meta itemprop="itemCondition" itemscope itemtype="http://schema.org/NewCondition"> <!-- List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition -->
<meta itemprop="priceCurrency" content="{currency attr="code"}"> <!-- List of currency : The currency used to describe the product price, in three-letter ISO format. --> <meta itemprop="priceCurrency" content="{currency attr="code"}"> <!-- List of currency : The currency used to describe the product price, in three-letter ISO format. -->
<link itemprop="availability" href="http://schema.org/InStock" content="in_stock" /> <link itemprop="availability" href="http://schema.org/InStock" content="in_stock" />
<!-- List of availibility : <!-- List of availibility :
out_of_stock : http://schema.org/OutOfStock out_of_stock : http://schema.org/OutOfStock
in_stock : http://schema.org/InStock in_stock : http://schema.org/InStock
instore_only : http://schema.org/InStoreOnly instore_only : http://schema.org/InStoreOnly
preorder : http://schema.org/PreOrder preorder : http://schema.org/PreOrder
online_only : http://schema.org/OnlineOnly online_only : http://schema.org/OnlineOnly
--> -->
<span class="regular-price"><span itemprop="price" class="price">{format_number number="{$BEST_TAXED_PRICE}"} {currency attr="symbol"}</span></span> <span class="regular-price"><span itemprop="price" class="price">{format_number number="{$BEST_TAXED_PRICE}"} {currency attr="symbol"}</span></span>
</div>
</div> </div>
</div> </a>
</a> </article><!-- /product -->
</article><!-- /product --> </li>
</li> {/loop}
{/loop} </ul>
</div>
</section><!-- #products-new -->
{/ifloop}
</ul> {ifloop rel="product_promo"}
</div> <section id="products-offer">
</section><!-- #products-new --> <div class="products-heading">
<h2>{intl l="Offers"} <a href="{url path="/view_all" type="offers"}" class="btn-all">{intl l="+ View All"}</a></h2>
</div>
<section id="products-offer"> <div class="products-content">
<div class="products-heading"> <ul class="products-grid product-col-5 hover-effect">
<h2>{intl l="Offers"} <a href="{url path="/view_all" type="offers"}" class="btn-all">{intl l="+ View All"}</a></h2> {loop name="product_promo" type="product" limit="5" promo="yes"}
</div> {include file="includes/single-product.html" product_id=$ID hasBtn=false hasDescription=false width="218" height="146"}
{/loop}
</ul>
</div>
</section><!-- #products-offer -->
{/ifloop}
{/if}
<div class="products-content">
<ul class="products-grid product-col-5 hover-effect">
{loop name="product_promo" type="product" limit="5" promo="yes"}
{include file="includes/single-product.html" product_id=$ID hasBtn=false hasDescription=false width="218" height="146"}
{/loop}
</ul>
</div>
</section><!-- #products-offer -->
{/block} {/block}

View File

@@ -33,12 +33,15 @@
{/loop} {/loop}
<section id="product-gallery"> <section id="product-gallery">
{ifloop rel="image.main"}
<figure class="product-image"> <figure class="product-image">
{loop type="image" name="image.main" product="{$ID}" width="560" height="445" resize_mode="borders" limit="1"} {loop type="image" name="image.main" product="{$ID}" width="560" height="445" resize_mode="borders" limit="1"}
<img src="{$IMAGE_URL}" alt="{$TITLE}" class="img-responsive" itemprop="image" data-toggle="magnify"> <img src="{$IMAGE_URL}" alt="{$TITLE}" class="img-responsive" itemprop="image" data-toggle="magnify">
{/loop} {/loop}
</figure> </figure>
{/ifloop}
{ifloop rel="image.carousel"}
<div id="product-thumbnails" class="slide" style="position:relative;"> <div id="product-thumbnails" class="slide" style="position:relative;">
<div class="carousel-inner"> <div class="carousel-inner">
<div class="item active"> <div class="item active">
@@ -76,16 +79,17 @@
<a class="right carousel-control" href="#product-thumbnails" data-slide="next"><i class="icon-next"></i></a> <a class="right carousel-control" href="#product-thumbnails" data-slide="next"><i class="icon-next"></i></a>
{/ifloop} {/ifloop}
</div> </div>
{/ifloop}
</section> </section>
<section id="product-details"> <section id="product-details">
<div class="product-info"> <div class="product-info">
<h1 class="name"><span itemprop="name">{$TITLE}</span></h1> <h1 class="name"><span itemprop="name">{$TITLE}</span></h1>
<span itemprop="sku" class="sku">{intl l='Ref.'}: {$REF}</span> {if $REF}<span itemprop="sku" class="sku">{intl l='Ref.'}: {$REF}</span>{/if}
<div class="short-description"> {if $POSTSCRIPTUM}<div class="short-description">
<p>{$POSTSCRIPTUM}</p> <p>{$POSTSCRIPTUM}</p>
</div> </div>{/if}
</div> </div>
{loop name="stock_meta" type="product_sale_elements" product="$ID"} {loop name="stock_meta" type="product_sale_elements" product="$ID"}
@@ -111,7 +115,6 @@
<span class="availibity-label">{intl l="Availability"}: </span> <span class="availibity-label">{intl l="Availability"}: </span>
<span itemprop="availability" href="{$current_stock_href}" class="{$current_stock_class}" id="stockInformations"> <span itemprop="availability" href="{$current_stock_href}" class="{$current_stock_class}" id="stockInformations">
<span class="in">{intl l='In stock'}</span><span class="out">{intl l='Out of stock'}</span> <span class="in">{intl l='In stock'}</span><span class="out">{intl l='Out of stock'}</span>
</span> </span>
</div> </div>
@@ -142,10 +145,8 @@
<input type="hidden" name="{$name}" value="1"> <input type="hidden" name="{$name}" value="1">
{/form_field} {/form_field}
{if $form_error}<div class="alert alert-error">{$form_error_message}</div>{/if} {if $form_error}<div class="alert alert-error">{$form_error_message}</div>{/if}
{form_field form=$form field="product"} {form_field form=$form field="product"}
<input id="{$label_attr.for}" type="hidden" name="{$name}" value="{$ID}" {$attr} > <input id="{$label_attr.for}" type="hidden" name="{$name}" value="{$ID}" {$attr} >
{/form_field} {/form_field}
@@ -172,12 +173,12 @@
{form_field form=$form field='quantity'} {form_field form=$form field='quantity'}
<div class="form-group group-qty {if $error}has-error{elseif $value != "" && !$error}has-success{/if}"> <div class="form-group group-qty {if $error}has-error{elseif $value != "" && !$error}has-success{/if}">
<label for="{$label_attr.for}">{$label}</label> <label for="{$label_attr.for}">{$label}</label>
<input type="number" name="{$name}" id="{$label_attr.for}" class="form-control" value="{$value|default:1}" min="1" required> <input type="number" name="{$name}" id="{$label_attr.for}" class="form-control" value="{$value|default:1}" min="1" required>
{if $error } {if $error }
<span class="help-block"><i class="icon-remove"></i> {$message}</span> <span class="help-block">{$message}</span>
{elseif $value != "" && !$error} {elseif $value != "" && !$error}
<span class="help-block"><i class="icon-ok"></i></span> <span class="help-block"><i class="icon-ok"></i></span>
{/if} {/if}
</div> </div>
{/form_field} {/form_field}
@@ -189,29 +190,38 @@
{/form} {/form}
</section> </section>
<section id="product-tabs"> {strip}
<ul class="nav nav-tabs" role="tablist"> {capture "additional"}
<li class="active" role="presentation"><a id="tab1" href="#description" data-toggle="tab" role="tab">{intl l="Description"}</a></li> {ifloop rel="feature_value_info"}
<li role="presentation"><a id="tab2" href="#additional" data-toggle="tab" role="tab">{intl l="Additional Info"}</a></li> <ul>
</ul>
<div class="tab-content">
<div class="tab-pane active in" id="description" itemprop="description" role="tabpanel" aria-labelledby="tab1">
<p>{$DESCRIPTION}</p>
</div>
<div class="tab-pane" id="additional" role="tabpanel" aria-labelledby="tab2">
{ifloop rel="feature_value_info"}
<ul>
{loop name="feature_info" type="feature" product="{$ID}"} {loop name="feature_info" type="feature" product="{$ID}"}
<li> <li>
<strong>{$TITLE}</strong> : <strong>{$TITLE}</strong> :
{loop name="feature_value_info" type="feature_value" feature="{$ID}" product="{product attr="id"}"} {loop name="feature_value_info" type="feature_value" feature="{$ID}" product="{product attr="id"}"}
{$TITLE} {$TITLE}
{/loop} {/loop}
</li> </li>
{/loop} {/loop}
</ul> </ul>
{/ifloop} {/ifloop}
{/capture}
{/strip}
<section id="product-tabs">
<ul class="nav nav-tabs" role="tablist">
<li class="active" role="presentation"><a id="tab1" href="#description" data-toggle="tab" role="tab">{intl l="Description"}</a></li>
{if $smarty.capture.additional ne ""}<li role="presentation"><a id="tab2" href="#additional" data-toggle="tab" role="tab">{intl l="Additional Info"}</a></li>{/if}
</ul>
<div class="tab-content">
<div class="tab-pane active in" id="description" itemprop="description" role="tabpanel" aria-labelledby="tab1">
<p>{$DESCRIPTION|default:'N/A'}</p>
</div> </div>
{if $smarty.capture.additional ne ""}
<div class="tab-pane" id="additional" role="tabpanel" aria-labelledby="tab2">
{$smarty.capture.additional}
</div>
{/if}
</div> </div>
</section> </section>
</article><!-- /product --> </article><!-- /product -->

View File

@@ -20,14 +20,14 @@
<article class="col-main {$smarty.get.mode|default:"grid"}" role="main" aria-labelledby="main-label"> <article class="col-main {$smarty.get.mode|default:"grid"}" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Search Result for"} <small>{$smarty.get.q}</small></h1> <h1 id="main-label" class="page-header">{intl l="Search Result for"} <small>{$smarty.get.q}</small></h1>
{include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order} {assign var="amount" value="{count type="product" title="{$smarty.get.q}"}"}
{include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}}
<div id="category-products"> <div id="category-products">
<div class="products-content"> <div class="products-content">
{ifloop rel="product_list"} {ifloop rel="product_list"}
<ul class="product-col-3"> <ul class="product-col-3">
{loop type="product" name="product_list" title="{$smarty.get.q}" limit=$limit page=$product_page order=$product_order} {loop type="product" name="product_list" title="{$smarty.get.q}" limit=$limit page=$product_page order=$product_order}
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="369" height="247"} {include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="369" height="247"}
{assign "products_count" $LOOP_TOTAL}
{/loop} {/loop}
</ul> </ul>
{/ifloop} {/ifloop}
@@ -37,7 +37,7 @@
</div> </div>
</div><!-- /#category-products --> </div><!-- /#category-products -->
{ifloop rel="product_list"} {ifloop rel="product_list"}
{include file="includes/toolbar.html" toolbar="bottom"} {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}}
{/ifloop} {/ifloop}
</article> </article>

View File

@@ -13,43 +13,34 @@
{block name="main-content"} {block name="main-content"}
<div class="main"> <div class="main">
{* Parameters *}
{$limit={$smarty.get.limit|default:8}} {$limit={$smarty.get.limit|default:8}}
{$product_page={$smarty.get.page|default:1}} {$product_page={$smarty.get.page|default:1}}
{$product_order={$smarty.get.order|default:'alpha'}} {$product_order={$smarty.get.order|default:'new'}}
{$product_type={$smarty.get.type|default:'new'}}
<article class="col-main {$smarty.get.mode|default:"grid"}" role="main" aria-labelledby="main-label"> <article class="col-main {$smarty.get.mode|default:"grid"}" role="main" aria-labelledby="main-label">
{if $smarty.get.type == "new"} <h1 id="main-label" class="page-header">{if $product_type == "new"}{intl l="Latest products"}{elseif $product_type == "offers"}{intl l="Product Offers"}{/if}</h1>
<h1 id="main-label" class="page-header">{intl l="View all"} {$smarty.get.type} {intl l="products"}</h1> {assign var="amount" value="{count type="product" promo="{$product_type == "offers"}" new="{$product_type == "new"}"}"}
{else} {include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}}
<h1 id="main-label" class="page-header">{intl l="View all"} {intl l="offers"}</h1> <div id="category-products">
{/if} <div class="products-content">
{include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order} {ifloop rel="product_list"}
<div id="category-products"> <ul class="product-col-3">
<div class="products-content"> {loop type="product" promo="{$product_type == "offers"}" new="{$product_type == "new"}" name="product_list" limit=$limit page=$product_page order=$product_order}
{ifloop rel="product_list"}
<ul class="product-col-3">
{if $smarty.get.type == "new"}
{loop type="product" name="product_list" limit=$limit page=$product_page order=$product_order}
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="700" height="320"} {include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="700" height="320"}
{/loop} {/loop}
{else} </ul>
{loop type="product" name="product_list" promo="yes" limit=$limit page=$product_page order=$product_order} {/ifloop}
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="700" height="320"} {elseloop rel="product_list"}
{/loop} <h2 class="text-center">{intl l="No results found"} </h2>
{/if} {/elseloop}
</div>
</div><!-- /#category-products -->
</ul> {ifloop rel="product_list"}
{/ifloop} {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}}
{elseloop rel="product_list"} {/ifloop}
<h2 class="text-center">{intl l="No results found"} </h2>
{/elseloop}
</div>
</div><!-- /#category-products -->
{ifloop rel="product_list"}
{include file="includes/toolbar.html" toolbar="bottom"}
{/ifloop}
</article> </article>
</div><!-- /.layout --> </div><!-- /.layout -->