divanteltd / woocommerce2vuestorefront Goto Github PK
View Code? Open in Web Editor NEWThis is WooCommerce to Vue Storefront data bridge. Harness the power of Progressive Web Apps for Your Woo Commerce shop!
Home Page: https://vuestorefront.io
This is WooCommerce to Vue Storefront data bridge. Harness the power of Progressive Web Apps for Your Woo Commerce shop!
Home Page: https://vuestorefront.io
Description
When running node cli.js products
an exception is thrown.
How to recreate
To recreate this try importing a variation product with a custom product attribute.
More details
By looking at the code it seems that is trying to find the custom attribute on the products attributes catalog (which it doesn't exist).
It does exist on the parent product.
When running yarn restore
{ _index: 'vue_storefront_catalog_temp',
_type: 'cms_block',
_id: '3',
status: 400,
error:
{ type: 'illegal_argument_exception',
reason: 'Rejecting mapping update to [vue_storefront_catalog_temp] as the final mapping would have more than 1 type: [cms_block, product]' } }
When running yarn migrate
Elasticsearch DEBUG: 2019-03-14T16:53:16Z
Request complete
(node:16407) UnhandledPromiseRejectionWarning: Error: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [product, taxrule] :: {"path":"/vue_storefront_catalog/_mapping/taxrule","query":{},"body":"{"properties":{"id":{"type":"long"},"rates":{"properties":{"rate":{"type":"float"}}}}}","statusCode":400,"response":"{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [product, taxrule]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [product, taxrule]"},"status":400}"}
at db.indices.putMapping.then.catch.err2 (/Users/ramimustaklem/Sites/vue-storefront-api/src/lib/elastic.js:177:13)
at
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:16407) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:16407) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Is there someone assigned for this project?
Interesting package. Does it support searching in products with their attributes and categories? And also, does it return filters available for current search, like the normal Wordpress archive page does?
Hi i've a wordpress multisite.
In this i have many woocommerce in unique database. Any table have wp_'site-prefix'_TABLENAME (WP_4_OPTIONS)
Can i migrate my business on vue storefront? thank for attention
Categories are rejected due to some error in processing.
gaurav@gaurav-Inspiron-7560:~/woocommerce2vuestorefront$ nodejs cli.js categories
2019-11-27 23:20:34 info: categories are being imported...
2019-11-27 23:20:37 info: I'm sending (880)...
2019-11-27 23:20:37 info: I'm sending (876)...
2019-11-27 23:20:37 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:37 info: I'm sending (2020)...
2019-11-27 23:20:37 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:37 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:37 info: I'm sending (883)...
2019-11-27 23:20:37 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:37 info: I'm sending (2018)...
2019-11-27 23:20:37 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:37 info: I'm sending (877)...
2019-11-27 23:20:37 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:37 info: I'm sending (879)...
2019-11-27 23:20:37 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:37 info: I'm sending (2019)...
2019-11-27 23:20:38 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:38 info: I'm sending (882)...
2019-11-27 23:20:38 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
2019-11-27 23:20:39 info: I'm sending (779)...
2019-11-27 23:20:39 warn: [illegal_argument_exception] Rejecting mapping update to [vue_storefront_catalog] as the final mapping would have more than 1 type: [attribute, category]
I prepared Vue Store Front API and VueStoreFront.
I am following the github readme.
And there is "Configure WooCommerce REST API connection" section.
But where should I clone this repository? Which folder?
I suggest to include documentation of how to connect VSF with WooCommerce into general VSF doc.
trying to import products using
node cli.js products
but no product is imported rather some warning appears for each product. and the warning is something like this
2019-09-11 12:28:45 warn: [mapper_parsing_exception] failed to parse [created_at]
2019-09-11 12:28:46 warn: [mapper_parsing_exception] failed to parse [created_at]
2019-09-11 12:28:46 warn: [mapper_parsing_exception] failed to parse [created_at]
2019-09-11 12:28:46 warn: [per_parsing_exception] failed to parse [created_at]
2019-09-11 12:28:46 warn: [mapper_parsing_exception] failed to parse [created_at]
I'm sure its coming from elastic search but not sure how to fix it.
I have wordpress and woocommerce installed locally, what is the procedure to connect vue-storefront with woocommerce using this tool?
Is this project still suported?
Is this project supposted to be used in production?
Hi, how to deploy in Netlify? Do you have documentation for deploying in Netlify?
I have fetched the categories using cli.js categories
but doesn't appear like what I have in the Wordpress, for example, parent categories not fetched, Childs are some fetched some not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.