Author Topic: Sublayouts for products in category  (Read 637 times)

carlosmanrique

  • Beginner
  • *
  • Posts: 10
Sublayouts for products in category
« on: April 15, 2022, 15:10:52 pm »
Hi everyone. I have a problem when displaying the categories in virtuemark does not allow display in columns. Can you help me?

Link: https://repuestoshp.com/tienda/repuestos-impresoras/kit-mantenimiento




Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3866
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Sublayouts for products in category
« Reply #1 on: April 15, 2022, 15:15:22 pm »
What VM version ?
Have You set the number of columns for the display of ARTICLES ?

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

carlosmanrique

  • Beginner
  • *
  • Posts: 10
Re: Sublayouts for products in category
« Reply #2 on: April 15, 2022, 15:19:44 pm »
Hi. VirtueMart 3.8.8 10472

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1462
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Sublayouts for products in category
« Reply #3 on: April 15, 2022, 15:36:12 pm »
Examining the code on the page reveals that these are the latest products ("Últimos productos") and you have only one set up in a row.
Change setup for this category
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

carlosmanrique

  • Beginner
  • *
  • Posts: 10
Re: Sublayouts for products in category
« Reply #4 on: April 15, 2022, 15:40:06 pm »
Hi. hello, it is not the solution

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1462
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Sublayouts for products in category
« Reply #5 on: April 15, 2022, 15:40:47 pm »
But you have other, I think bigger problem.

When I check this shop, I have to wait for loading page cca 22 seconds.
This is unusable.
You better not create that e-shop at all if you can't fix this
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

carlosmanrique

  • Beginner
  • *
  • Posts: 10
Re: Sublayouts for products in category
« Reply #6 on: April 15, 2022, 15:42:47 pm »
friend loads in 1 second. You must have a low internet

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1462
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Sublayouts for products in category
« Reply #7 on: April 15, 2022, 15:45:04 pm »
The problem is with your bootstrap from helix.
If I change css, then I see regular 3 products in row.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

carlosmanrique

  • Beginner
  • *
  • Posts: 10
Re: Sublayouts for products in category
« Reply #8 on: April 15, 2022, 15:50:40 pm »
Hello. Thank you. Where can I change it?

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1462
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Sublayouts for products in category
« Reply #9 on: April 15, 2022, 15:59:42 pm »
Quote
friend loads in 1 second. You must have a low internet

oh, man :(

then a friend does not understand how to measure speed correctly :)
The basic test is using pagespeed insights (https://pagespeed.web.dev/report?url=https%3A%2F%2Frepuestoshp.com%2Ftienda%2Frepuestos-impresoras%2Fkit-mantenimiento) or chrome - network tab (disable cache, Slow 3G, for Moto G4 mobile phone)
It only takes about 20 seconds to get JS jquery.mCustomScrollbar.js and the content is loaded in about 24 seconds.
The whole page takes about 55 seconds, while the last file is failed contact-4.fw.png == really 582kb PNG????.

61 requests
1.4 MB transferred
2.4 MB resources
Finish: 54.42 s
DOMContentLoaded: 23.71 s
Load: 49.11 s

Be that as it may, you wouldn't wait 7 seconds on your mobile for something to load - until then you have a white website there
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1462
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Sublayouts for products in category
« Reply #10 on: April 15, 2022, 16:07:23 pm »
Quote
Hello. Thank you. Where can I change it?

the setup for width next element after row is from core helix bootstrap setup and then override VM common setup:
https://repuestoshp.com/templates/shaper_helix3/css/bootstrap.min.css
I would ask the template manufacturer
Or you can override again in you template, in less/css file - I don't know Helix template == where is place for custom or change css definition for width product.

You already have the right direction :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

carlosmanrique

  • Beginner
  • *
  • Posts: 10
Re: Sublayouts for products in category
« Reply #11 on: April 15, 2022, 16:21:26 pm »
Hi, friend. I did the following procedure but it still doesn't work. I am doing something wrong?

/home4/repuestoshp/public_html/templates/shaper_helix3/css/bootstrap.min.css

flex-shrink:0;/*width:100%;*//*max-width:100%;*/

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1462
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Sublayouts for products in category
« Reply #12 on: April 15, 2022, 16:26:09 pm »
I see 100% still

I think file bootstrap.min.css is generated from some less file.
You have to change in less file, but helix I don't know very well....
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3866
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Sublayouts for products in category
« Reply #13 on: April 15, 2022, 16:41:17 pm »
I agree with Rudolf, this is definitively a template issue. If You try with Protostar you get three columns. See image

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

carlosmanrique

  • Beginner
  • *
  • Posts: 10
Re: Sublayouts for products in category
« Reply #14 on: April 15, 2022, 17:51:34 pm »
I already tried protostart and it works fine. But I don't know how to solve.