Hi, i am using opencart v3.0.3.8,
I want to hide the product price and exclude it from search when the product quantity is 0,
I used this query to hide the price from the product in /catalog/model/catalog/product.php
'price' => ($query->row['quantity'] > 0 ? ($query->row['discount'] ? $query->row['discount'] : $query->row['price']) : 'TBA'),
'special' => ($query->row['quantity'] > 0 ? $query->row['special'] : 'TBA'),
But it's not working. When I clear at modification in the admin panel then it works but when I refresh it doesn't work.
I already tried clearing all types of cache. Can anyone help me, please?
Check the file in storage/modification. Perhaps an extension is changing that file.
You can also try installing a modification manager such as this one:
https://www.opencart.com/index.php?rout ... n_id=22318
It tells you which mods change which files.
https://www.opencart.com/index.php?rout ... n_id=22318
It tells you which mods change which files.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Who is online
Users browsing this forum: No registered users and 66 guests