DevGroup-ru / dotplant2

E-Commerce CMS - Yii Framework 2 (yii2, shop)
http://dotplant.ru/
Other
640 stars 253 forks source link

Add ability to customizing import/export process #371

Closed m0r1arty closed 4 years ago

m0r1arty commented 7 years ago

Examples: for process custom price list xlsx and/or customizing order item of fields/properties

m0r1arty commented 7 years ago

JS bug in @app/modules/image/widgets/ImageDropzone.php current code make JS part of page: "previewsContainer":"#w7","url":["upload"],"paramName":"file"}); then Dropzone.uploadFiles call XMLHttpRequest.open with url === ["upload"] but in 'debug' extension:

   XMLHttpRequest.prototype.open = function (method, url, async, user, pass) {
        var self = this;
        /* prevent logging AJAX calls to static and inline files, like templates */
        if (url.substr(0, 1) === '/' && !url.match(new RegExp("{{ excluded_ajax_paths }}"))) {

raise Error "TypeError: url.substr is not a function"

bethrezen commented 7 years ago

As dropzone bug does not relate to current pull request (import/export) - please split it to another PR.

m0r1arty commented 7 years ago

Done?