[Skip to main content](#vessel-content)

#   Add URL To Product Parameter For Photo Purchase

##

- **[FidelGonzales](/forum/user/9522-fidelgonzales "View FidelGonzales's Profile")**
- [![FidelGonzales's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9522-fidelgonzales "View FidelGonzales's Profile") Topic Author
- [ Offline](/forum/user/9522-fidelgonzales)

Less More

- Posts: 11
- Thank you received: 0
-
- [](http://MediaArmory.com)
-

13 years 4 months ago [\#114121](#114121) by [FidelGonzales](/forum/user/9522-fidelgonzales "View FidelGonzales's Profile")  *[Add URL To Product Parameter For Photo Purchase](/forum/4-how-to/85378-add-url-to-product-parameter-for-photo-purchase#114121 "I am attempting to make use of Hikashop for the purpose of selling photography by publishing an add-to-cart button next to the image, whether it be within the gallery thumbnail or the lightbox popup.  Is there a way to include the Hikashop add-to-cart button upon pages and popups and pass the image number, URL and/or distinguishing data to single product variable?    www.hikashop.com/en/support/documentatio...plugins-listing.html  I have tested a PhocaGallery-Virtuemart integration that makes use of Hikashop through a hack, but PhocaGallery is a very clunky system and is very difficult to administrate, particularly when uploading hundreds or thousands of photos a week into 10-50 galleries, as it is not very intuitive. Besides, the cart button that is rendered is redirects the user to the Hikashop product page. I'd prefer that it simply make use of Ajax update to cart.  I am considering making use of the new JoomlaWorks Simple Image Gallery Pro component, which would work well to easily manage galleries from within the component and/or K2 items. Keeping the gallery within K2 items would help tremendously, since plans are to use K2 for content, the reviews directory, and the gallery so that the site relies upon only one primary component, which would make updating and administration easy as well as enable tags and modules to operate site wide for all sections.")* was created by *[FidelGonzales](/forum/user/9522-fidelgonzales "View FidelGonzales's Profile")*

I am attempting to make use of Hikashop for the purpose of selling photography by publishing an add-to-cart button next to the image, whether it be within the gallery thumbnail or the lightbox popup.

Is there a way to include the Hikashop add-to-cart button upon pages and popups and pass the image number, URL and/or distinguishing data to single product variable?

[ www.hikashop.com/en/support/documentatio...plugins-listing.html](http://www.hikashop.com/en/support/documentation/integrated-documentation/29-hikashop-plugins-listing.html)

I have tested a PhocaGallery-Virtuemart integration that makes use of Hikashop through a hack, but PhocaGallery is a very clunky system and is very difficult to administrate, particularly when uploading hundreds or thousands of photos a week into 10-50 galleries, as it is not very intuitive. Besides, the cart button that is rendered is redirects the user to the Hikashop product page. I'd prefer that it simply make use of Ajax update to cart.

I am considering making use of the new JoomlaWorks Simple Image Gallery Pro component, which would work well to easily manage galleries from within the component and/or K2 items. Keeping the gallery within K2 items would help tremendously, since plans are to use K2 for content, the reviews directory, and the gallery so that the site relies upon only one primary component, which would make updating and administration easy as well as enable tags and modules to operate site wide for all sections.

---

[ MediaArmory.com](http://MediaArmory.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1Mzc4LWFkZC11cmwtdG8tcHJvZHVjdC1wYXJhbWV0ZXItZm9yLXBob3RvLXB1cmNoYXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

13 years 4 months ago [\#114207](#114207) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add URL To Product Parameter For Photo Purchase](/forum/4-how-to/85378-add-url-to-product-parameter-for-photo-purchase#114207 "I am attempting to make use of Hikashop for the purpose of selling photography by publishing an add-to-cart button next to the image, whether it be within the gallery thumbnail or the lightbox popup.  Is there a way to include the Hikashop add-to-cart button upon pages and popups and pass the image number, URL and/or distinguishing data to single product variable?    www.hikashop.com/en/support/documentatio...plugins-listing.html  I have tested a PhocaGallery-Virtuemart integration that makes use of Hikashop through a hack, but PhocaGallery is a very clunky system and is very difficult to administrate, particularly when uploading hundreds or thousands of photos a week into 10-50 galleries, as it is not very intuitive. Besides, the cart button that is rendered is redirects the user to the Hikashop product page. I'd prefer that it simply make use of Ajax update to cart.  I am considering making use of the new JoomlaWorks Simple Image Gallery Pro component, which would work well to easily manage galleries from within the component and/or K2 items. Keeping the gallery within K2 items would help tremendously, since plans are to use K2 for content, the reviews directory, and the gallery so that the site relies upon only one primary component, which would make updating and administration easy as well as enable tags and modules to operate site wide for all sections.")*

You can use the link of the "add to cart html button" button of each product edition page.

When the user click on it, the product is added to the cart directly (you can do it for variants too) and the user is redirected to the checkout automatically.
You can also trigger the same URL in ajax if you want it to not redirect the user to the checkout.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1Mzc4LWFkZC11cmwtdG8tcHJvZHVjdC1wYXJhbWV0ZXItZm9yLXBob3RvLXB1cmNoYXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
