// Press "enter" is now blocked for AdminProductsController templates
This commit is contained in:
1 parent
88b0566c65
commit
730fb9ca49
14 files changed
+174
-12
No files matched your search
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($product->id)}
|
{if isset($product->id)}
|
||||||
|
|
||||||
<h4>{l s='Accounting'}</h4>
|
<h4>{l s='Accounting'}</h4>
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
<div class="Associations">
|
<div class="Associations">
|
||||||
<h4>{l s='Product price'}</h4>
|
<h4>{l s='Product price'}</h4>
|
||||||
<div class="separation"></div>
|
<div class="separation"></div>
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($obj->id)}
|
{if isset($obj->id)}
|
||||||
|
|
||||||
<h4>{l s='Attachment'}</h4>
|
<h4>{l s='Attachment'}</h4>
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($product->id)}
|
{if isset($product->id)}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|||||||
@@ -23,6 +23,19 @@
|
|||||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($obj->id)}
|
{if isset($obj->id)}
|
||||||
<h4>{l s='Add or modify customizable properties'}</h4>
|
<h4>{l s='Add or modify customizable properties'}</h4>
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($product->id)}
|
{if isset($product->id)}
|
||||||
|
|
||||||
<h4>{l s='Assign features to this product:'}</h4>
|
<h4>{l s='Assign features to this product:'}</h4>
|
||||||
|
|||||||
@@ -142,9 +142,11 @@
|
|||||||
else
|
else
|
||||||
$('#desc-product-newCombination').hide();
|
$('#desc-product-newCombination').hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
{if $show_product_tab_content}
|
{if $show_product_tab_content}
|
||||||
$("div.productTabs a[id$=-{$show_product_tab_content}]").click();
|
$("div.productTabs a[id$=-{$show_product_tab_content}]").click();
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -279,7 +281,9 @@
|
|||||||
<div id="product-tab-content-wait" style="display:none" >{l s='loading ...'}</div>
|
<div id="product-tab-content-wait" style="display:none" >{l s='loading ...'}</div>
|
||||||
{foreach $product_tabs key=numStep item=tab}
|
{foreach $product_tabs key=numStep item=tab}
|
||||||
<div id="product-tab-content-{$tab.id}" class="{if !$tab.selected}not-loaded{/if} product-tab-content" {if !$tab.selected}style="display:none"{/if}>
|
<div id="product-tab-content-{$tab.id}" class="{if !$tab.selected}not-loaded{/if} product-tab-content" {if !$tab.selected}style="display:none"{/if}>
|
||||||
{if $tab.selected}{$custom_form}{/if}
|
{if $tab.selected}
|
||||||
|
{$custom_form}
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($id_product) && isset($product)}
|
{if isset($id_product) && isset($product)}
|
||||||
<h4 class="tab" >2. {l s='Images'} (<span id="countImage">{$countImages}</span>)</h4>
|
<h4 class="tab" >2. {l s='Images'} (<span id="countImage">{$countImages}</span>)</h4>
|
||||||
<h4>{if isset($id_image)}{l s='Edit this product image'}{else}{l s='Add a new image to this product'}{/if}</h4> <div class="separation"></div><br />
|
<h4>{if isset($id_image)}{l s='Edit this product image'}{else}{l s='Add a new image to this product'}{/if}</h4> <div class="separation"></div><br />
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
<div id="step1">
|
<div id="step1">
|
||||||
<h4 class="tab">1. {l s='Info.'}</h4>
|
<h4 class="tab">1. {l s='Info.'}</h4>
|
||||||
<h4>{l s='Product global information'}</h4>
|
<h4>{l s='Product global information'}</h4>
|
||||||
|
|||||||
@@ -24,7 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
<script type="text/javascript" src="{$smarty.const._PS_JS_DIR_}price.js"></script>
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
<div class="block_specific_prices_modifications">
|
<div class="block_specific_prices_modifications">
|
||||||
<h4>{l s='Product price'}</h4>
|
<h4>{l s='Product price'}</h4>
|
||||||
<div class="separation"></div>
|
<div class="separation"></div>
|
||||||
@@ -209,15 +220,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
product_prices['0'] = $('#sp_current_ht_price').html();
|
product_prices['0'] = $('#sp_current_ht_price').html();
|
||||||
$('#id_product_attribute').change(function() {
|
|
||||||
$('#sp_current_ht_price').html(product_prices[$('#id_product_attribute option:selected').val()]);
|
$('#id_product_attribute').change(function() {
|
||||||
});
|
$('#sp_current_ht_price').html(product_prices[$('#id_product_attribute option:selected').val()]);
|
||||||
$('.datepicker').datepicker({
|
});
|
||||||
prevText: '',
|
|
||||||
nextText: '',
|
$('.datepicker').datepicker({
|
||||||
dateFormat: 'yy-mm-dd'
|
prevText: '',
|
||||||
});
|
nextText: '',
|
||||||
|
dateFormat: 'yy-mm-dd'
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -284,4 +297,4 @@
|
|||||||
calcPriceTI();
|
calcPriceTI();
|
||||||
unitPriceWithTax('unit');
|
unitPriceWithTax('unit');
|
||||||
</script>
|
</script>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($product->id)}
|
{if isset($product->id)}
|
||||||
|
|
||||||
<h4>{l s='Available quantities for sale'}</h4>
|
<h4>{l s='Available quantities for sale'}</h4>
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
<h4 class="tab">1. {l s='Info.'}</h4>
|
<h4 class="tab">1. {l s='Info.'}</h4>
|
||||||
<h4>{l s='Shipping'}</h4>
|
<h4>{l s='Shipping'}</h4>
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($product->id)}
|
{if isset($product->id)}
|
||||||
|
|
||||||
<h4>{l s='Suppliers of the current product'}</h4>
|
<h4>{l s='Suppliers of the current product'}</h4>
|
||||||
|
|||||||
@@ -24,6 +24,18 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('input').keypress(function(e) {
|
||||||
|
var code = null;
|
||||||
|
code = (e.keyCode ? e.keyCode : e.which);
|
||||||
|
return (code == 13) ? false : true;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
{if isset($product->id)}
|
{if isset($product->id)}
|
||||||
|
|
||||||
<h4>{l s='Product location in warehouses'}</h4>
|
<h4>{l s='Product location in warehouses'}</h4>
|
||||||
|
|||||||
Reference in new issue
Block a user