Hello
I have some groups of product in Virtuemart
in Phocagallery photo more then in Virtuemart, If I click to icon Eshop I view Forbidden Accces
for example: http://new.bathstudio.ru/category/2-alape-public - bad (don`t product in Virtuemart)
http://new.bathstudio.ru/category/8-wc-devon - ок (product in Virtuemart)
How to make that in the absence of the goods in Virtuemart icon Eshop it was not shown?
Dmitriy
Phocagallery Eshop Icon view
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phocagallery Eshop Icon view
Hi, try to disable SEF to test it if the SEF is not the problem. 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
adg
- Phoca Newbie

- Posts: 3
- Joined: 13 Jul 2012, 12:06
Re: Phocagallery Eshop Icon view
Ji, Jan
disable SEF - does not solve a problem.
In Joomla 1.5 + Phoca 2.7.6 - all works
for example: http://www.bathstudio.ru/category/262-a ... -city.html
Whether probably in the current version if ID VM = 0, icon Eshop would not be displayed?
for example: http://new.bathstudio.ru/category/2-alape-public (These products are not present in VirtueMart)
disable SEF - does not solve a problem.
In Joomla 1.5 + Phoca 2.7.6 - all works
for example: http://www.bathstudio.ru/category/262-a ... -city.html
Whether probably in the current version if ID VM = 0, icon Eshop would not be displayed?
for example: http://new.bathstudio.ru/category/2-alape-public (These products are not present in VirtueMart)
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phocagallery Eshop Icon view
Hi, now I see it, it will be solved in next version, for now you can do a quick fix:
Go to:
administrator\components\com_phocagallery\libraries\phocagallery\virtuemart\virtuemart.php
and on line cca: 17, paste this:
after:
Jan
Go to:
administrator\components\com_phocagallery\libraries\phocagallery\virtuemart\virtuemart.php
and on line cca: 17, paste this:
Code: Select all
if ((int)$id < 1) {
return "";
}Code: Select all
function getVmLink($id, &$errorMsg) {If you find Phoca extensions useful, please support the project
-
adg
- Phoca Newbie

- Posts: 3
- Joined: 13 Jul 2012, 12:06
Re: Phocagallery Eshop Icon view
Hi, Jan
Thanks! Now all works as it is necessary

Thanks! Now all works as it is necessary
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phocagallery Eshop Icon view
Fixed in 3.2.2
If you find Phoca extensions useful, please support the project