Coder Social home page Coder Social logo

mybooking-html-simple-sample's Introduction

Mybooking reservation process - Boiler plate html example

Copy the repository to a folder and open the 'index.html' file

Please note that you need to have a Mybooking customer ID and api key.


For more information: https://docs.mybooking.es/motor-de-reservas/desarrolladores/#introduccion


IMPORTANT

  •  For it to work you need a configuration file, create a 'init-vars.js' file inside assets > js dir with a structure similar to this:

      const mybooking_init_vars = {
      		"mybooking_site_url": "",
      		"mybooking_api_url_prefix": "https://[ACCOUNT_ID].mybooking.es",
      		"mybooking_account_id": "[ACCOUNT_ID]",
      		"mybooking_api_key": "[API_KEY]",
      		"mybooking_choose_products_page": "search-result.html",
      		"mybooking_checkout_page": "checkout.html",
      		"mybooking_summary_page": "summary.html",
      		"mybooking_terms_page": null,
      		"mybooking_detail_pages": "",
      		"mybooking_detail_pages_url_prefix": "products",
      		"mybooking_selector_in_process": "form",
      		"mybooking_phone_utils_path": "./assets/js/intlTelInput-utils.js",
      		"mybooking_custom_loader": "false",
      		"mybooking_js_select2": "false"
      };
    

mybooking-html-simple-sample's People

Watchers

mybooking avatar

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.