Search…

X3 Photo Gallery Support Forums

Search…
 
sunqueen
Posts: 10
Joined: 20 Jan 2016, 23:43

Re: Shopping cart link

12 Feb 2016, 21:30

mjau-mjau wrote:
sunqueen wrote:...
Ok, no need for a long reply here I guess ... I will look into a custom purchase-link feature asap, although this will require you to add certain "data" manually on a per-image basis.

What was slightly unclear to me though, is if you want a link that goes to a specific page on fineartsamerica, or if you want to add links that directly go to Paypal. I would assume Paypal? In which case, I don't see that fineartsamerica is part of any equation from our perspective ... I thought perhaps you wanted X3 to link to fineartsamerica first, but perhaps I was mistaken.

Also, just to be clear in regards to adding a custom vanilla Paypal button: The visitor will be able to click, proceed to Paypal and make a payment. There is no automation after the payment, and you would likely just need to add a custom receipt message at Paypal "Thanks for the purchase! We will process your order and get back to you as soon as possible."
Splendid!!! I do not mind to manually apply data to individual items.If I can use a "Buy" button, I can use the same functionality to send
clients to either Fine Art America, Fotomoto or Paypal as I wish. That would be great! At some point in the very near future, Paypal is rolling out this new wave of API functions that is supposed to make "shopping" very easy, but it is in a closed beta stage and not quite sure when it will be rolled out. I think it looks very interesting, at least to me.
If you would like to have the "official shin dig" go and find it here:
https://www.paypal.com/us/webapps/mpp/commerce
Thank you for shoving this "Shopping Cart/ Buy Button" feature a bit closer to the top of the "to Do List".
I'm sure other users are just as delighted.
Much appreciated, thank you!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Shopping cart link

08 Mar 2016, 11:56

I would like to announce that we have now added extensive support for links in image descriptions. This feature will be available in a new release next week ... It is quite flexible, although I will likely need to guide you on how to integrate it properly. Some highlights:

- Add links to image titles and descriptions (likely you will use descriptions).
- Links can open in _blank or popup window (practical for e-commerce interfaces).
- Integrate links with special styles for big fat "buy now" buttons with cart-icon.
- Links can display directly in the gallery layout or in the image-popup (or both).
- Use dynamic variables {file_name} and {file_name_ext} to create dynamic links.
- Create global dynamic links from page->settings, instead of adding to each image.

Just for the record, there is also a new dedicated LINK feature for images (in addition to titles and descriptions). The link feature allows you to set a link for the image, which effectively opens the link when the image is clicked. It is however unlikely you would use this feature for e-commerce, because it's doesn't display the link or any "buy" button ... It basically hijacks the image-link on click, and prevents the image from being viewed in the X3 popup. This feature is more for showcasing external links.

It is therefore more feasible that you would want to use a "buy" link directly in the description, that does not block normal image interface behavior, yet can display a clear "buy" button in the description (available in gallery-layout, caption and x3-popup).
 
zipper
Experienced
Posts: 25
Joined: 03 Sep 2014, 14:40

Re: Shopping cart link

14 Aug 2016, 14:07

reading this I'm confused how to implement this, where would I edit or add the codes you have used to create a buy button, is it possible to have say on some pictures a permanent buy button where as other pictures a hover over buy button, to open a pop up window with the cart system?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Shopping cart link

15 Aug 2016, 02:00

zipper wrote:reading this I'm confused how to implement this, where would I edit or add the codes you have used to create a buy button
Assuming you have already discovered panel "edit view" for the gallery, you will see this:
Image

So basically, you can just add links directly in the descriptions. For example:
Code
<a href="somelink.html">link text</a>
With "buy" button style, dynamic link, and window opens in popup window:
Code
<a href="somelink.php?image={file_name}" class="button-buy" data-popup-window>Buy Now</a>
If you had a more specific request, I could perhaps provide more specific information. As mentioned in my previous post, this is extensive support for flexible links in descriptions ... Essentially, it is just links though, so you need to plan what you want to link to, and in what way.
zipper wrote:is it possible to have say on some pictures a permanent buy button where as other pictures a hover over buy button?
You can't mix layout-styles within the same gallery page, because hover-settings are applied from the page settings.
zipper wrote:to open a pop up window with the cart system?
Yes this can be added regardless of how your links appear and how they behave.
 
zipper
Experienced
Posts: 25
Joined: 03 Sep 2014, 14:40

Re: Shopping cart link

15 Aug 2016, 13:59

