From bbf247ab2e9aefca8d614a336114e6af55c00827 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Thu, 27 Oct 2011 08:09:35 +0000 Subject: [PATCH] // added labels to product page fields --- .../themes/template/products/combinations.tpl | 4 +- admin-dev/themes/template/products/images.tpl | 2 +- .../themes/template/products/informations.tpl | 20 ++-- controllers/admin/AdminProductsController.php | 104 +++++++++--------- 4 files changed, 65 insertions(+), 65 deletions(-) diff --git a/admin-dev/themes/template/products/combinations.tpl b/admin-dev/themes/template/products/combinations.tpl index c33af1395..6a9070b8e 100644 --- a/admin-dev/themes/template/products/combinations.tpl +++ b/admin-dev/themes/template/products/combinations.tpl @@ -229,7 +229,7 @@ {/if} - {l s='Minimum quantity:' } + @@ -237,7 +237,7 @@ - {l s='Available date:'} +

{l s='The available date when this product is out of stock'}

'; $content .= ' - '.$this->l('Tax rule:').' + '.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' ('.$this->l('already included in price').') @@ -2473,7 +2473,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); { $content .= ' - '.$this->l('Retail price with tax:').' + '.($currency->format % 2 != 0 ? ' '.$currency->sign : '').' '.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' @@ -2484,7 +2484,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); $content .= ' - '.$this->l('Unit price without tax:').' + '.($currency->format % 2 != 0 ? ' '.$currency->sign : '').' '.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' '.$this->l('per').' '. (Configuration::get('PS_TAX') && $this->context->country->display_tax_label ? ''.$this->l('or').' '.($currency->format % 2 != 0 ? ' '.$currency->sign : '').'0.00'.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' '.$this->l('per').' '.$this->getFieldValue($product, 'unity').' '.$this->l('with tax') : '').' @@ -2492,13 +2492,13 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); -   + getFieldValue($product, 'on_sale') ? 'checked="checked"' : '').'value="1" />  - '.$this->l('Final retail price:').' + '.($currency->format % 2 != 0 ? $currency->sign.' ' : '').''.($currency->format % 2 == 0 ? ' '.$currency->sign : '').' ('.$this->l('tax incl.').') @@ -2512,7 +2512,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); -   +
'.$this->l('You can define many discounts and specific price rules in the Prices tab').'
@@ -2526,7 +2526,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); $content .= '
- '.$this->l('Minimum quantity:').' +

'.$this->l('The minimum quantity to buy this product (set to 1 to disable this feature)').'

@@ -2545,7 +2545,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); { $content .= ' - '.$this->l('Minimum quantity:').' +

'.$this->l('The minimum quantity to buy this product (set to 1 to disable this feature)').'

@@ -2558,7 +2558,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); $content .= '
- '.$this->l('Additional shipping cost:').' + '.($currency->format % 2 == 0 ? ' '.$currency->sign : ''); if ($this->context->country->display_tax_label) @@ -2568,7 +2568,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); - '.$this->l('Displayed text when in-stock:').' + '; foreach ($this->_languages as $language) $content .= '
@@ -2579,7 +2579,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); $content .= ' - '.$this->l('Displayed text when allowed to be back-ordered:').' + '; foreach ($this->_languages as $language) $content .= '
@@ -2598,7 +2598,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); { $content .= ' - '.$this->l('Available date:').' +

'.$this->l('The available date when this product is out of stock').'

@@ -2613,7 +2613,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier); - '.$this->l('When out of stock:').' + getFieldValue($product, 'out_of_stock')) == 0 ? 'checked="checked"' : '').'/>
getFieldValue($product, 'out_of_stock') == 1 ? 'checked="checked"' : '').'/> @@ -2677,7 +2677,7 @@ $product->supplier_name = Supplier::getNameById($product->id_supplier);