Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Interactivated/vsf-wholesale-request

:airplane: Request for quotation (RFQ) integration to Vue Storefront
https://github.com/Interactivated/vsf-wholesale-request

Last synced: 4 days ago
JSON representation

:airplane: Request for quotation (RFQ) integration to Vue Storefront

Awesome Lists containing this project

README

        

# Wholesale Request module
Request for quotation (RFQ) integration to Vue Storefront

![Demo](docs/demo.png)
![Demo Button](docs/demo-button.png)

# Installation

```shell
git clone [email protected]:Interactivated/vsf-wholesale-request.git vue-storefront/src/modules/wholesale-request
```

```
"wholesale": {
"endpoint": "https://localhost:8080/api/ext/wholesale"
},
```

```
"extensions": {
...
"wholesale": {
"transport": {
"from": "[email protected]",
"to": "[email protected]",
"host": "email-smtp.eu-west-1.amazonaws.com",
"port": 465,
"secure": true,
"user": "",
"pass": ""
}
}
},
```

# Module registeration

Go to `storefront/src/modules/index.ts`

```js
...
import { WholesaleRequest } from './wholesale-request';

export const registerModules: VueStorefrontModule[] = [
...,
WholesaleRequest
]
```

# Integration to theme

Open your `storefront/src/themes/default/pages/Product.vue`

```js


Request an offer for large quantities

...
import WholesaleRequest from '@interactivated/wholesale-request/components/Request.vue'

export default {
components: {
...,
WholesaleRequest
},
mixins: [... WholesaleRequest],
...
}

```