Shopify themes, liquid, logos, and UX
We need a custom stadium passport feature for målminutter.dk, a Danish football stadium review platform built on Shopify. Each stadium is a product, and we use the Vendor field to indicate leagues (Superliga, 1. Division, etc.).
Core Functionality:
Technical Specifications:
Current Status:
What We Need: Either a custom app or backend service that provides:
Existing Code: We have a complete Liquid section with styling and frontend logic - just need the backend functionality to make the "Marker som besøgt" buttons work.
Hi,
Hope this will work
- Create a custom Shopify app with customer/metafield access
- Build a secure API endpoint to update visited stadiums
- Add frontend JavaScript to call that endpoint
JavaScript example
document.querySelectorAll('.mark-visited').forEach(button => {
button.addEventListener('click', async () => {
const stadiumId = button.dataset.stadiumId;
const customerId = window.customerId; // Pass this from Liquid if needed
const res = await fetch('https://your-backend.com/mark-visited', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({ customerId, stadiumId })
});
const data = await res.json();
if (data.status === 'success') {
button.textContent = 'Besøgt';
}
});
});
- Use metafields to store and show visited stadiums
- Protect everything with login checks and access control
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025