vda Posted July 27, 2012 Report Share Posted July 27, 2012 Подскажите пожалуйста, как вывести количество на складе товара в шаблон. Заранее спасибо. Quote Link to post Share on other sites
Danya Posted July 27, 2012 Report Share Posted July 27, 2012 Версия 2.0.2 На складе {$product->variant->stock} шт. Quote Link to post Share on other sites
a_senko Posted July 27, 2012 Report Share Posted July 27, 2012 {foreach $product->variants as $v}<option value="{$v->id}" {if $v->compare_price > 0}compare_price="{$v->compare_price|convert}"{/if} price="{$v->price|convert}">{$v->name} - {$v->stock} шт. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.