Page 1 of 1

Phocagallery Eshop Icon view

Posted: 13 Jul 2012, 12:20
by adg
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

Re: Phocagallery Eshop Icon view

Posted: 15 Jul 2012, 00:12
by Jan
Hi, try to disable SEF to test it if the SEF is not the problem. :idea:

Jan

Re: Phocagallery Eshop Icon view

Posted: 16 Jul 2012, 09:45
by adg
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)

Re: Phocagallery Eshop Icon view

Posted: 18 Jul 2012, 14:21
by Jan
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:

Code: Select all

if ((int)$id < 1) {
			return "";
		}
after:

Code: Select all

function getVmLink($id, &$errorMsg) {
Jan

Re: Phocagallery Eshop Icon view

Posted: 18 Jul 2012, 15:41
by adg
Hi, Jan
Thanks! Now all works as it is necessary
:twisted: :twisted: :twisted:

Re: Phocagallery Eshop Icon view

Posted: 18 Jul 2012, 15:55
by Jan
Ok

Re: Phocagallery Eshop Icon view

Posted: 01 Oct 2012, 14:30
by Jan
Fixed in 3.2.2