BUG & FIX: Default Items Per Row

  • Impression eStudio
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 11 months ago #78995 by Impression eStudio
BUG & FIX: Default Items Per Row was created by Impression eStudio
Hi,

I have the (latest) version 2.0.2 and it seems that I found a problem about the parameter "Default Items Per Row" in the configuration of the Eshop extension.

When the parameter "Default Products Layout" is set to "Grid" and despite the default value is 4 for the parameter "Default Items Per Row", the products per row are always three.

The solution I found is to add the following code:
$productsPerRow = EshopHelper::getConfigValue('items_per_row', 3);
before the line 13 with code:
$span = intval(12 / $productsPerRow);
in the file "components\com_eshop\themes\default\views\common\products.php".

Good luck,
Thanos
The following user(s) said Thank You: 70's

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #92549 by 70's
Replied by 70's on topic BUG & FIX: Default Items Per Row
Please add this fix to the next update,
This issue occurs when the chosen category has sub categories.
Thanks Impression eStudio

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong