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

#   Carousel Mobile

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

5 years 2 days ago [\#337391](#337391) by [munobwa](/forum/user/59331-munobwa "View munobwa's Profile")  *[Carousel Mobile](/forum/26-product-category-display/903548-carousel-mobile#337391 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.2  I want to add a clickable link &quot;SEE ALL ITEMS&quot; at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.")* was created by *[munobwa](/forum/user/59331-munobwa "View munobwa's Profile")*

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.2

I want to add a clickable link "SEE ALL ITEMS" at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 1 day ago [\#337394](#337394) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Carousel Mobile](/forum/26-product-category-display/903548-carousel-mobile#337394 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.2  I want to add a clickable link &quot;SEE ALL ITEMS&quot; at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.")*

Hello,

Before be able to answer you precisely, can you provide your carousel settings screenshot, please ?
This will allow us to better understand your context, and answer you more precisely.

Awaiting your element to progress.
Regards

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

5 years 1 day ago [\#337417](#337417) by [munobwa](/forum/user/59331-munobwa "View munobwa's Profile")  Replied by *[munobwa](/forum/user/59331-munobwa "View munobwa's Profile")* on topic *[Carousel Mobile](/forum/26-product-category-display/903548-carousel-mobile#337417 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.2  I want to add a clickable link &quot;SEE ALL ITEMS&quot; at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.")*

Please see attached screen shots. 1-3 in top to bottom order. Carousel is set to Auto.
Thank You.

- [ ![mod1.jpg](/forum/attachment/53921) ](/forum/attachment/53921 "mod1.jpg") [ ](/forum/attachment/53921?download=1 "mod1.jpg")
- [ ![mod2.jpg](/forum/attachment/53922) ](/forum/attachment/53922 "mod2.jpg") [ ](/forum/attachment/53922?download=1 "mod2.jpg")
- [ ![mod3.jpg](/forum/attachment/53923) ](/forum/attachment/53923 "mod3.jpg") [ ](/forum/attachment/53923?download=1 "mod3.jpg")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

5 years 21 hours ago -  5 years 1 day ago [\#337434](#337434) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Carousel Mobile](/forum/26-product-category-display/903548-carousel-mobile#337434 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.2  I want to add a clickable link &quot;SEE ALL ITEMS&quot; at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.")*

Hello,

Thank you for your additional information, the best solution is to proceed to an override view from the product/carousel view.
Follow me step by step to learn how to process :
**1.** Have a look on **[ this tutorial](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)** to learn how to create an **override view**.
**2.** Then create your button and your url link to redirect the user to your wanted item listing.
**By example :**
**&lt;a class="hikabtn hikacart" href="YourWebsite/product\_listing\_url"&gt;
&lt;span&gt;View all&lt;/span&gt;
&lt;/a&gt;**
In order to use the regular css don't forget to add the **class** as on my example **in red**, hikabtn hikacart

And you must insert it at the end of your view.
Hope this will help you to achieved what you need.

Regards

Last edit: 5 years 1 day ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

4 years 11 months ago [\#337464](#337464) by [munobwa](/forum/user/59331-munobwa "View munobwa's Profile")  Replied by *[munobwa](/forum/user/59331-munobwa "View munobwa's Profile")* on topic *[Carousel Mobile](/forum/26-product-category-display/903548-carousel-mobile#337464 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.2  I want to add a clickable link &quot;SEE ALL ITEMS&quot; at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.")*

Yes that is coding the "View All" clickable link in the Products/Category Carousel view; it works but not a solution when you have multiple instances of the carousel module in the website because it will keep pasting the same link on different carousels.
This is what we need:

---

&lt;a class="hikabtn hikacart" href="&lt;?php CODE to get the selected menu option in hikashop content module for the products/category listing of the carousel and identify the corresponding menu URL and insert it here ?&gt; "&gt;
&lt;span&gt;View all&lt;/span&gt;
&lt;/a&gt;

---

MAY YOU PLEASE GUIDE US ON THE PROPER CODE TO INSERT THE LINK AS ABOVE?

That way each instance of the content module with carousel enabled will have the correct "View All Link". Its a good feature for smaller displays like smart phones and reduce website bounce rates.

Alternatively Hikashop should add a "View All Link" option in the carousel options to ease the process.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDM1NDgtY2Fyb3VzZWwtbW9iaWxlP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

4 years 11 months ago -  4 years 11 months ago [\#337503](#337503) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Carousel Mobile](/forum/26-product-category-display/903548-carousel-mobile#337503 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.2  I want to add a clickable link &quot;SEE ALL ITEMS&quot; at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.")*

Hi,

The code should be something like that: Code:

&lt;?php JRoute::_('index.php?option=com_hikashop&amp;view=product&amp;layout=listing&amp;Itemid='.$this-&gt;params-&gt;get('itemid')); ?&gt;

Last edit: 4 years 11 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

4 years 10 months ago [\#338522](#338522) by [munobwa](/forum/user/59331-munobwa "View munobwa's Profile")  Replied by *[munobwa](/forum/user/59331-munobwa "View munobwa's Profile")* on topic *[Carousel Mobile](/forum/26-product-category-display/903548-carousel-mobile#338522 "-- HikaShop version -- : 4.2.3 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.2  I want to add a clickable link &quot;SEE ALL ITEMS&quot; at the bottom of hikashop content module Carousel so that one can click the link and go to the products listing/categories listing to display items in the configured source category of the carousel. I am sure I need to edit code in the carousel.php file; DISPLAY-VIEWS-Carousel for products/categories basing on some parameters like menu and main category to create a clickable link. Please some guidance.")*

Thank You

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

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