Skip to content

Commit

Permalink
Merge pull request #3 from blopa/feature/version_0.0.3
Browse files Browse the repository at this point in the history
Feature/version 0.0.3
  • Loading branch information
blopa committed Feb 26, 2017
2 parents f682723 + 973d799 commit ab30b0f
Show file tree
Hide file tree
Showing 9 changed files with 521 additions and 160 deletions.
45 changes: 39 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,29 @@ Source code for the Magento Chatbot (Telegram, Messenger, Whatsapp and WeChat),

A big thanks to [Eleirbag89](https://github.com/Eleirbag89/) who wrote [this](https://github.com/Eleirbag89/TelegramBotPHP) simple PHP wrapper for Telegram.


### Installation
**Currently not working with Configurable Products and products with custom options**
## Features
- List store categories
- List products from category
- Search for products
- Add product to cart
- Clear cart
- Login to your account
- List orders
- Track order status
- Reorder
- Send email
- Send message to support
- Reply customer support messages from you favorite chat messenger

## Installation

1. Unpack the extension ZIP file in your Magento root directory
2. Clear the Magento cache: **System > Cache Management**
3. Log out the Magento admin and log back in to clear the ACL list
4. Recompile if you are using the Magento Compiler

### Usage
## Usage

Go to **System > General Settings > Chatbot Settings**

Expand Down Expand Up @@ -47,7 +61,7 @@ Go to **System > General Settings > Chatbot Settings**
- Enabled Commands: List of Enabled Commands
- Commands List: Code of the commands and alias

# F.A.Q.
## F.A.Q.
**Q: When the other chatbots integrations are going to be ready?**

A: I'm not sure, I work in my free hours. I'm trying to finish it ASAP. Pull requests are very welcome.
Expand All @@ -60,8 +74,27 @@ A: I can try. Open a issue and I'll see what I can do.

A: Thank you! You can help by codding more features, creating pull requests, or donating using Bitcoin: **1BdL9w4SscX21b2qeiP1ApAFNAYhPj5GgG**

License
----
## TODO
- **Integrations:**
- Whatsapp
- WeChat
- wit.ai
- ???
- **Features:**
- Add compatibility with configurable products
- Add compatibility with products with custom options
- Add better usage of command alias
- Fix categories listing limits
- List only categories with products
- Store messages on database before sending to make sure it will be sent eventually
- Integrate checkout to Facebook Payment API
- Add inline search for Telegram
- Add natural language configuration (wit.ai?)
- Add a custom in-store chat message app
- Documentation / Tutorials / Videos
- Send message to all customers

## License
Free. Don't forget to star :D and send pull requests. :D

**Free Software, Hell Yeah!**
7 changes: 5 additions & 2 deletions app/code/community/Werules/Chatbot/Block/CommandsSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ class Werules_Chatbot_Block_CommandsSelect extends Mage_Core_Block_Html_Select
public function _toHtml()
{
$options = Mage::getSingleton('chatbot/options')->toOptionArray();
foreach ($options as $option)
if (!$this->getOptions())
{
$this->addOption($option['value'], $option['label']);
foreach ($options as $option)
{
$this->addOption($option['value'], $option['label']);
}
}

return parent::_toHtml();
Expand Down
Loading

0 comments on commit ab30b0f

Please sign in to comment.