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

#   How to display on details and cart pages "other clients also bought"

##

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

Less More

- Posts: 32
- Thank you received: 1
-
-

1 year 5 months ago [\#367467](#367467) by [rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")  *[How to display on details and cart pages "other clients also bought"](/forum/26-product-category-display/909478-how-to-display-on-details-and-cart-pages-other-clients-also-bought#367467 "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.0 -- PHP version -- : 8.3.6  Hi,  I'm unable to display products that &quot;other clients also bought&quot;. I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!")* was created by *[rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")*

-- HikaShop version -- : 5.1.6
-- Joomla version -- : 5.3.0
-- PHP version -- : 8.3.6

Hi,

I'm unable to display products that "other clients also bought". I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk0NzgtaG93LXRvLWRpc3BsYXktb24tZGV0YWlscy1hbmQtY2FydC1wYWdlcy1vdGhlci1jbGllbnRzLWFsc28tYm91Z2h0P3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

1 year 5 months ago [\#367468](#367468) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to display on details and cart pages "other clients also bought"](/forum/26-product-category-display/909478-how-to-display-on-details-and-cart-pages-other-clients-also-bought#367468 "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.0 -- PHP version -- : 8.3.6  Hi,  I'm unable to display products that &quot;other clients also bought&quot;. I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!")*

Hi,

So, there are several steps:
1. First, you want to create a module of the type "hikashop content module" via the Joomla modules manager (already done for you)
2. Then, you want to select it in the "Modules under the product page" setting of the HikaShop configuration:
[ www.hikashop.com/support/documentation/5...html#display\_product](https://www.hikashop.com/support/documentation/54-hikashop-config.html#display_product)
3. In the settings of the module, under the HikaShop options tab, you want to:
- Select your main category in the "main category" setting
- Select "product" for the "Type of content" setting
- Set the "Sub elements filter" setting to "all sub elements"
- Set the "Synchronize" setting to "Yes"
- Make sure the "Discounted only", "Related products from cart only" and "Recently viewed" settings are turned off
- Set the "relation" setting to "other clients also bought"

This will display the listing below the description on the product page.
Note that for the module to display products on a product page, you need to already have orders with the status "confirmed" with the product of the page included in these orders, AND you need to have other products in these orders.

There is no option to display a "listing of the products bought by other users along with the products already in the current cart" on the checkout.
The closest is this :
[ www.hikashop.com/marketplace/product/142-checkout-related.html](https://www.hikashop.com/marketplace/product/142-checkout-related.html)
But the products need to be selected as related products of the products in the cart.

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

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

Less More

- Posts: 32
- Thank you received: 1
-
-

1 year 5 months ago -  1 year 5 months ago [\#367497](#367497) by [rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")  Replied by *[rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")* on topic *[How to display on details and cart pages "other clients also bought"](/forum/26-product-category-display/909478-how-to-display-on-details-and-cart-pages-other-clients-also-bought#367497 "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.0 -- PHP version -- : 8.3.6  Hi,  I'm unable to display products that &quot;other clients also bought&quot;. I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!")*

Hi Nicolas,

Thanks for providing such a thorough set of steps. I'm running into a problem though once I setup. On the product details pages I get the following error. 1054 - Unknown column 'a.ordering' in 'order clause'

Also in the browser console and error about jQuery.
- Uncaught ReferenceError: jQuery is not defined

I also have the module set to display on all pages. Here is a screenshot of the module settings.  [ ![module-settings.png](/forum/attachment/60606) ](/forum/attachment/60606 "...e-settings.png")

Any thoughts? Thanks.

- [ ![module-settings.png](/forum/attachment/60606) ](/forum/attachment/60606 "...e-settings.png") [ ](/forum/attachment/60606?download=1 "...e-settings.png")

Last edit: 1 year 5 months ago by [rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile"). Reason: Added screenshot.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk0NzgtaG93LXRvLWRpc3BsYXktb24tZGV0YWlscy1hbmQtY2FydC1wYWdlcy1vdGhlci1jbGllbnRzLWFsc28tYm91Z2h0P3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

1 year 5 months ago [\#367505](#367505) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to display on details and cart pages "other clients also bought"](/forum/26-product-category-display/909478-how-to-display-on-details-and-cart-pages-other-clients-also-bought#367505 "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.0 -- PHP version -- : 8.3.6  Hi,  I'm unable to display products that &quot;other clients also bought&quot;. I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!")*

Hi,

The issue is with the "ordering column". Change it to something else than "ordering". Or activate the "random items" setting.
It will prevent the error from happening.
We'll add a patch on our end so that this doesn't happen.

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

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

Less More

- Posts: 32
- Thank you received: 1
-
-

1 year 5 months ago [\#367522](#367522) by [rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")  Replied by *[rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")* on topic *[How to display on details and cart pages "other clients also bought"](/forum/26-product-category-display/909478-how-to-display-on-details-and-cart-pages-other-clients-also-bought#367522 "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.0 -- PHP version -- : 8.3.6  Hi,  I'm unable to display products that &quot;other clients also bought&quot;. I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!")*

I updated the ordering to product id. Seems to work now, however I'm noticing that some products are not displaying images. I think it has something to do with webp option enabled or perhaps since enabling this module. Any thoughts  [ ![missing-pics.JPG](/forum/attachment/60611) ](/forum/attachment/60611 "missing-pics.JPG")

?

- [ ![missing-pics.JPG](/forum/attachment/60611) ](/forum/attachment/60611 "missing-pics.JPG") [ ](/forum/attachment/60611?download=1 "missing-pics.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk0NzgtaG93LXRvLWRpc3BsYXktb24tZGV0YWlscy1hbmQtY2FydC1wYWdlcy1vdGhlci1jbGllbnRzLWFsc28tYm91Z2h0P3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

1 year 5 months ago [\#367525](#367525) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to display on details and cart pages "other clients also bought"](/forum/26-product-category-display/909478-how-to-display-on-details-and-cart-pages-other-clients-also-bought#367525 "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.0 -- PHP version -- : 8.3.6  Hi,  I'm unable to display products that &quot;other clients also bought&quot;. I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!")*

Hi,

If you open a product with the issue, you'll have the same problem. So it's not only a listing issue.
It's indeed linked to webp.
From what I can see on your website on a page with the problem, the webp file for these products is corrupted somehow and the browser is not able to render it properly.
So, try going in the folder images/com_hikashop/upload/thumbnails/300x300f via FTP and delete the webp images from these products. Then, display the product again on the frontend. HikaShop will try to regenerate the webp image from the original image.
If you don't get the issue, then problem solved.
If you get the same issue, then it means there is a problem with the original image preventing PHP from generating the webp image. What you could do is to generate the webp image yourself on your computer and upload it via FTP to the correct location.

The following user(s) said Thank You: [rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")

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

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

Less More

- Posts: 32
- Thank you received: 1
-
-

1 year 5 months ago [\#367542](#367542) by [rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")  Replied by *[rjrsinc](/forum/user/45016-rjrsinc "View rjrsinc's Profile")* on topic *[How to display on details and cart pages "other clients also bought"](/forum/26-product-category-display/909478-how-to-display-on-details-and-cart-pages-other-clients-also-bought#367542 "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.0 -- PHP version -- : 8.3.6  Hi,  I'm unable to display products that &quot;other clients also bought&quot;. I don't know how to configure the content module and if there is other settings that need to be configured also. Can you provide a tutorial on what is needed to be configured so that when customer is on a product details page, it display a listing of products bought by previous customers who purchased the current product? Also is it possible to show this too on the cart page? Sort of like showing the customer before they checkout they might find this product useful or something of interest and entice them to add to the cart. Thank you!")*

Hi Nicolas,

I tried deleting the specific webp file from the server and then refreshed the page and this process seems to be generating the webp file correctly and is now loading in the browser.
Depending on if the product image is being displayed from the module or if the product image is displayed on a details page, I need to delete the corresponding webp image file at the appropriate location. So in the case of the image displayed from the module, it is pulling images from the /images/com_hikashop/upload/thumbnails/150x150f/ directory and if the image is a product details image, it is coming from the //images/com_hikashop/upload/thumbnails/300x300f/ directory like you referenced.

This seems to be resolving the issue when I encounter any missing images. Thanks for the tip.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk0NzgtaG93LXRvLWRpc3BsYXktb24tZGV0YWlscy1hbmQtY2FydC1wYWdlcy1vdGhlci1jbGllbnRzLWFsc28tYm91Z2h0P3RtcGw9bWFya2Rvd24=) 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.062 seconds

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