Giter Site home page Giter Site logo

camaleon-ecommerce's Introduction

E-Commerce Plugin

Simple E-Commerce Plugin for Camaleon CMS.
This is a simple E-Commerce plugin that permits to start selling in about 10 minutes, because it takes advantage of all features of Camaleon CMS to easy management by admin panel.

Installation

gem 'camaleon_ecommerce', github: 'owen2345/camaleon-ecommerce'
# gem 'rexml', '~> 3.2', '>= 3.2.4' # if failed with "cannot load such file -- rexml/document"
  • In your console
bundle install
  • Run migrations
rake camaleon_cms:generate_migrations
rake db:migrate
  • Add //= link plugins/ecommerce/admin_product.js to app/assets/config/manifest.js (Only rails 5+)
  • Restart server
rails s

Configurations

  • Navigate and activate the plugin in http://localhost:3000/admin -> plugins -> ecommerce
  • Configure your store
    • Payment Methods
    • Shipping Methods
    • Tax Rates
    • Product Attributes (Optional)
    • Create Products, Categories for products
    • Add your product to your menus (Optional)
    • Create your coupons (Optional)
  • Start Selling on http://localhost:3000

Features

Requirements

  • Camaleon CMS >= 2.4.4.3

Demonstrations

  • Example
    http://store-owen1.tuzitio.com/
    Test accounts:
    Authorize.net: 370000000000002 | 09-2019 | 1234
    Stripe: 4242424242424242 | 09-2019 | 123
  • You can create your custom demonstration by the following

More information here.
Sample theme: here

Author

Owen Peredo Diaz

License

http://camaleon.tuzitio.com/license.html

Contributing

  • Fork it.
  • Create a branch (git checkout -b my_feature_branch)
  • Commit your changes (git commit -am "Added a sweet feature")
  • Push to the branch (git push origin my_feature_branch)
  • Create a pull request from your branch into master (Please be sure to provide enough detail for us to cipher what this change is doing)

camaleon-ecommerce's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

camaleon-ecommerce's Issues

uninitialized constant CamaleonCms::TermTaxonomy with version 0.2

I am getting below error if I use camaleon-ecommerce plugin 0.2

uninitialized constant CamaleonCms::TermTaxonomy

Application Trace | Framework Trace | Full Trace

/Users/mazharoddin/.rvm/gems/[email protected]/bundler/gems/camaleon-ecommerce-e6f473f83936/app/models/plugins/ecommerce/order.rb:9:in `<top (required)>'
/Users/mazharoddin/.rvm/gems/[email protected]/bundler/gems/camaleon-ecommerce-e6f473f83936/app/helpers/plugins/ecommerce/ecommerce_helper.rb:170:in `ecommerce_on_active'
camaleon_cms (1.0.6) app/helpers/hooks_helper.rb:46:in `rescue in block in _do_hook'
camaleon_cms (1.0.6) app/helpers/hooks_helper.rb:41:in `block in _do_hook'

I installed this plugin as gem by adding to Gemfile, but 0.1 version plugin was working without any issues

Cash on deliver option

Hi @owen2345 ,
Can you please implement cash on deliver option, so that users no need to pay at the time of buying, but later they can pay once product is arrived.
Here are some screen shot for cash on deliver (COD).

screen shot 2016-07-18 at 14 32 08

screen shot 2016-07-18 at 14 35 17

Data field info on product form

Hi,
Data field info getting displayed on product form with Camaleon-2.0.4.1 and camaleon-ecommerce version 0.6, please find below screen shot for more details, also I feel it would be better if we rename attributes value to specifications or some thing similar, so that it would be easy for user to enter those details.
screen shot 2016-01-01 at 20 02 51

PayU.in payment GW support

Hi @owen2345,
Can you please provide PayU.in payment gateway support during checkout, currently this is only free payment gateway for Indian customers, it would be great help if you can add support for PayU.in, since we can't use paypal, stripe etc payment Gateways.
Here is the official repository of PayU.in.
[email protected]:payu-india/PayU-Integration-Kit-ROR.git

Show only latest order count

Hi @owen2345,
I feel its better to show only latest order count, instead of showing all orders count.
Currently all orders count is shown here, instead of that showing the count for new orders will be helpful to know new orders quickly.
screen shot 2016-08-27 at 12 29 54 pm

In settings page "Currency unit" should be "Weight unit"

