Create "Add to Cart" button in an article

  • Robert Reichel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #58269 by Robert Reichel
Create "Add to Cart" button in an article was created by Robert Reichel
I am still wading through the docs for this extension but I just can't find this.

I have enabled the shopping cart in the main configuration and turned off group registration. My client wants an "Add to cart" button for event registration in the articles describing the events. I can't figure out how to do this. I have enabled all of the plugins and have tried putting {ebregister 1} in my test article, and it provides me with an in-line registration form, which is not what we want. I'm obviously missing something obvious.

If anyone could point me in the right direction, I would appreciate it.

Thanks,

-Rob

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 1 month ago #58271 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Create "Add to Cart" button in an article
Hi Rob

Do you have "Activate Shopping Cart" config option set to Yes on your site ? If so, I am afraid of it is difficult to have add to cart button added to the article as this add to cart button using AJAX, so it requires some complex javascript code added.

If you don't have "Activate Shopping Cart" config option set to Yes, it will be simple. We can tell you what link to use so that you can embed the add to cart button to article

Tuan

Please Log in or Create an account to join the conversation.

  • Robert Reichel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #58272 by Robert Reichel
Replied by Robert Reichel on topic Create "Add to Cart" button in an article
Wow, now I'm confused. So I have to turn off the shopping cart in order to have a button to add an event to the shopping cart?

Ok, if that's what it takes, I will turn off the shopping cart. How would I then go about adding the button? I need to see what this all looks like, I'm pretty confused and there do not appear to be any demos that show what I'm trying to do.

-Rob

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 1 month ago #58274 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Create "Add to Cart" button in an article
Hi Rob

Basically, the link to register for an event has the following format:

Individual Registration: index.php?option=com_eventbooking&task=individual_registration&event_id=ID_OF_THE_EVENT

Group Registration: index.php?option=com_eventbooking&task=group_registration&event_id=ID_OF_THE_EVENT

Of course, ID_OF_THE_EVENT will be replaced with the actual ID of the event you want to allow users to register

So the solution is that you can include that link to the article to allow users to click on to register (either individual or group registration)

Personal, I don't think you should active shopping cart feature for this usage. In this case, I guess you will have an article to describe about the event, and have register button to allow users to register. So I don't think users will register for multiple different events within one checkout in this case (if so, how they can find other events ?) ?

So the solution above should work

Tuan

Please Log in or Create an account to join the conversation.

  • Robert Reichel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #58280 by Robert Reichel
Replied by Robert Reichel on topic Create "Add to Cart" button in an article
No, we absolutely want people to be able to register (and pay) for multiple events at one time. That's the point of using the shopping cart.

My client has at least a dozen events available at any one time. We want people to browse the events, and for every one they find that they like, add them to their cart with a button, and when they are done, go to their cart and register for all the events with a single payment. Like buying multiple books from Amazon, right? You don't have to buy them one at a time.

That's the point of having a shopping cart, isn't it?

So to sum it up, my client wants a button in each article describing each event that says "add this event to my cart" (or something like that) and when they are done, go to their cart (which I will no doubt have to create as a menu item) and enter their information and purchase the events.

My understanding from reading the docs was that this should be fairly easy. Is it not?

-Rob

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 1 month ago #58281 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Create "Add to Cart" button in an article
Hi Rob

It is easy if you create a menu item to link to category view of Events Booking. Users can then see list of events belong to the category, then add to cart and process checkout.

If you want to embed the button into article, then it is difficult, unfortunately

Tuan

Please Log in or Create an account to join the conversation.

  • Robert Reichel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #58285 by Robert Reichel
Replied by Robert Reichel on topic Create "Add to Cart" button in an article
[THUD]

That was the sound of my head hitting my desk.

We cannot use this extension, unfortunately. My client insists that this operate like a normal e-commerce site.

I hope you have a refund policy...

-Rob

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 1 month ago #58286 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Create "Add to Cart" button in an article
That's OK Rob. You can submit support ticket letting us know Paypal Transaction ID of your purchase. And I will process refund.

But I am not sure there is an extension can be used for this requirement. So good luck

I don't understand why you cannot display events using build in Category view of Events Booking. Any reasons you have to use article ?

Tuan

Please Log in or Create an account to join the conversation.

  • Robert Reichel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #58287 by Robert Reichel
Replied by Robert Reichel on topic Create "Add to Cart" button in an article
The events are presented in order by which they are taking place on the front page of the site via on of the RocketTheme modules (Roksprocket Mosaic) which shows summaries of each article that describes an event. The events have mixed categories (the categories aren't really used for much at this time, though we may use them in the future). Users are expected to click on the events that interest them, read the description (which shows up on the front page in the featured article area) and if they like the event, click on the "Add to cart" button (which apparently does not exist) so it is added to their cart. They can then go and continue clicking on events and reading about them and adding them to their cart. Once they are done, they check out. We do not want them to have to leave the front page until they go to their shopping cart to check out.

My client does not want a separate page that shows a list of events. We already have what we want. All we need is the ability to put the event into the shopping cart from the product article-page (like Amazon and every other e-commerce site in the world) and we're done.

-Rob

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 1 month ago #58289 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Create "Add to Cart" button in an article
Ok Rob. I understand. In this case, you will need to find a different extension as Events Booking doesn't support it by default.

In case you could not find an extension which can be used for this requirement, you can hire us to develop this custom plugin for you. It will cost you 50$ for this development

For now, please submit suport ticket providing us Paypal Transaction ID of your purchase so that I can process refund. Thanks for trying to use the extension

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc