Add to cart botton (virtuemart)

Phoca Gallery plugins - plugins for Phoca Gallery extension
kolbasulya
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 14 Jul 2011, 20:43

Add to cart botton (virtuemart)

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add to cart botton (virtuemart)

Post 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?
If you find Phoca extensions useful, please support the project
kolbasulya
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 14 Jul 2011, 20:43

Re: Add to cart botton (virtuemart)

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add to cart botton (virtuemart)

Post 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
If you find Phoca extensions useful, please support the project
kolbasulya
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 14 Jul 2011, 20:43

Re: Add to cart botton (virtuemart)

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add to cart botton (virtuemart)

Post 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
If you find Phoca extensions useful, please support the project
kolbasulya
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 14 Jul 2011, 20:43

Re: Add to cart botton (virtuemart)

Post by kolbasulya »

Oh! Thank you very much!
It was the problem with spaces!! Now it works very well
thanks a lot!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Add to cart botton (virtuemart)

Post by Jan »

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