Phoca Cart and Universal AJAX Live Search

Phoca Cart - complex e-commerce extension
User avatar
ehndrju
Phoca Member
Phoca Member
Posts: 43
Joined: 21 Apr 2021, 05:35

Phoca Cart and Universal AJAX Live Search

Post by ehndrju »

Hello Jan.
Plugin Universal AJAX Live Search does not work correctly with the Phoca Cart.
The developer said he was talking to you. The problem is in the Phoca Cart.
Problem:
I made one link on the test site to Phoca Cart.
Created 5 items of goods.
1 item placed in a subcategory.
link from search result: /component/phocacart/item/cctv/cvbs/novicam-ac13w
Link to item: cvbs/novicam-ac13w
unnecessary this part of the link "/component/phocacart/item/cctv"
site: https://kemstyle.ru/
item:
NOVIcam AC12W
NOVIcam AC13W - this in subcategory
NOVIcam AC19W
NOVIcam AC27
NOVIcam AC28W

link from search result:
Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart and Universal AJAX Live Search

Post by Jan »

Hi,
The problem is in the Phoca Cart.
Where exactly?

This:
/component/phocacart/item/cctv/cvbs/novicam-ac13w

is not SEF link, so there can be two possible problems:

a) the link does not use Joomla Route method to transform to SEF link
or
b) There is no categories/items view link on your site from which the link can use the SEF information.

Does your site include categories or items view menu link?

BTW on your site I see a link to item view without any numbers in aliases. Can you test it when numbers are enabled in aliases?
BTW2 unfortunately I don't own this plugin for me it is hard to even test it (so the plugin should be tested on if it asks Phoca Cart route method for building the URL)

As on your site, standard link to item view normally works, there should not be any problem for any extension to ask the Phoca Cart route method to get right link to item view. :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply