Product size in category view
-
- Phoca Newbie
- Posts: 2
- Joined: 04 Jan 2020, 14:19
Product size in category view
Hello all. Is it possible to display the product size information in the category item view?
-
- Phoca Newbie
- Posts: 2
- Joined: 04 Jan 2020, 14:19
Re: Product size in category view
Or. How do i get a variable via PHP - how to print out Length in php.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Product size in category view
What do you exactly mean with "category item view"? Category view? or Item view?
In Item view, you can display the information when you enable them in options:
In Category view only unit price is displayed, to display all other size information, you need to customize the output.
The items must be loaded from database in:
components\com_phocacart\models\category.php
cca on line 223
These columns should be added to SQL query
Code: Select all
a.weight, a.height, a.width, a.length, a.min_multiple_quantity, a.min_quantity_calculation, a.volume
components\com_phocacart\views\category\tmpl\default.php
Jan
If you find Phoca extensions useful, please support the project