This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'), | |
router = express.Router(), | |
BigCommerce = require('node-bigcommerce'); | |
const bigCommerce = new BigCommerce({ | |
clientId: 'your Client Id from app registration', | |
secret: 'your Client Secret from app registration', | |
callback: 'https://your-ngrokURL/auth', | |
responseType: 'json' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'), | |
router = express.Router(), | |
BigCommerce = require('node-bigcommerce'); | |
const bigCommerce = new BigCommerce({ | |
secret: 'your Client Secret', | |
responseType: 'json' | |
}); | |
router.get('/', (req, res, next) => { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'), | |
router = express.Router(), | |
BigCommerce = require('node-bigcommerce'); | |
const bigCommerce = new BigCommerce({ | |
secret: 'Your Client Secret', | |
responseType: 'json' | |
}); | |
router.get('/', (req, next) => { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"quote_id": "sample_quote", | |
"messages": [], | |
"carrier_quotes": [ | |
{ | |
"carrier_info": { | |
"code": "usps_pitney_bowes", | |
"display_name": "USPS" | |
}, | |
"quotes": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function(win) { | |
'use strict'; | |
var listeners = [], | |
doc = win.document, | |
MutationObserver = win.MutationObserver || win.WebKitMutationObserver, | |
observer; | |
function ready(selector, fn) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { hooks } from '@bigcommerce/stencil-utils'; | |
import CatalogPage from './catalog'; | |
import $ from 'jquery'; | |
import FacetedSearch from './common/faceted-search'; | |
import InfiniteScroll from 'infinite-scroll'; | |
export default class Category extends CatalogPage { | |
loaded() { | |
function infiniteScroll() { | |
const elem = document.querySelector('.productGrid'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "cab646e2-e893-4328-a909-93fee3db682c", | |
"name": "BigCommerce Cart to Checkout to Order (Token) - TEMPLATE", | |
"values": [ | |
{ | |
"key": "my-email", | |
"value": "TODO", | |
"description": { | |
"content": "", | |
"type": "text/plain" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function(win) { | |
'use strict'; | |
var listeners = [], | |
doc = win.document, | |
MutationObserver = win.MutationObserver || win.WebKitMutationObserver, | |
observer; | |
function ready(selector, fn) { |
OlderNewer