Search…

X3 Photo Gallery Support Forums

Search…
 
studiojenny
Topic Author
Posts: 3
Joined: 10 Aug 2011, 12:34

Adding Purchase Button

10 Aug 2011, 13:50

Hello,

I'm currently attempting to add the image buttons as instructed in previous forum postings: (Please see the following for reference)

viewtopic.php?f=26&t=7070

However, when I follow those instructions, I get the following interaction on my screen.

http://imageshack.us/photo/my-images/89/unledvmp.jpg

My ultimate goal is to add a custom menu button that will allow for selections to be made and then email my client.

I understand that Fotomoto is the mail supplier for printing and purchasing needs. However, until they get the "self-fullfillment" feature completed, I have to make due with alternatives.

To get started I would just like to get this purchase button completed. *smiles*

Thank you in advance for your help and time.

Warmest Regards,

Jenny Wood
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Adding Purchase Button

10 Aug 2011, 23:58

Hi Jennifer,

It's a pity you can't use the new Fotomoto module we have integrated, but they do not allow the option to print your own photos as you mention …

It is a bit tedious to try to create your own "cart" system, especially if you require checkboxes for image options. This is certainly not something that already exists inside the Imagevue interface, or can easily be integrated. What I would recommend:

1. You can add a custom "Buy Now" button to the Imagevue interface, for each image … This could either be a text link in the description, or a text link with an <img> "buy now" to make it more obvious … You can also add a button in the controls/imagebuttons, although this may not be that obvious.

2. A) The "Buy" button could link to an e-mail forwarding the image name, and asking the visitor to fill in a few details. (This is by far the easiest solution with no development time)

2. B) The "Buy" button could open a popup window, or lightbox window, with a simple form. You or someone would need to make the PHP form of course for the details required.
 
studiojenny
Topic Author
Posts: 3
Joined: 10 Aug 2011, 12:34

Re: Adding Purchase Button

11 Aug 2011, 00:00

Thank you so much for responding.

The most ideal scenario would be to add the additional button either through the image/controls buttons. Do you have a guide that can show me how to add that additional button? As far as making my own PHP, that is no issue. I just need to understand how to include it within the ImageVue package.

If I cannot get the button set up, do you also have a guide as to how to add the "Buy Now" button to each image? I would have no issue doing that either. I'm just a little stuck at the moment.

Thank you so much for your help and look forward to your response.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Adding Purchase Button

11 Aug 2011, 00:22

Jenny Wood wrote:The most ideal scenario would be to add the additional button either through the image/controls buttons. Do you have a guide that can show me how to add that additional button? As far as making my own PHP, that is no issue. I just need to understand how to include it within the ImageVue package.

If I cannot get the button set up, do you also have a guide as to how to add the "Buy Now" button to each image? I would have no issue doing that either. I'm just a little stuck at the moment.
Basically there are a few options to how you add your button:

1) In your image description, simply add something like:
Code
<a href="popup-link.php">Buy Now!</a>
2) You could optionally add a button in the main controls or imagebuttons:
# Go to admin -> settings -> settings.attributes.image ... Add the purchase item.
# controls.maincontrols.items ... Add the purchase item.
# image.imagebuttons.buttons ... Add the purchase item.
# Now, you can go to your admin -> manage, and for each image, you will see a new field "purchase". Here you can add a link that will be triggered by the buttons above.

There will be some questions about how to open a nice popup window, and how to forward parameters, but this would be the final part once things are working ...
 
studiojenny
Topic Author
Posts: 3
Joined: 10 Aug 2011, 12:34

Re: Adding Purchase Button

11 Aug 2011, 10:54

Karl,

Thank you so much for your response. I have followed all the steps you have suggested.

The only variation I noticed is:
# Go to admin -> settings -> settings.attributes.image ... Add the purchase item.
The path that is the closest is:

Settings -> Settings -> Attributes.Purchase

There does not appear to be an "image" section for me to click within the attributes. (Please see the screenshot attached.) I am just wondering if that variation matters :)

Going further into your instructions, I have not figured a way to get the "Buy Now" button to show (or link for that matter). When looking at it in the selected gallery mode. Meaning when someone is looking at a specific image and decides they wish to purchase. I see when it is in a smaller thumbnail. (It then requests a URL which I have to figure out how to link too! I'm such a mess!) I get the standard one in the main controls, but it does not link to anywhere. How do I go about adding the link(s)?

I am very grateful for your help Karl. This is a great product and looking forward to learning as much about it as possible. And yes it IS a pity my client will not take advantage of FOTOMOTO. I know I will be for my own galleries.

Looking forward to hearing back from you.

Warmest Regards,

Jenny

P.S. On a side note, was I supposed to re-install IV once I got my commercial licence? I'm still functioning off the trial version (after I authenticated it of course). Cheers to you!



-----------------

Edit:

I have figured out how to link a "buy now" to each image (It's a happy day!!!) Now to create the nice pop-up and form and then sticking the PHP into the mix of ImageVue and not messing up you good folks mojo and breaking the site!

Greatly looking forward to any responses :)
Attachments
Untitled.png
Untitled.png (23.3 KiB) Viewed 8382 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Adding Purchase Button

13 Aug 2011, 21:55

Jenny Wood wrote:P.S. On a side note, was I supposed to re-install IV once I got my commercial licence? I'm still functioning off the trial version (after I authenticated it of course). Cheers to you!
No need to re-install ... Just authorize your gallery.
Jenny Wood wrote:I have figured out how to link a "buy now" to each image (It's a happy day!!!) Now to create the nice pop-up and form and then sticking the PHP into the mix of ImageVue and not messing up you good folks mojo and breaking the site!
I suggest you for now simply open the the PHP in a new (_blank) window. I will help you open a popup after you got the PHP/form page working, and parameters forwarded from the link. We also may be able to provide an even cooler solution with a "Colorbox" overlay window instead of Popup. What is Colorbox? Go to the admin manage, click "upload" on top right and you will see the colorbox popup window. Imagine your script/form opening in this window ...
 
vincetully
Posts: 2
Joined: 10 Mar 2012, 10:19

Re: Adding Purchase Button

03 May 2012, 07:14

Hey

I noticed you say you got the "Buy Now" button to work or link??.... can I ask where you found this setting (which file to edit) Im going to try to do this myself...

Thanks

Vince.
 
vincetully
Posts: 2
Joined: 10 Mar 2012, 10:19

Re: Adding Purchase Button

03 May 2012, 08:07

Fount it ;-)
However..... The Purchase attribute only allows a single images to link to paypal.... I'm going to have 1000''s of images... Is there any ways of getting Imagevuex2 to set a paramater as a default for every image in the gallery

Vince
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Adding Purchase Button

04 May 2012, 01:01

vincetully wrote:Fount it ;-)
However..... The Purchase attribute only allows a single images to link to paypal.... I'm going to have 1000''s of images... Is there any ways of getting Imagevuex2 to set a paramater as a default for every image in the gallery
Can you give an example of a link to Paypal?

We could perhaps make it possible to build links with dynamic values, for example:
domain.com/?script&image=[filename]&path=[path]&buy=1&title=[title]

Imagevue could build the links with dynamic content that is stored in Imagevue, but all the other values would need to be static for all your images, else you would need to add it for all 1000 images anyway.