Giter Site home page Giter Site logo

divanteltd / woocommerce2vuestorefront Goto Github PK

View Code? Open in Web Editor NEW
134.0 134.0 33.0 22 KB

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

JavaScript 100.00%

woocommerce2vuestorefront's People

Contributors

antonilchuk avatar pkarw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woocommerce2vuestorefront's Issues

cli.js products fail for products with custom attributes

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.

This setup procedure seems to be outdated

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.

Searching in products

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?

woocommerce multisite

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

Error in importing woocommerce categories

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]

Where should I clone this repository

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?

importing products issue

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.

Integrate locally.

I have wordpress and woocommerce installed locally, what is the procedure to connect vue-storefront with woocommerce using this tool?

Categories fetching issue

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.

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.