Answer the question
In order to leave comments, you need to log in
How to display the quantity of goods in the cart if there is no required quantity (opencart 3x )?
<span>{{ product.name }}{% if not product.stock %} <span class="text-danger">***</span><?php echo $product['quantity'] ?> шт.<?php } ?> {% endif %}</span>
'quantity' => $product['quantity'],
'stock' => $product['stock'] ? true : !(!$this->config->get('config_stock_checkout') || $this->config->get('config_stock_warning')),
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question