Page 1 of 1

Add to cart botton (virtuemart)

Posted: 22 Jul 2011, 10:56
by kolbasulya
Is there any possibility to display Add to cart botton on image using phoca gallery plagin?
and to display all images from all categories in one gallery?
and also I cant make parameter limitstart work.plugin displays first image anyway. I saw several topics about it but there is no answer

Re: Add to cart botton (virtuemart)

Posted: 23 Jul 2011, 01:16
by Jan
Hi,there is no such option for the plugin, so this needs to be customized in the code. :-(

What you mean with limit start is not working?

Re: Add to cart botton (virtuemart)

Posted: 23 Jul 2011, 14:20
by kolbasulya
for example i have category 13
and there are 7 images in this category
so I'd like to display only images 2,3,4 (it is not id)
so i have code
{phocagallery view=category|categoryid=13| limitstart=2|limitcount=3|detail=5|displayname=0| displaydetail=0|displaydownload=0|imageshadow=shadow1|displaybuttons=1}
but it displays images 1,2,3

and what about displaing all images from all categories in one gallery
http://sunnyfruit.ru/poslednie-novosti/ ... ereya.html
here i'd like to whatch all images and not to go to every category separatly

Re: Add to cart botton (virtuemart)

Posted: 25 Jul 2011, 16:39
by Jan
Hi, then depends on ordering you have set in administration

limitstart=2|limitcount=3

means in query:

LIMIT 2,3

so it should work but test if the ordering is OK

Re: Add to cart botton (virtuemart)

Posted: 25 Jul 2011, 21:14
by kolbasulya
could you please name the parametr in administration
and what value should it have?
I set all Categories Image Ordering - Ordering Acsending
here: Categories View Settings (List of Categories),
Category View Settings (List of Images)
Categoy View Settings (Categories above Images)
General Settings

but there is no effect!

Re: Add to cart botton (virtuemart)

Posted: 26 Jul 2011, 00:04
by Jan
Hi, sorry I don't understand, it is a parameter in plugin:

limitstart=2|limitcount=3

try to test if your plugin code does not include spaces, etc.

Jan

Re: Add to cart botton (virtuemart)

Posted: 26 Jul 2011, 09:20
by kolbasulya
Oh! Thank you very much!
It was the problem with spaces!! Now it works very well
thanks a lot!

Re: Add to cart botton (virtuemart)

Posted: 27 Jul 2011, 00:36
by Jan
Ok