Product size in category view
-
marha30
- 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?
-
marha30
- 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: 49138
- 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?marha30 wrote: 04 Jan 2020, 14:24 Is it possible to display the product size information in the category 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.volumecomponents\com_phocacart\views\category\tmpl\default.php
Jan
If you find Phoca extensions useful, please support the project