[Skip to main content](#vessel-content)

#   Hikashop Content Module - Random items function

##

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

11 years 6 months ago [\#199280](#199280) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#199280 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")* was created by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : Chrome 42.0.2311.90

Hi,

Could you please help me in connection with the Random item function of a content module?

If it will be turned on, the module displays 3 rows with empty product places,
in case of off state it is working normal with 2 rows without empty places.

Attached I send screenshots about the frontend and backend settings.

Thank you in advance.

- [ ![Hikashop&#95;modul&#95;notRandom&#95;backend&#95;settings.jpg](/forum/attachment/23898) ](/forum/attachment/23898 "...d&#95;settings.jpg") [ ](/forum/attachment/23898?download=1 "...d&#95;settings.jpg")
- [ ![Hikashop&#95;modul&#95;notRandom&#95;frontend.jpg](/forum/attachment/23899) ](/forum/attachment/23899 "...m&#95;frontend.jpg") [ ](/forum/attachment/23899?download=1 "...m&#95;frontend.jpg")
- [ ![Hikashop&#95;modul&#95;random&#95;frontend.jpg](/forum/attachment/23900) ](/forum/attachment/23900 "...m&#95;frontend.jpg") [ ](/forum/attachment/23900?download=1 "...m&#95;frontend.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 6 months ago [\#199289](#199289) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#199289 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")*

Hi,

This looks like a CSS problem because of the height of the item boxes which is not constant enough. You should have the same problem (or not) regardless of the random function as long as you display the same products in the same order.
We would need to be able to look at the page with the problem in order to analyze the CSS in order to tell you what to do.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

11 years 6 months ago [\#199827](#199827) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  Replied by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")* on topic *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#199827 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")*

Hi Nicolas,

Attached I send the frontend CSS of the hikashop.

If I set the number of items to 38, it displays only two empty place.
In case of 39, a new row will be added. Unfortunately the random function
still don't working. I tried to change the carousel height / width, the number
of columns, but it didn't help.

The modul title is "TAVASZI NYITÁSI AKCIÓS TERMÉKEK" on the main page.

Could you please analyze the attached CSS.

Thank you in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

11 years 6 months ago [\#199855](#199855) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#199855 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")*

Hi,

I do not see the problem on your website frontpage: [ take.ms/yQAjY](http://take.ms/yQAjY)
So I cannot analyze the issue.
Could you provide a link to a page with the issue so that we could tell you what to do?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

11 years 6 months ago [\#200071](#200071) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  Replied by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")* on topic *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#200071 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")*

Hi Nicolas,

I have activated the random items function on the "TAVASZI NYITÁSI AKCIÓS TERMÉKEK" module on the main page.

Thank you in advance for your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

11 years 6 months ago [\#200083](#200083) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  Replied by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")* on topic *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#200083 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")*

Hi Nicolas,

Could you please check the module on the main page?

I need to disable the random function soon, because it has a distorted look.

Thank you for your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

11 years 6 months ago [\#200096](#200096) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  Replied by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")* on topic *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#200096 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")*

Hi Nicolas,

Attached I send a screenshot about the result, if the random function is enabled.

Could you please check it?

Thank you for your help.

- [ ![random&#95;product&#95;enabled.jpg](/forum/attachment/24113) ](/forum/attachment/24113 "...ct&#95;enabled.jpg") [ ](/forum/attachment/24113?download=1 "...ct&#95;enabled.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#200118](#200118) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikashop Content Module - Random items function](/forum/26-product-category-display/876496-hikashop-content-module-random-items-function#200118 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 42.0.2311.90  Hi,  Could you please help me in connection with the Random item function of a content module?  If it will be turned on, the module displays 3 rows with empty product places, in case of off state it is working normal with 2 rows without empty places.  Attached I send screenshots about the frontend and backend settings.  Thank you in advance.")*

Hi,

I think that your issue could be related to the height of the product names ; some are on one single line and other one three lines.
The best would be to force the height for all of them, using some CSS like : Code:

\#hikashop_category_information_module_262 span.hikashop_product_name{ height: 60px; }

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY0OTYtaGlrYXNob3AtY29udGVudC1tb2R1bGUtcmFuZG9tLWl0ZW1zLWZ1bmN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
