Add to cart button in article

More
7 years 4 months ago - 7 years 4 months ago #91596 by Enlil
Add to cart button in article was created by Enlil
we sell training courses, so we need one page with multiple buttons to let customers to buy the course with the date/city they want.

in Virtuemart was very easy:
Code:
<form class="box style align-right" method="post"><span> <input title="Add to Cart" type="submit" name="addtocart" value="Iscriviti al corso" /> </span><input type="hidden" name="quantity[]" value="1" /> <input class="pname" type="hidden" value="Corso Base - Firenze 16/19 Giugno" /> <input type="hidden" name="option" value="com_virtuemart" /> <input type="hidden" name="view" value="cart" /><input type="hidden" name="task" value="add" /><input type="hidden" name="virtuemart_product_id[]" value="135" /> <input type="hidden" name="virtuemart_manufacturer_id" value="1" /> <input type="hidden" name="virtuemart_category_id[]" value="6" />

how to do the same with EShop?

Thanks
Last edit: 7 years 4 months ago by Enlil.

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
7 years 4 months ago #91689 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Add to cart button in article
Hello Enlil,

I am sorry but I am confused about your question. Seem the feature that you want can be implemented by Product Options feature in EShop. Please read more about how it work in the documentation at eshopdocs.joomservices.com/catalog/products#product-options

Hope that this is useful.
Sincerely, Giang

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

More
7 years 4 months ago #91850 by Enlil
Replied by Enlil on topic Add to cart button in article
we need the code to make some buttons to "add to cart" a specific product
look at the blue buttons in the attached picture, we need something like this
it's just a submit form, like the example code I provided
thanks
Attachments:

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

More
7 years 3 months ago #92024 by Enlil
Replied by Enlil on topic Add to cart button in article
no way?

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
7 years 3 months ago #92097 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Add to cart button in article
Hello Enlil,

EShop has already supports EShop Category Plugin ( eshopdocs.joomservices.com/plugins-and-t...shop-category-plugin ) and EShop Product Plugin ( eshopdocs.joomservices.com/plugins-and-t...eshop-product-plugin ) to allows you to add products list and product details into the article in Joomla. Please read the documentation and set up by yourself.

Hope that this is useful.
Sincerely, Giang

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

More
7 years 3 months ago #92134 by Enlil
Replied by Enlil on topic Add to cart button in article
thank you very much, but unfortunately this trick has 2 problems:
- 1) this way the template override does not work
- 2) you can't put multiple products on the same page, because the "Add to Cart" button does not work as expected (it put into the cart only the latest product shown in the page)
sorry

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
7 years 3 months ago #92168 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Add to cart button in article
Hello Enlil,

1. That's correct.

2. If you want to put multiple products on the same page, you should use EShop Category content plugin.

Sincerely, Giang

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

Moderators: Giang Dinh Truong