Save
This commit is contained in:
@@ -553,6 +553,7 @@ class PdProductAttributesList extends Module
|
||||
$context->shop->id,
|
||||
$r['id_product_attribute']
|
||||
);
|
||||
$return[$r['id_product_attribute']]['available_date'] = $product->available_date;
|
||||
}
|
||||
|
||||
|
||||
@@ -675,6 +676,7 @@ class PdProductAttributesList extends Module
|
||||
true
|
||||
),
|
||||
'quantity' => StockAvailable::getQuantityAvailableByProduct($id_product, 0, $id_shop),
|
||||
'available_date' => $product->available_date,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{if $block_heading}
|
||||
<h3 class="idTabHrefShort page-product-heading">{l s='Select product combination' mod='pdproductattributeslist'}</h3>
|
||||
{/if}
|
||||
<table id="pdproductattributeslist_table" class="table table-striped table-bordered table-labeled tablesorter" width="100%">
|
||||
<table id="pdproductattributeslist_table" class="2 table table-striped table-bordered table-labeled tablesorter" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="product_image sorter-false filter-false">{l s='Image' mod='pdproductattributeslist'}</th>
|
||||
@@ -73,6 +73,11 @@
|
||||
|
||||
<td data-column="{l s='Quantity on stock' mod='pdproductattributeslist'}" class="option_price _price">
|
||||
<b>{if $combination.quantity <= 10 }{$combination.quantity}{else}>10{/if}</b> {l s='pcs' mod='pdproductattributeslist'}
|
||||
|
||||
{if $combination.quantity == 0}
|
||||
<br/>
|
||||
<span class="available_data">{$combination.available_date}</span>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{if $block_heading}
|
||||
<h3 class="idTabHrefShort page-product-heading">{l s='Select product combination' mod='pdproductattributeslist'}</h3>
|
||||
{/if}
|
||||
<table id="pdproductattributeslist_table" class="table table-striped table-bordered table-labeled tablesorter" width="100%">
|
||||
<table id="pdproductattributeslist_table" class="1 table table-striped table-bordered table-labeled tablesorter" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user