M
M
Michael2017-02-06 14:15:32
PHP
Michael, 2017-02-06 14:15:32

Do not display empty values ​​in product comparison (compare.tpl)?

If you do not fill in the items weight, dimensions in the product card (admin panel), then when comparing the goods in the corresponding lines there will be zero values.
How to hide a table row if all compared products have zero values?
screenshot
and more on the topic of the compare functionality
split the output of comparing products by product categories, for example. as in citilink.ru
conditionally so as not to compare the sausage and the smartphone, opencart does not make any difference.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question