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

#   Re: Possible ticket site

##

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

Less More

- Posts: 30
- Thank you received: 0
-
-

15 years 6 months ago [\#15122](#15122) by [pfotsu](/forum/user/2089-pfotsu "View pfotsu's Profile")  *[Possible ticket site](/forum/4-how-to/15122-re-possible-ticket-site#15122 "Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site....")* was created by *[pfotsu](/forum/user/2089-pfotsu "View pfotsu's Profile")*

Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site. [ redlodgetickets.com/preview/index.php/co...-grandstand-july-3rd](http://redlodgetickets.com/preview/index.php/covered-grandstand-july-3rd). I created this using your "add to cart html" option and I changed "add to cart" to buy. But I would like it to be able to do two more things.
1. is that when the buyer clicks to buy the seat it keeps them on the page instead of moving them to the cart page so they can proceed to click on all the seats that they want.
2. when the seat is purchased that the word buy either goes away or changes to sold.

This might be to much, so I'm open to suggestions. Pretty much what I'm looking for at the end is a site that people can buy tickets from a seating chart that updates after they buy the tickets.

Thanks and I really like Hikashop and I use it on other sites.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MTIyLXJlLXBvc3NpYmxlLXRpY2tldC1zaXRlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

15 years 6 months ago [\#15130](#15130) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Possible ticket site](/forum/4-how-to/15122-re-possible-ticket-site#15130 "Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site....")*

1. You can use AJAX to trigger the URL without redirecting the user to another page like explained on that post: [ www.hikashop.com/support/forum/4-how-to/...e.html?lang=en#11987](http://www.hikashop.com/support/forum/4-how-to/8572-add-to-cart-link-ajax-or-stay-same-page-possible.html?lang=en#11987)
2. You need to add an id for each Buy link like this: &lt;a href"..." id="seat_X"&gt;Buy&lt;/a&gt;, where X is the seat number. Then, before the 'return false;' code of the link, you can add the code:
document.getElementById('ID').style.display = 'none';

You need to replace ID by the id of your link.

Please note that 2 just hide the buy link on the current page. If the page is refreshed, or if another user sees it, the seat will still be available.
If you want to have a reservation system, that's way more difficult and you definitely can't do that in a joomla article. You will have to build your own small reservation component for that with a place where to store the reservations and then build the listing of seats dynamically from that data.

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

15 years 6 months ago [\#15362](#15362) by [pfotsu](/forum/user/2089-pfotsu "View pfotsu's Profile")  Replied by *[pfotsu](/forum/user/2089-pfotsu "View pfotsu's Profile")* on topic *[Re: Possible ticket site](/forum/4-how-to/15122-re-possible-ticket-site#15362 "Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site....")*

Thanks for the info. Is there a way that I could set it up so that when the ticket for the seat is available the default image is (image 1) and then when its gone it is "image 2" I had a friend write up a "if then statement" in php but I have to idea where that would go or if it would work

&lt;?php IF("this" == "that"){?&gt;
Do this
&lt;?php}ELSE{?&gt;
Do That
&lt;?php }?&gt;

Thanks for your time and sorry if I'm try to build a house with a pen hammer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MTIyLXJlLXBvc3NpYmxlLXRpY2tldC1zaXRlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

15 years 6 months ago [\#15365](#15365) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Possible ticket site](/forum/4-how-to/15122-re-possible-ticket-site#15365 "Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site....")*

You cannot have ANY php code by default in a joomla article.
You would have to use something like sourcerer for that:
[ www.nonumber.nl/extensions/sourcerer](http://www.nonumber.nl/extensions/sourcerer)

But again, you need to have something which tells you if the seat is available or not. You won't know that unless you have a table in the database with that information or something alike. That also means that you need to store the information there...
Few lines of PHP won't cut it unfortunately.

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

15 years 6 months ago [\#15366](#15366) by [pfotsu](/forum/user/2089-pfotsu "View pfotsu's Profile")  Replied by *[pfotsu](/forum/user/2089-pfotsu "View pfotsu's Profile")* on topic *[Re: Possible ticket site](/forum/4-how-to/15122-re-possible-ticket-site#15366 "Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site....")*

Thanks for all your help. I've looked everwhere for a joomla component that would do the reservations side of this process. But I can't seem to find it. I'll keep on pluggin along. Still think that Hika Shop rocks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MTIyLXJlLXBvc3NpYmxlLXRpY2tldC1zaXRlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

15 years 6 months ago [\#15373](#15373) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Possible ticket site](/forum/4-how-to/15122-re-possible-ticket-site#15373 "Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site....")*

Here is a thread talking about that: [ forum.joomla.org/viewtopic.php?p=2331161](http://forum.joomla.org/viewtopic.php?p=2331161)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MTIyLXJlLXBvc3NpYmxlLXRpY2tldC1zaXRlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

1 hour 53 minutes ago [\#100000430](#100000430) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Possible ticket site](/forum/4-how-to/15122-re-possible-ticket-site#100000430 "Hi. I'm trying to use Hikashop to make a ticket site for the local fairgrounds. I have a temp set up for a row of seats on my site....")*

Hi,

For anyone reading this: what was asked here is now available with the [ Seat Map](https://www.hikashop.com/marketplace/product/352-seat-map.html) plugin.

The visitor clicks the seats they want on a plan of the grandstand. A seat in another customer's cart or already sold can't be taken by anyone else, and a held seat goes back on sale when the cart time runs out (the [ Cart reservation](https://www.hikashop.com/marketplace/product/208-checkout-cart-reservation.html) plugin keeps it for the time you choose and shows a countdown) or when the order is cancelled.

You can try it here: [ mezzanine.demo.hikashop.com/](https://mezzanine.demo.hikashop.com/)

It works with the event dates of the [ Booking](https://www.hikashop.com/marketplace/product/305-booking.html) plugin and needs HikaShop Business

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE1MTIyLXJlLXBvc3NpYmxlLXRpY2tldC1zaXRlP3RtcGw9bWFya2Rvd24=) 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.097 seconds

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

[](#top)
