Layered Navigation Magento URL

Joomla Version 3.2.3
Joomla Theme: JA BookShop
Magento Theme: JM BookShop

I’m using Magebridge by Yireo to bridge Joomla and Magento. I am calling the layered navigation block catalog.rightshopby.

The layered navigation block behaves as expected at the top level as shown below on the development site.

Root Menu: mysticcaravan.com.au/dev/shop
Filter by [tops]: mysticcaravan.com.au/dev/shop/jmproducts/filter/index/?cat=12

The problem now occurs where all layered navigation links now point to the wrong url:
mysticcaravan.com.au/jmproducts/filter/index?cat=15
/dev/shop as been removed from the URL

Magento Cache is disabled.

I have contacted Yireo support who suggested that the joomlart layered navigation perhaps uses the wrong way to determine the Magento URL.

Also is there anyway to remove jmproducts from the filtered URL as this is not consistent the website URLs

Any advice, thanks.

11 answers

Profile photo of Ziven Staff 100280.00 $tone May 15, 2014
Public

Please PM me your FTP credentials so that I can have a closer look to debug the root of issue. I will get back to you then.

#1
Profile photo of Seoki Lee 1510.00 $tone May 19, 2014
Public

Thanks you sending credentials to our team. We need time to get it fixed and will update you once figure it out. Hope for your patience on this.

#5
MoonSailor 0.00 $tone May 19, 2014
Public

For the "mod magebridge block" module in the left column of Joomla site, I tried to change default template to "beez3 -- Default" and set "MAGE Layered Nav" module to position "position-3" (right column in Beez3 template), the error remains as you mentioned. So, it’s not the bug of Joomlart template.

I have contacted Yireo support who suggested that the joomlart layered navigation perhaps uses the wrong way to determine the Magento URL.

I did go to administrator -> "Global Configuration" and disable "Search Engine Friendly URLs" and "Use URL rewriting", it runs as normal with url as follows:

http://mysticcaravan.com.au/dev/inde…/index/&cat=12

http://mysticcaravan.com.au/dev/inde…/index/&cat=15

So, I believe the router of component magebridge has problem when routing url above to sef urls.

Please contact Yireo for better help in this case.

#6
Profile photo of utah ashi 0.00 $tone May 20, 2014
Public

Hi,

The issue is not with the Joomla template (JA BOOK) but the Magento template (JM BOOK).

Magebridge requires SEF urls in order to work. When SEF url is disabled the filter doesn’t work as the products are not filtered.

I decided to buy both templates as I thought it would make for a more consistent theme and also make it easier to use the same positions. I have used magebridge with another mangento theme and there have been no issues with layered navigation and the URL.

It’s the way the Magento Base URL is being determined by the custom Layered Navigation in JM BOOK
-- and jmproducts is being added to the URL filter
-- dev/shop is being removed from the URL in layered navigation after the first filter.

all other magento blocks or pages URLs are consistent and work.

A working example is the top menu My Account is another magento block being called by magebridge and the URL from one of the drop downs is:
http://mysticcaravan.com.au/dev/shop/customer/account/

#7
MoonSailor 0.00 $tone May 21, 2014
Public

-- and jmproducts is being added to the URL filter
-- dev/shop is being removed from the URL in layered navigation after the first filter.

As mentioned above, with "Search Engine Friendly URLs" and "Use URL rewriting" disable, the raw url should look:

Code:

http://mysticcaravan.com.au/dev/shop?cat=12

Code:

http://mysticcaravan.com.au/dev/index.php?option=com_magebridge&view=root&Itemid=628/jmproducts/filter/index/&price=60-

It’s the mage bridge component that returns missing "dev/shop" -- when having SEF enabled. This is due to the router of mage bridge component, not templates of Joomlart and JM (You can try to switch to default joomla template to check the same)

I have contacted Yireo support who suggested that the joomlart layered navigation perhaps uses the wrong way to determine the Magento URL.It’s

It’s not the case. Each component has its own file router. As explained above, it does not relate to template.

#8
Profile photo of utah ashi 0.00 $tone May 21, 2014
Public

Hi MoonSailor,

Thanks for responses.

I hoping to resolve the problem I am having and wondering if could you help a little further by explaining how/why jmproducts is appended to the URL only layered navigation. This can also be seen in your demo version here:

http://jm-bookshop.demo.joomlart.com/
http://jm-bookshop.demo.joomlart.com/jmproducts/filter/index/?cat=10

The layered navigation in JM BOOKSHOP is the only thing that is causing me problems as everything else works as expected and the URLs are consistent and load the correct pages.

It appears to only breakdown with layered navigation where jmproducts is being appended to the URL and the base url is being changed. I have looked at your other magento templates on offer and from what I can see this is the only template where this occurs.

Thanks again.

#9
MoonSailor 0.00 $tone May 22, 2014
Public

how/why jmproducts is appended to the URL only layered navigation

I need a bit more time to check this.

-- dev/shop is being removed from the URL in layered navigation after the first filter.

As in my previous reply, the removed "dev/shop" does not relate to the "jmproducts" that is appended to the URL. It associates with something wrong from Mage bridge component during routing process. In this case, please try to get back to Yireo regarding this issue.

#10
Profile photo of utah ashi 0.00 $tone May 23, 2014
Public

Apologies I have finally narrowed down where the problem occurs (I should have looked at this earlier)

Layered Navigation url has jmproducts/filter appended to the URL only on the home page both on Joomla/Magebridge and Magento. From this I can conclude that it is not a Magebridge routing issue.

Joomla/Magebridge home / Home page jmproducts/filter added to the layered navigation URL
Joomla -- mysticcaravan.com.au/dev/shop
Magento -- mysticcaravan.com.au/dev/store/index.php/home (need to scroll down to view the layered navigation)

If I load one specific category layered navigation works as expected.
Joomla -- mysticcaravan.com.au/dev/shop/tops
Magento -- mysticcaravan.com.au/dev/store/index.php/tops

This is also the case on the JMBooks demo page
Home page
http://jm-bookshop.demo.joomlart.com/home
http://jm-bookshop.demo.joomlart.com/jmproducts/filter/index/?cat=3

Category Page
http://jm-bookshop.demo.joomlart.com/books.html
Layered Navigation URL http://jm-bookshop.demo.joomlart.com…ml?price=10-20

Hope this makes things easier to resolve.

#11

This question is now closed

Written By

Comments