/** * SUBDOMAIN vairalbe for testing purpose for developer mode * It will work wehen, IS_SINGLE_SITE == false * Example: * var SUBDOMAIN = 'teststore02' */ var SUBDOMAIN = ''; var IS_SINGLE_SITE = true; var CURRENT_DOMAIN = 'rentmy-rsk.leaperdev.rocks'; // we getting subdomain by split this var DOMAIN = 'http://mountainthreads.com'; var PAGES_ROUTE_PATHS = { products_list: "/products-list", products_list_by_category: "/category/{uuid}/{url}", product_details: "products/{url}", // ------- Approved Pattern --- for SEO package_details: "package/{url}", // ------- Approved Pattern --- for SEO cart: "cart", checkout: "checkout", login: "customer-login", registration: "customer-registration", partner_login: "/client/login", partner_registration: "/client/sign-up", reset_password: "customer-reset-password", customer_profile: "customer-profile", customer_change_password: "customer-change-password", customer_change_avatar: "customer-change-avatar", customer_order_history: "customer-order-history", customer_order_dashboard: "customer-order-dashboard", customer_billing: "customer-billing", order_details: "customer-order-details", order_complete: "order-complete", wish_list: "wish-list", }; // Client specified routes var OTHER_PAGES_ROUTES = { home: { title: "Home", file: "/pages/home.html", path: "/", meta: { title: 'The #1 Equipment Rental Software', description: '', keywords: '', imageUrl: '', } /** * in meta key, you can object with (title, description, keywords, imageUrl) * or you can pass 'string' key accroding to meta.js file, store wise hard coded meta stucture * * Exmaple: 1 * meta: { title: '', description: '', keywords: '', imageUrl: '', } ---- or ---- meta: 'pass key from meta.js' */ }, sitemap: { title: "sitemap", file: "/pages/sitemap.html", path: "/sitemap", }, }; var storeObject = { vgc: { store_id: "982", locationId: "3431", store_name: "vivian-grace-creations", access_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRlIjoiMjAyNC0wNy0xMCAwNToxOTozNiIsInN0b3JlX2lkIjozNDMxLCJzdG9yZV91aWQiOiI5NTA4ZGYxODNlZTAxMWVmOGYwZDAyM2QwYzYzNDI2OSIsInN0b3JlX25hbWUiOiJsYWloYnh6OGlxdTgwNCIsInNvdXJjZSI6Im9ubGluZSIsImlzX29ubGluZSI6MSwibG9jYXRpb24iOjM2NzR9.bb7Ojw_P__4ZoRKx0s7faHl7efQMiLPfL4JTQ27bc9s", }, wix: { store_id: "3431", locationId: "3674", store_name: "outhouse", access_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwidXNlcl90eXBlX2lkIjoxLCJuYW1lIjoiTW9oc2luIEthYmlyIiwiZW1haWwiOiJtbGVhcGluZ0BsZWFwaW5nbG9naWMuY29tIiwiZGF0ZSI6IjIwMjQtMDctMzAgMTE6NTU6MDAiLCJjb21wYW55X2lkIjozLCJzdG9yZV9pZCI6MzQzMSwic3Vic2NyaXB0aW9uIjp7ImFjY291bnRfdHlwZSI6IkZSRUUiLCJpc01vbnRobHkiOnRydWUsImlzQWN0aXZlIjpmYWxzZSwiY2FyZCI6ZmFsc2UsIm5ld0ludmVudG9yeSI6ZmFsc2V9LCJzb3VyY2UiOiJhZG1pbiIsImxvY2F0aW9uIjozNjc0fQ.y5vwsr6wzDgL9-XC5X5DIUphQRi0XqBn4LM3Gww0fTw", }, teststore09: { store_id: "590", locationId: "647", store_name: "teststore09", access_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwidXNlcl90eXBlX2lkIjoxLCJuYW1lIjoiTW9oc2luIEthYmlyIiwiZW1haWwiOiJtbGVhcGluZ0BsZWFwaW5nbG9naWMuY29tIiwiZGF0ZSI6IjIwMjQtMDgtMjkgMDY6MTE6MTQiLCJjb21wYW55X2lkIjozLCJzdG9yZV9pZCI6NTkwLCJzdWJzY3JpcHRpb24iOnsiYWNjb3VudF90eXBlIjoiRVNUQUJMSVNIRUQiLCJpc01vbnRobHkiOnRydWUsImlzQWN0aXZlIjp0cnVlLCJjYXJkIjpmYWxzZSwibmV3SW52ZW50b3J5Ijp0cnVlfSwic291cmNlIjoiYWRtaW4iLCJsb2NhdGlvbiI6NjQ3fQ.SxjXX1OChku8pcSJjz-7a5N1GX6lJ6FHbQQ_QymaLcg", }, teststore17: { store_id: "782", locationId: "841", store_name: "teststore01", access_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwidXNlcl90eXBlX2lkIjoxLCJuYW1lIjoiTW9oc2luIEthYmlyIiwiZW1haWwiOiJtbGVhcGluZ0BsZWFwaW5nbG9naWMuY29tIiwiZGF0ZSI6IjIwMjQtMDgtMjkgMDY6Mjk6MzEiLCJjb21wYW55X2lkIjozLCJzdG9yZV9pZCI6NzgyLCJzdWJzY3JpcHRpb24iOnsiYWNjb3VudF90eXBlIjoiUFJPIiwiaXNNb250aGx5Ijp0cnVlLCJpc0FjdGl2ZSI6ZmFsc2UsImNhcmQiOmZhbHNlLCJuZXdJbnZlbnRvcnkiOnRydWV9LCJzb3VyY2UiOiJhZG1pbiIsImxvY2F0aW9uIjo4NDF9.3uu2WWWgSZlMHHhYIWtyuTgBkAHZfJZF17s9VNjb4Oo", }, exquisite: { store_id: "2162", locationId: "2307", store_name: "exquisite-costumes", access_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyNjkzLCJkYXRlIjoiMjAyNC0xMi0xOSAxMzozMDoxOCIsInN0b3JlX2lkIjoyMTYyLCJsb2NhdGlvbiI6MjMwNywiYXBwX2lkIjo1MDgsImV4cGlyZSI6IjIwMjQtMTItMjAgMTM6MzA6MDAiLCJpc19vbmxpbmUiOjAsInNvdXJjZSI6ImFwaSIsImRpc2FibGVfZGVmYXVsdF90aW1lIjpmYWxzZX0.GbYJjOcLezLw_z7GKGuf6fX-nSmy_WAqtPhpSAHxp3s", }, cityStash: { store_id: "3805", locationId: "4076", store_name: "jtvlajb7d0o48r", access_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRlIjoiMjAyNS0wNC0wNCAxMTozNTozMyIsInN0b3JlX2lkIjozODA1LCJzdG9yZV91aWQiOiJlYjVhMWJiZDExNDgxMWYwYjQyZTAyMzA0YWE1ZDBhMyIsInN0b3JlX25hbWUiOiJqdHZsYWpiN2QwbzQ4ciIsInNvdXJjZSI6Im9ubGluZSIsImlzX29ubGluZSI6MSwibG9jYXRpb24iOjQwNzZ9.BgfQoJvcBkVD2MqqKsOr28FvMTEfnMip_TUjssqxiTY", }, mountain: { store_id: "3893", locationId: "4166", store_name: "mountainthreads", access_token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRlIjoiMjAyNS0wNS0yMSAwOTowMzo1OCIsInN0b3JlX2lkIjozODkzLCJzdG9yZV91aWQiOiIxZDA2MGZhOTM2ODcxMWYwYjQyZTAyMzA0YWE1ZDBhMyIsInN0b3JlX25hbWUiOiJtZDdhZXFvbHJzMGhudiIsInNvdXJjZSI6Im9ubGluZSIsImlzX29ubGluZSI6MSwibG9jYXRpb24iOjQxNjZ9.bDvBW2x3r3Q-NXBU0xEUUksRVyWRJFFGXZI-GLnao8o", }, }; var RENTMY_GLOBAL = { IS_SINGLE_SITE, CURRENT_DOMAIN, SUBDOMAIN, // ...storeObject.vgc, // ...storeObject.wix, ...storeObject.mountain, // ...storeObject.teststore17, // ...storeObject.exquisite, env: { // optional PORT: 8080, CSS_URL: "/css/index.css", SCRIPT_URL: "/js/script_prod.js", DATEPICKER_SCRIPT_URL: "/js/em-datetimepicker.min.js", // CSS_URL: "https://s3.us-east-2.amazonaws.com/cdn.rentmy.co/wp/index.css", // SCRIPT_URL: "https://s3.us-east-2.amazonaws.com/cdn.rentmy.co/wp/script_prod.js", // DATEPICKER_SCRIPT_URL: "https://s3.us-east-2.amazonaws.com/cdn.rentmy.co/wp/em-datetimepicker.min.js", /* === new === */ // CSS_URL: "http://localhost:4444/assets/index.css", // developer local url // SCRIPT_URL: "http://localhost:4444/assets/script_prod.js", // developer local url // DATEPICKER_SCRIPT_URL: "http://localhost:4545/assets/em-datetimepicker.min.js", // developer local url // API_BASE_URL : "https://api.rentmystag1ng.com/api/", //------------- optional // ASSET_URL : "https://s3.us-east-2.amazonaws.com/pimg.rentmy.co/", //------------- optional PAYMENT_DOMAIN: "", //------------- optional CACHE_TIME_IN_SECONDS: 600, }, emDateTimePicker: { /* ------------------------------------------- */ /* Details Page */ /* ------------------------------------------- */ // End Date config detailsPage_endDatePicker_displayIn: "modal", //required for wix detailsPage_useRangePicker_for_endDate: true, //required for wix detailsPage_endDate_allowRightSideTimePicker: true, //required for wix /* ------------------------------------------- */ /* In Page Cart Widget */ /* ------------------------------------------- */ afterAddtoCart_open_widget_datePicker: false, }, home_url: "/", product_pacakge_by_slug: true, // required for node server contents: { pages: true, navigation: true, use_dynamic_labels: true, }, page: { ...PAGES_ROUTE_PATHS, }, routes: { products_list: { title: "Products List", file: "products-list.html", path: PAGES_ROUTE_PATHS.products_list, }, ...(!PAGES_ROUTE_PATHS?.products_list_by_category ? {} : { products_list_by_category: { title: "Products List By Category", file: "products-list.html", path: PAGES_ROUTE_PATHS?.products_list_by_category, }, }), product_details: { title: "Product Details", file: "product-details.html", path: PAGES_ROUTE_PATHS.product_details, }, package_details: { title: "Package Details", file: "package-details.html", path: PAGES_ROUTE_PATHS.package_details, query: ["uid"], }, cart: { title: "Cart", file: "cart.html", path: PAGES_ROUTE_PATHS.cart, }, checkout: { title: "Checkout", file: "checkout.html", path: PAGES_ROUTE_PATHS.checkout, }, login: { title: "User Login", file: "customer-login.html", path: PAGES_ROUTE_PATHS.login, }, registration: { title: "User Registration", file: "customer-registration.html", path: PAGES_ROUTE_PATHS.registration, }, partner_login: { title: "Partner Login", file: "partner-login.html", path: PAGES_ROUTE_PATHS.partner_login, }, partner_registration: { title: "Partner Sign Up", file: "partner-registration.html", path: PAGES_ROUTE_PATHS.partner_registration, }, reset_password: { title: "Reset Password", file: "customer-reset-password.html", path: PAGES_ROUTE_PATHS.reset_password, }, customer_profile: { title: "Profile", file: "customer-profile.html", path: PAGES_ROUTE_PATHS.customer_profile, }, customer_change_password: { title: "Update Password", file: "customer-change-password.html", path: PAGES_ROUTE_PATHS.customer_change_password, }, customer_change_avatar: { title: "Change Avatar", file: "customer-change-avatar.html", path: PAGES_ROUTE_PATHS.customer_change_avatar, }, customer_order_history: { title: "Order History", file: "customer-order-history.html", path: PAGES_ROUTE_PATHS.customer_order_history, }, customer_order_dashboard: { title: "Order Dashboard", file: "customer-dashboard.html", path: PAGES_ROUTE_PATHS.customer_order_dashboard, }, customer_billing: { title: "Customer Billing", file: "customer-billing-details.html", path: PAGES_ROUTE_PATHS.customer_billing, }, order_details: { title: "Order Details", file: "customer-order-details.html", path: PAGES_ROUTE_PATHS.order_details, }, order_complete: { title: "Order Complete", file: "order-complete.html", path: PAGES_ROUTE_PATHS.order_complete, }, wish_list: { title: "Wish list", file: "wish-list.html", path: PAGES_ROUTE_PATHS.wish_list, }, blog: { title: "blog", file: "/blog.html", path: "/blog", meta: { title: "VGC Blog - Vivian Grace Creations", description: `Blog Page Contents`, }, limit: 10, }, what_to_wear: { title: "what to wear", file: "/pages/what-to-wear.html", path: "/what-to-wear", }, how_it_works: { title: "how it works", file: "/pages/how-it-works.html", path: "/how-it-works", }, reviews: { title: "reviews", file: "/pages/reviews.html", path: "/reviews", }, contact_us: { title: "contact-us", file: "/pages/contact-us.html", path: "/contact-us", }, plan_your_trip: { title: "plan-your-trip", file: "/pages/plan-your-trip.html", path: "/plan-your-trip", }, shoes_size_chart: { title: "shoes-size-chart", file: "/pages/shoes-size-chart.html", path: "/shoes-size-chart", }, clothing_size_charts: { title: "clothing-size-charts", file: "/pages/clothing-size-charts.html", path: "/clothing-size-charts", }, faq: { title: "faq", file: "/pages/faq.html", path: "/faq", }, faq: { title: "about", file: "/pages/about-us.html", path: "/about-us", }, size_chart_one: { title: "size-chart-one", file: "/pages/size-chart-one.html", path: "/size-chart-one", }, size_chart_two: { title: "size-chart-two", file: "/pages/size-chart-two.html", path: "/size-chart-two", }, singleBlog: { title: "sitemap", // file: "/pages/blog-details.html", path: "/blog/{page_slug}", rentmy_page: true, }, ...OTHER_PAGES_ROUTES, }, }; ;