I found the panel edit view (gallery settings, cycle threw pencil icon a few times)

how ever, in the link field if you try and add the code
Code
<a href="somelink.php?image={file_name}" class="button-buy" data-popup-window>Buy Now</a>
it adds this to the root domain e.g. http://yourwebsideaddress/the a href you just typed in .... the only way I could get it to work without an error page was to just type the address to link to into the link field, this works turning the picture into a link to the site but it doesn't add the buy button, I cant get the button to appear even with the above mentioned error in place,

also in the parent contents folder it makes it so you have to click into the child folder before the link works, how do you make it so when a user clicks on a navigation menu item (bringing them to a parent folder) they can get the link from that page instead of clicking into an image folder (child folder) and then to the image for a link?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Shopping cart link

15 Aug 2016, 22:10

@zipper: Sorry, but at this point I have no idea what you are trying to do, or what you re trying to link to. In my examples, I just show some examples in the HREF link tag ... Obviously, if you use relative links like "something.php", the BROWSER itself, will automatically prepend the current URL.
zipper wrote:it adds this to the root domain e.g. http://yourwebsideaddress/the a href you just typed in .... the only way I could get it to work without an error page was to just type the address to link to into the link field, this works turning the picture into a link to the site but it doesn't add the buy button, I cant get the button to appear even with the above mentioned error in place,
Sounds to me like you are trying to link to images in the SAME folder? May I ask what the point of this is? The reason you can't just add a relative link to image name, is because the path is different. For example, if you have a page /folder/gallery/, you can't link to an image /folder/gallery/image.jpg ... Likely the actual physical path would be something like /1.folder/2.gallery/image.jpg.

If you explain what you are trying to do, maybe I can help.
zipper wrote:also in the parent contents folder it makes it so you have to click into the child folder before the link works, how do you make it so when a user clicks on a navigation menu item (bringing them to a parent folder) they can get the link from that page instead of clicking into an image folder (child folder) and then to the image for a link?
Really not sure what you mean. What links where? What navigation item? (I dont know any navigation that brings user to parent folder) ... Your custom links certainly won't display on parent folder page.
 
zipper
Experienced
Posts: 25
Joined: 03 Sep 2014, 14:40

Re: Shopping cart link

15 Aug 2016, 23:21

mjau-mjau using the code
Code
<a href="somelink.php?image={file_name}" class="button-buy" data-popup-window>Buy Now</a>
I cant seem to get the buy button on an image like you have done in the example, it opens up a pop up window but doesn't show a buy button on the image itself, if possible I would like it to be there permanently so that potential customers know that it links to a shop

ideally when the preview image is in the parent folder (/1.folder ... how it displays for desktop use when you click the top level navigation menu) I don't know if its possible to add a link to this preview image located in this parent folder, It would be nice if this would work as your example shows in say /1.folder/2.gallery/image.jpg

at the moment I cant seem to get the buy button image on the picture though even in /1.folder/2.gallery/image.jpg

I was trying to figure out how to get the href link to link to another website like this example of http://1234foto.myshopify.com/products/ ... e-building using the code above if you tried to make it link to this shopify store it would link to http://www.mysite.com/http://1234foto.m ... e-building instead of the store itself, to test the code and get around this I tried using a redirect page but as mentioned the buy button image didn't show up, but using a redirect page for each image could prove a little hard when I try and implement this for my picture gallery, at the moment I'm trying it on just one image, I'm unsure how you have done it with your example https://swamphox.com/galleries/landscapes/baltimore/

thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Shopping cart link

16 Aug 2016, 00:31

