Giter Club home page Giter Club logo

rfq's Introduction

Request for Quotation Plug-In

A Request For Quotation (RFQ) interface can be created that permits the buyers to request sellers to offer quotes on a particular item or service. This can be done with the correct set of APIs, custom fields and tables which are identified here.

This sample code is a very basic example of how an RFQ experience can be created for buyers and sellers of a marketplace. The source code's structure is intended to run on an Arcadier Marketplace as a Plug-In.

The CSS and other UI aspects can be easily modified to match your own requirements.

The same sequence of APIs and user flows and be used to recreate the RFQ UX on an external CMS or external web page.

RFQ flow

proposedRFQ-03

The 4 main events of this flow are as follows:

  • A buyer logs in with the intention of creating an RFQ
  • A seller logs in with the intention to view new RFQs and submite a quote for one or more of them
  • The buyer logs in to view different quotes submitted by different sellers for their RFQs
  • The buyer accepts one of them and initiates the Arcadier quotation and requisition flow.

Features created by the Plug-In

For the buyer

Two links are created for the buyer:

  • Create RFQ
  • View Proposals

Both of these link to 2 custom pages created via the plugin: /user/create_RFQ.php and /user/view_propsals.php.

create_RFQ.php contains a form to collect inputs from the buyer, and save that input in a custom table called Submitted_RFQs, using Custom Table APIs

view_proposals.php also uses Custom Table APIs to fetch data from a custom table called accepted_RFQs, which contains proposals from sellers who accepted an RFQ.

For the seller

One new link and one custom page

  • View RFQs (link)
  • /user/merchant_accept_RFQ.php

/user/view_RFQ.php fetches data from theSubmitted_RFQs table and displays them for the seller to see.

Once a seller chooses to submite a quote for an RFQ, merchant_accept_RFQ.php opens up and displays a form to collect data from the seller and save it in a custom table called accepted_RFQs.

Video Demo

RFQ flow - Watch Video

Installation

Composer

This Plug-In uses Arcadier's PHP SDK to function. You can install SDK via composer using the following command line:

composer require arcadier/arcadier-php

๐Ÿ’ก Getting Started

Once the SDK is installed in your directory, find the .env file in the vendor/arcadier/arcadier-php/src and input the values that are empty.

Once done, zip the admin, user, and vendor folders together and upload them to your sandbox dashboard to view the plug-in at work.

๐Ÿ”จ List of APIs being used in this project:

API Documentation

View our full API collection on Postman here.

rfq's People

Contributors

tanoojoy avatar

Watchers

 avatar  avatar

Forkers

cttrs

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.