Skip to content

Instantly share code, notes, and snippets.

View 1903-development-team's full-sized avatar

Agency 1903 1903-development-team

View GitHub Profile
@1903-development-team
1903-development-team / _customer.js
Created June 15, 2023 14:42
Revised _customer.js file that blocks the display of cancelled subscriptions along w/ non-ohana boxes.
const rc_container = document.getElementById('recharge_add_to_upcoming')
const sub_form = document.getElementById('upcoming_subscriptions')
const sub_add_btn = document.getElementById('add_to_subscription')
const variant_selector = document.getElementById('productSelect-1')
const adding_loader = document.getElementById('adding_to_')
const available_content = document.getElementById('available-add-on')
const success_content = document.getElementById('add-on-success')
const ohana_skus = [
'30900',
export const newModules = {
global: `
_type,
_key,
"slug": slug.current,
`,
grid: `
_type == 'grid' => {
_type,
_key,