Connect Phoca Gallery and Virtuemart

Phoca Gallery - image gallery extension
jorgeabreu
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Feb 2009, 18:02

Connect Phoca Gallery and Virtuemart

Post by jorgeabreu »

Hi,
for a few days i'm looking for some 'manual'/post that explains how to make the connection between these two components.
So for no luck.
In the galeries, in each image i create a virtuemart ID, but how to connect to virtuemart? What needs to be done for them to work together?

Best regards (and sorry if there is a similar topic, but i couldn't find it)
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Connect Phoca Gallery and Virtuemart

Post by caro84g »

Hi,

did you see this already? https://www.phoca.cz/documents/2-phoca-g ... t_Settings

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
jorgeabreu
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Feb 2009, 18:02

Re: Connect Phoca Gallery and Virtuemart

Post by jorgeabreu »

Yes, i saw that.
I install Phoca Gallery component, then i create categories, then inserted photos and which one of them i create a virtuemart ID. I turn ON the Virtuemart link in the parameters and in the menu link used Global, but i don't see the link in the gallery.
If you like to see click here.

Later on, i install virtuemart component.

Now i don't know how to connect the components... :cry:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Connect Phoca Gallery and Virtuemart

Post by Jan »

Hi, if the Id of VM product exists and if the VM link is enabled in parameters (parameters component in menu link to gallery) then the icon should be displayed.

Jan
If you find Phoca extensions useful, please support the project
jorgeabreu
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Feb 2009, 18:02

Re: Connect Phoca Gallery and Virtuemart

Post by jorgeabreu »

Jan wrote:Hi, if the Id of VM product exists and if the VM link is enabled in parameters (parameters component in menu link to gallery) then the icon should be displayed.

Jan
To phoca gallery the VirtueMart ID of the product is the SKU? or is something else?
The icon is only showed in each image that has it's own ID?
belindab
Phoca Member
Phoca Member
Posts: 13
Joined: 19 Jan 2009, 16:06

Re: Connect Phoca Gallery and Virtuemart

Post by belindab »

I'm struggling with this too. Maybe it doesn't do what I was expecting?

You need to view your Product List and see the Id on the far right - that's the id to give to Phoca.

Then when I publish the Phoca Category, this results in a little shopping cart icon being shown beneath the image I have linked to VM when I display the category. If I click on the image, it takes me to my product.

But it doesn't mean that the product now has the image from Phoca Gallery, which is what I thought would happen.

And there is nothing on the zoom view of the image to indicate that you could add it to a cart. Now that would be great!
jorgeabreu
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Feb 2009, 18:02

Re: Connect Phoca Gallery and Virtuemart

Post by jorgeabreu »

I already understood this.
The problem is that it doesn't work how i would like to.
After creating a product in virtuemart, it gives a ID # and that's the number we have to put in phoca gallery :S

Since i create the gallery first and give a ID to later on put in virtuemart (SKU), it was work for nothing.

So now what i do is: make the product in virtuemart, then go to phpmyadmin change the ID to the number that i want and then put in the photo of phoca gallery.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Connect Phoca Gallery and Virtuemart

Post by Jan »

So now what i do is: make the product in virtuemart, then go to phpmyadmin change the ID to the number that i want and then put in the photo of phoca gallery.
?

Just go to Phoca Gallery - Images - edit the image and paste there the ID of VirtueMart product... ans save the modifications

Jan
If you find Phoca extensions useful, please support the project
McKnight
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Mar 2009, 11:45

Re: Connect Phoca Gallery and Virtuemart

Post by McKnight »

I got a similar problem. I know how to connect a Phoca Gallery image with a Virtuemart product... but... when I do that, a little shopping basket appears under the image in the gallery and when I click on that shopping basket it takes me to the product description page of the product and then I have to click "ADD TO CART" to add the product to the cart and then go back again to the gallery and repeat that a few times if I want to buy more products.

What I need is, when someone clicks on the shopping basket under the image in Phoca Gallery, I want the linked product to be automatically added to Virtuemarts shopping cart. Basically I want to sell photographs.

Does anyone have any ideas how to solve this? I would be very thankful.

Regards,
~McKnight
McKnight
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Mar 2009, 11:45

Re: Connect Phoca Gallery and Virtuemart

Post by McKnight »

Jan, It would be great if you could find the time to answer this post and give me some pointers. Thanks! ;)
Post Reply