Code Monkey home page Code Monkey logo

contao-isotope-simple-erp's Introduction

Contao Isotope Simple ERP

About

Most basic ERP system for Isotope eCommerce.

When bought, the products "availability" counter gets decreased. If configured, products will be automatically suppressed once no quantity is available.

If a product has a limited quantity configured the users won't be able to put more in their cart as there is in total.

There is a simple message in backend which lets you know how many products are currently unavailable.

System requirements

Installation & Configuration

  • Create a folder named isotope_simple_erp in system/modules
  • Clone this repository into the new folder
  • Run a database update via the Installtool
  • Make sure to activate Quantity available and Suppress on zero? in your product type

Additional step for Contao 4.X: Open app/AppKernel.php and add the following line to the $bundles array

new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('isotope_simple_erp', $this->getRootDir())

contao-isotope-simple-erp's People

Contributors

bennyborn avatar michb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

trcwebdesign

contao-isotope-simple-erp's Issues

Make variants share stock from parent product

Hello, I do use Contao 4.9.30 with Mate Isotope Theme, which is using Isotope eCommerce 2.7.* (according to composer.lock 2.7.4), running on PHP 7.4. The number of available items is not decreased after an order. There are no signs something is not working in the frontend. There are no log entries, too. Thx

Exception on payment

Thank you for this erp,
I receive an error on checkout (Contao 3.5.27 and Isotope 2.4.1. :

Fatal error: Uncaught exception LogicException with message The model instance has been detached and cannot be saved thrown in system/modules/core/library/Contao/Model.php on line 434

#0 system/modules/isotope_simple_erp/classes/SimpleERP.php(56): Contao\Model->save()
#1 system/modules/isotope/library/Isotope/Model/ProductCollection/Order.php(224): numero2\IsotopeSimpleERP\SimpleERP->updateProductCount(Object(Isotope\Model\ProductCollection\Order), Array)
#2 system/modules/isotope/library/Isotope/Model/Payment/Cash.php(38): Isotope\Model\ProductCollection\Order->checkout()
#3 system/modules/isotope/library/Isotope/Module/Checkout.php(165): Isotope\Model\Payment\Cash->processPayment(Object(Isotope\Model\ProductCollection\Order), Object(Isotope\Module\Checkout))
#4 system/modules/core/modules/Module.php(287): Isotope\Module\Checkout->compile()
#5 system/modules/haste/library/Haste/Frontend/AbstractFrontendModule.php(52): Contao\Module->generate()
#6 system/modules/isotope/library/Isotope/Module/Module.php(111): Haste\Frontend\AbstractFrontendModule->generate()
#7 system/modules/isotope/library/Isotope/Module/Checkout.php(109): Isotope\Module\Module->generate()
#8 system/modules/core/elements/ContentModule.php(59): Isotope\Module\Checkout->generate()
#9 system/modules/core/library/Contao/Controller.php(484): Contao\ContentModule->generate()
#10 system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#11 system/modules/core/modules/Module.php(287): Contao\ModuleArticle->compile()
#12 system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()
#13 system/modules/core/library/Contao/Controller.php(417): Contao\ModuleArticle->generate(false)
#14 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')
#15 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')
#16 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#17 index.php(20): Contao\FrontendIndex->run()
#18 {main}
How can I fix it?
Thank you.

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.