Giter VIP home page Giter VIP logo

mechanize-store's Introduction

MechanizeStore

This project rocks and uses MIT-LICENSE.

Using custom layouts in default interface

If you want customize laura layout, add this line above to your application.rb in you config.

config.to_prepare do
    MechanizeStore::ApplicationController.layout "yourlayoutname"
end

Your layout must have paths with this notation, or it will not works. Ex:

main_app.root_path

Creates a yield for menu actions called :right. Ex:

<ul>
    <%= yield(:right) %>
</ul>

These project was created to encapsulate a commom models of an MechanizeStore application, these model are:

  • Flag (For credit cards flag)

    - name
    
  • ProductCategory

    - name
    
  • Product

    - name
    - price
    - description
    - short_description
    - weight
    - height
    - length
    - product_category_id
    
  • ProductPhoto

    - file (a paperclip attachment)
    - product_id
  • Payment

    - payable (a polymorphic association)
    - value
    - paid_value
    - paid_in
    - flag_id
    - payment_status
    - payment_type
  • Order

    - order_status
    - store
    - delivery_date
    
  • Store

    - name
    - url 
    - key
    

Add mechanize_store as a gem in your product:

gem 'mechanize-store'

Next execute this command in your terminal:

rake mechanize_mechanize_store:install:migrations

mechanize-store's People

Contributors

wilbert avatar luankjs avatar

Watchers

James Cloos avatar Gushul Oleg avatar

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.