I think this is a bug, in the settings I see that it says "Currency unit" and list units like "kilogram". So, I think instead it should say "Weight unit".

I'm using version camaleon_ecommerce (2.0.3).
Screenshot attached.
screenshot

Taxes per product

Hi!

Somebody uses the taxes per product?
I'm thinking to change this feature.
In WooCommerce for example, the taxes are calculated for country, state... see the screenshot.

c26z

Are there any objections?
Regards.

Google finance url no longer works

Hi, Google finance url no longer works and the method e_finance_exchange_converter in ecommerce_functions_helper.rb throws an exception because this call returns nil:

res = open("https://finance.google.com/finance/converter?a=1&from=#{args[:from]}&to=#{args[:to]}").read

Is there an alternative to solve it ?
Thanks

Database issue with MySql

I use the e-commerce plugin with an MySql database at production mode. I used your script to migrate it from sqlite to mysql. Now the shop produces an error --> no implicit conversion of Symbol into Integer. The error cause on every part where the currency should be show at the frontend.

If i change back to sqlite all things work fine.

I hope you can help me to solve the problem fast, working with sqlite at production-mode takes a lot of time for database communication.

Many thanks!

Allow guest users to add to cart and checkout

I am unable to checkout/add to cart as guest, I am re-routed to login page if I click on add to cart button if I am not logged in, but we should allow unregistered users to add to cart and proceed with checkout.
Moreover login page is not showing register option show that users can register if they wanted to buy product by registering the site.

Add Stripe as a payment method

Any plans to add Stripe as a payment method? We will be working on it in the coming months, but if you guys already have it planned, I wouldn't want to duplicate effort.

ninitialized constant Plugins::Ecommerce::ProductDecorator::UserProductService error with latest commit

Hi,
I am getting below error with latest commit.

uninitialized constant Plugins::Ecommerce::ProductDecorator::UserProductService
            <div class="purchase">
                <% if @post.in_stock? %>
                    <% if @post.the_qty_real.to_i > 0 %>
                        <%= form_tag(plugins_ecommerce_checkout_cart_add_path, :method => "post", :class => "form") do %>
                            <div class="input-group">
                                <span class="input-group-addon">Qty: </span>
app/apps/themes/e_shop/views/post_types/commerce/single.html.erb:35:in `_app_apps_themes_e_shop_views_post_types_commerce_single_html_erb___536506145151137213_70196084205220'

Local I18n not display correctly

I use the default theme of camaleon. At the production show page at extra attribute widget it show show attribute like t('plugin.ecommerce.product.sku') or t('plugin.ecommerce.product.price')

Implement List price and sale price for offers

Hi,
I feel it would be better if we have option to show offer for individual product, most of the ecommerce solutions will have list price and sale price, so that we can display offer in % or in currency.
screen shot 2016-08-31 at 4 46 00 pm
Above one is from shipify, which looks simple and easy to use
Below one is from Magento, I guess it is complex and adds confusion, so we can have something similar to Shopify.
screen shot 2016-08-31 at 4 47 42 pm
Idea is to show offer details as below below.
screen shot 2016-08-31 at 4 51 36 pm
screen shot 2016-08-31 at 4 50 45 pm
screen shot 2016-08-31 at 4 52 06 pm

What you guys feel..

No Product model

The Product model is missing in the current version of camaleon-ecommerce which makes it very annoying to query products in the database.

Unable to change ecommerce plugin settings

Hi,
I upgraded commerce plugin to 0.2, but now I am unable to change ecommerce plugin settings locally using config/config.json file, in 0.1 version I could easily change ecommerce setting by creating/duplicating config.json file at app/apps/plugins/ecommerce/config directory, but in 0.2 version I am unable to change ecommerce plugin settings though I created conig.json file locally at plugins directory, please let me know I can do this in 0.2 version.

Also I am unable add Indian rupee currency in 0.2 version, in 0.1 version I added Indian rupee currency by modifying currency_en.json file in config directory as below. Please let me know how I can do it in 0.2 version. Thanks.

"INR": {
    "symbol": "₹",
    "name": "Indian Rupee",
    "symbol_native": "₹",
    "decimal_digits": 2,
    "rounding": 0,
    "code": "INR",
    "name_plural": "Indian Rupees"
  },

Plugin to gem

Hi!

They plans to make changes in the plugin to become a gem plugin?

Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.