Asian Pacific American Medical Student Association: APAMSA Asian Pacific American Medical Student Association https://www.apamsa.org
Association of Women Surgeons
Black Men in White Coats
Business & Medicine
Cardiovascular Interest Group
Caribbean Medical Student Association
Delta Mu Chi, Inc.
Dermatology Student Society
Emergency Medicine Student Association
ENT Interest Group
Family Medicine Interest Group
Health Innovation & Technology
Internal Medicine Interest Group
International Medicine Interest Group
Latino Medical Student Association
Lifestyle Medicine Interest Group
Medical Student Pride Alliance
Medical Students for Africa
Medical Talks Interest Group
Military Medicine
Muslim Students Organization
New Freedmen's Clinic
HUCM Sight Savers
Orthopedic Surgery Interest Society
Orthopedic Women of Howard
Pediatric Interest Society
Physical Medicine & Rehabilitation Interest Group
Plastic Surgery Interest Society
Psychiatry Student Interest Group
Radiology Interest Group
HU Student Society of OB/GYN
Sports Medicine Interest Group
Student Interest Group in Neurology
Student National Medical Association
Surgery Interest Society
// Wait for the document to fully load
document.addEventListener('DOMContentLoaded', function() {
// Get all product options
const productOptions = document.querySelectorAll('.product-option-select');
// Function to remove an option by value
function removeOption(selectElement, optionValue) {
for (let i = 0; i < selectElement.options.length; i++) {
if (selectElement.options[i].value === optionValue) {
selectElement.remove(i);
break;
}
}
}
// Check if the order was successful
if (typeof window.Squarespace === 'object' && window.Squarespace.onOrderComplete) {
window.Squarespace.onOrderComplete(function(order) {
// Loop through purchased items
order.lineItems.forEach(function(item) {
// Find the corresponding product option element
const optionElement = document.querySelector(`.product-option-select[data-item-id="${item.id}"]`);
if (optionElement) {
// Remove the purchased option
removeOption(optionElement, item.variantId);
}
});
});
}
});