Would it not be easier if you had a link?
zipper wrote:mjau-mjau using the code
Code
<a href="somelink.php?image={file_name}" class="button-buy" data-popup-window>Buy Now</a>
I cant seem to get the buy button on an image like you have done in the example, it opens up a pop up window but doesn't show a buy button on the image itself, if possible I would like it to be there permanently so that potential customers know that it links to a shop
Where are you adding the link? To your image description I assume? Have you set descriptions to appear in your specific gallery layout? Really not sure what you mean with "it opens a popup window" ... Your custom link?
zipper wrote:ideally when the preview image is in the parent folder (/1.folder ... how it displays for desktop use when you click the top level navigation menu) I don't know if its possible to add a link to this preview image located in this parent folder, It would be nice if this would work as your example shows in say /1.folder/2.gallery/image.jpg
What preview image are you referring to? If you want to add a link to the "preview" of the page, in parent folders, why not add the link to the page DESCRIPTION which displays? You can't expect links on IMAGES to appear on links to the page.
zipper wrote:at the moment I cant seem to get the buy button image on the picture though even in /1.folder/2.gallery/image.jpg
Well, you need to check the EXACT path of the image ... I am only giving examples, and can't guess the path for you. Likely it will be something like /content/1.path/2.folder/image.jpg. I can't diagnose these things without a link, and further help without you offering a link, or exact details is pointless. There is a FIX in the link below, if you want to use dynamic {image_path} setting, which gets the full path of the image:
https://forum.photo.gallery/viewtopic.p ... 256#p40261
zipper wrote:I was trying to figure out how to get the href link to link to another website like this example of http://1234foto.myshopify.com/products/ ... e-building using the code above if you tried to make it link to this shopify store it would link to http://www.mysite.com/http://1234foto.m ... e-building instead of the store itself, to test the code and get around this I tried using a redirect page but as mentioned the buy button image didn't show up, but using a redirect page for each image could prove a little hard when I try and implement this for my picture gallery, at the moment I'm trying it on just one image, I'm unsure how you have done it with your example https://swamphox.com/galleries/landscapes/baltimore/
Sorry, but previously you say you are trying to link to an IMAGE, but now you say you are trying to link to a website. If you add this as link "http://1234foto.myshopify.com/products/ ... e-building" it will link to EXACTLY that, and NOT "http://www.mysite.com/http://1234foto.m ... e-building" ... How are you adding your links? Exact references, link (if possible), and or screenshots, or this is pointless.
 
zipper
Experienced
Posts: 25
Joined: 03 Sep 2014, 14:40

Re: Shopping cart link

28 Sep 2016, 19:54

sorry for taking so long to get back, I appreciate you having spent the time to write your messages!

After a little experimenting I managed to get the buy button up and running, (previously I was entering the code you had written into the link field and not the description like you suggest, makes a big difference)

I am about to try and set up the rest of the images on my site linking with my store on shopify, would I need to set up a new page in shopify for each image in my gallery and then do the above link each time for each image? or is there a way of setting up a template to mass upload and set up pages for doing this?

thanks for your help so far, your much appreciated!!
 
zipper
Experienced
Posts: 25
Joined: 03 Sep 2014, 14:40

Re: Shopping cart link

28 Sep 2016, 20:30

... although, I am still a little unsure how you have managed to make the images buy now button appear in gallery view like you have in
https://swamphox.com/galleries/landscapes/baltimore/
so far the buy button only shows when the image is in full screen, and not when it is in a gallery with multiple images, I added the description field into settings, gallery, items but cant figure out your trick to this!! would be nice to know!!
thanks mjau-mjau
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Shopping cart link

28 Sep 2016, 23:45

zipper wrote:I am about to try and set up the rest of the images on my site linking with my store on shopify, would I need to set up a new page in Shopify for each image in my gallery and then do the above link each time for each image?
Unfortunately, I really don't have any experience with Shopify. X3 just provides a simple interface to link to shopify-pages. Do you really need to "set up a new page" in Shopify for each image? I would expect that you could mass-upload images, and they would be available by link inside your Shopify page. This link would be used by X3.
Part of the trick with this website, is that the images uploaded at Shopify, have the same names as the images uploaded in X3. This means we could simply create a template-caption in X3, from page settings -> images -> "Default Image Description", for example:
Code
<a class="button-buy small" data-popup-window="buy,1024,800" href="http://1234foto.myshopify.com/products/{file_name}">Buy Now</a>
The {file_name} variable will be populated by the current image file name (without *.jpg). If you have same names in X3 as as Shopify, it should open the page for your image at Shopify. This is how it's done in the mentioned link.
zipper wrote:... although, I am still a little unsure how you have managed to make the images buy now button appear in gallery view like you have in
https://swamphox.com/galleries/landscapes/baltimore/
so far the buy button only shows when the image is in full screen, and not when it is in a gallery with multiple images, I added the description field into settings, gallery, items but cant figure out your trick to this!! would be nice to know!!
Go to the page settings -> gallery -> select Image caption overlay.

In the future, we will take a further look into Shopify for a tighter integration. Also, on a related note, there will be a new X3 update in less than a week, with full Fotomoto integration.
 
zipper
Experienced
Posts: 25
Joined: 03 Sep 2014, 14:40

Re: Shopping cart link

29 Sep 2016, 09:27

thanks mjau-mjau! well looks like im going to be busy for a while, might hail you in a little, but for now I guess I have a mammoth task ahead!