Display date_delivery_expected on product.tpl Prestashop 1.6
$10-30 USD
已取消
已发布超过 9 年前
$10-30 USD
货到付款
Hello everybody!
Have a nice day!
Display date_delivery_expected value (from ps_supply_order_detail sql table), using [login to view URL] file
I want to inform my clients when the out of stock product will be available.
So, in the backend I made an supplier order (back end) and I have a date_delivery_expected.
After that when I change the supply_order in "waiting for the order" I want to display this date_delivery_expected on the frontend product description
something like that in [login to view URL]:
<p id="availability_date"{if ($product->quantity > 0) || !$product->available_for_order || $PS_CATALOG_MODE || !isset($product->available_date) || $product->available_date < $[login to view URL]|date_format:'%Y-%m-%d'} style="display: none;"{/if}>
<span id="availability_date_label">{l s='Availability date:'}</span>
<span style="font-weight: bold; color: #000000;" id="availability_date_value">{dateFormat date="""ps_supply_order_detail sql->date_delivery_expected""" full=false}</span>
</p>
Somebody can help me?
Best regards
Marius
We are experienced in software development, Linux, Java, Python, advanced numerical computations, data analysis, crawler development etc. Our skkype is: solverio. Our website is: so l v e r . i o