Git Product home page Git Product logo

erpnext_woocommerce_sync's Introduction

Woocommerce Erpnext https://ovresko.com/

based on https://github.com/ashish-greycube/woocommerce_erpnext

2Way Integration between WooCommerce and ERPNext

Items, Order, Order Status, Stock level, changes:

  • Update order status after delivery note submit=> completed or cancel=> cancelled
  • update item image once
  • actual stock quantity updated on daily schedule
  • added fields (sku, handle stock, Stock Qty based on warehouse in woo settings, favorite)

Install:

  • Install with bench get-app / bench install-app
  • Add Custom fields in Woocommerce Settings : -Price List / Link / price_list -Price List / Link / promo_price_list (for promo prices)

Order Sync replace the used in https://github.com/frappe/erpnext/blob/develop/erpnext/erpnext_integrations/connectors/woocommerce_connection.py with content of file new_connector.py

  • To put sync (custom) button in "Woocommerce Settings", to sync all items.
  • On Save of Individual Item, sync Item from ERPNext to Woocommerce ( through the code attached below )
  • While saving individual item in ERPNext, check if the item exist in woocommerce, if yes update else create new
  • To check if the direct web link for the item images from erpnext

add custom script for Woocommerce Settings doctype. can be exported as fixture

frappe.ui.form.on('Woocommerce Settings', {
	refresh(frm) {
    frm.add_custom_button(__("Sync Items to WooCommerce"), () => {
      frappe.call({
        method: "woocommerce_erpnext.woo_connector.sync_all_items"
      });
    });
	}
})

License

MIT

erpnext_woocommerce_sync's People

Contributors

ovresko 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.