[-] BO : #PSTEST-18 : smalls improvements
This commit is contained in:
@@ -43,6 +43,17 @@
|
||||
{l s='Please check a category in order to select the default category.'}
|
||||
</div>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="col-left">
|
||||
<label for="category_block">{l s='Associated categories:'}</label>
|
||||
</td>
|
||||
<td class="col-right">
|
||||
<div id="category_block">{$category_tree}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-left">
|
||||
<label for="id_category_default">{l s='Default category:'}</label>
|
||||
@@ -56,17 +67,6 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<table>
|
||||
<tr>
|
||||
<td class="col-left">
|
||||
<label for="category_block">{l s='Associated categories:'}</label>
|
||||
</td>
|
||||
<td class="col-right">
|
||||
<div id="category_block">{$category_tree}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{if $feature_shop_active}
|
||||
<div class="separation"></div>
|
||||
{* @todo use asso_shop from Helper *}
|
||||
|
||||
@@ -633,7 +633,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
if (!empty($is_virtual))
|
||||
Product::updateIsVirtual($product->id);
|
||||
|
||||
$this->redirect_after = self::$currentIndex.'&id_product='.$product->id.'&id_category='.(!empty($_REQUEST['id_category'])?$_REQUEST['id_category']:'1').'&add'.$this->table.'&tabs=3&token='.($token ? $token : $this->token);
|
||||
$this->redirect_after = self::$currentIndex.'&id_product='.$product->id.'&id_category='.(!empty($_REQUEST['id_category'])?$_REQUEST['id_category']:'1').'&add'.$this->table.'&action=Combinations&token='.($token ? $token : $this->token);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user