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

#   Cart module links on shop home page

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 11 months ago [\#132523](#132523) by [zzhumphreyt](/forum/user/29418-zzhumphreyt "View zzhumphreyt's Profile")  *[Cart module links on shop home page](/forum/26-product-category-display/863627-cart-module-links-on-shop-home-page#132523 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.2.2 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Firefox 25 -- Error-message(debug-mod must be tuned on) -- : N/A  I've scoured the forums and gotten a lot of help, but one problem I haven't seen fully answered. I want my store to have a home page with some text and then show the list of categories and shopping cart on the sidebar. I also want SEF URLs for the categories and shopping cart even when I'm on this home page. I've gotten this to work by creating a regular Joomla article and a HikaShop Content Module for the categories and a HikaShop Cart Module for the shopping cart. I can set a menu within the options of the Content Module so that any links it displays are SEF even when I'm on the home page.  /store/categories/category1  But I can't set a menu for the Cart Module so if there are any products in the cart the URLs generated have the usual component data, not SEF  /component/hikashop/product/1-product  instead of what I would like  /store/product/1-product  Is this possible? Or to ask another way, why does the Cart Module not have a menu option like the Content Module?")* was created by *[zzhumphreyt](/forum/user/29418-zzhumphreyt "View zzhumphreyt's Profile")*

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2
-- PHP version -- : 5.3.24
-- Browser(s) name and version -- : Firefox 25
-- Error-message(debug-mod must be tuned on) -- : N/A

I've scoured the forums and gotten a lot of help, but one problem I haven't seen fully answered. I want my store to have a home page with some text and then show the list of categories and shopping cart on the sidebar. I also want SEF URLs for the categories and shopping cart even when I'm on this home page. I've gotten this to work by creating a regular Joomla article and a HikaShop Content Module for the categories and a HikaShop Cart Module for the shopping cart. I can set a menu within the options of the Content Module so that any links it displays are SEF even when I'm on the home page.

/store/categories/category1

But I can't set a menu for the Cart Module so if there are any products in the cart the URLs generated have the usual component data, not SEF

/component/hikashop/product/1-product

instead of what I would like

/store/product/1-product

Is this possible? Or to ask another way, why does the Cart Module not have a menu option like the Content Module?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 11 months ago [\#132551](#132551) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Cart module links on shop home page](/forum/26-product-category-display/863627-cart-module-links-on-shop-home-page#132551 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.2.2 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Firefox 25 -- Error-message(debug-mod must be tuned on) -- : N/A  I've scoured the forums and gotten a lot of help, but one problem I haven't seen fully answered. I want my store to have a home page with some text and then show the list of categories and shopping cart on the sidebar. I also want SEF URLs for the categories and shopping cart even when I'm on this home page. I've gotten this to work by creating a regular Joomla article and a HikaShop Content Module for the categories and a HikaShop Cart Module for the shopping cart. I can set a menu within the options of the Content Module so that any links it displays are SEF even when I'm on the home page.  /store/categories/category1  But I can't set a menu for the Cart Module so if there are any products in the cart the URLs generated have the usual component data, not SEF  /component/hikashop/product/1-product  instead of what I would like  /store/product/1-product  Is this possible? Or to ask another way, why does the Cart Module not have a menu option like the Content Module?")*

Hi,

By default on the HikaShop pages, the cart re-use the current menu, and when you are on Joomla pages, yes it take the standard url with component/hikashop ...

What can be done is editing the view "product / cart" via the menu Display &gt; Views, and at the top of the file change the value for $url_item_id and change it to: Code:

$url_itemid='&amp;Itemid=YOUR_ID';

where YOUR_ID is the id of the desired menu.

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

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 11 months ago [\#132568](#132568) by [zzhumphreyt](/forum/user/29418-zzhumphreyt "View zzhumphreyt's Profile")  Replied by *[zzhumphreyt](/forum/user/29418-zzhumphreyt "View zzhumphreyt's Profile")* on topic *[Cart module links on shop home page](/forum/26-product-category-display/863627-cart-module-links-on-shop-home-page#132568 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.2.2 -- Joomla version -- : 3.2 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Firefox 25 -- Error-message(debug-mod must be tuned on) -- : N/A  I've scoured the forums and gotten a lot of help, but one problem I haven't seen fully answered. I want my store to have a home page with some text and then show the list of categories and shopping cart on the sidebar. I also want SEF URLs for the categories and shopping cart even when I'm on this home page. I've gotten this to work by creating a regular Joomla article and a HikaShop Content Module for the categories and a HikaShop Cart Module for the shopping cart. I can set a menu within the options of the Content Module so that any links it displays are SEF even when I'm on the home page.  /store/categories/category1  But I can't set a menu for the Cart Module so if there are any products in the cart the URLs generated have the usual component data, not SEF  /component/hikashop/product/1-product  instead of what I would like  /store/product/1-product  Is this possible? Or to ask another way, why does the Cart Module not have a menu option like the Content Module?")*

That worked, thanks!

I doubt I'll be changing menus all that often but I still don't like having such a hard coded value in a view like that; seems very fragile and easy to forget I need to change the view as well as the menu. Maybe as a future enhancement you all could add a menu option for the cart module like you have for the content module.

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

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

[](#top)
