Skip to content

Instantly share code, notes, and snippets.

View ArjenMiedema's full-sized avatar

Arjen Miedema ArjenMiedema

View GitHub Profile
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "SportsEvent",
"name": "sc Leovardia Za 1 - Zwaluwen 1",
"homeTeam": {
"@type": "SportsTeam",
"name": "sc Leovardia Za 1",
"sport": "Football",
"athlete" : [
@ArjenMiedema
ArjenMiedema / price.phtml
Last active October 28, 2015 09:41
Implementation of rich snippets in the price.phtml of your custom template file *app/design/frontend/[package]/[theme]/catalog/product/price.phtml*. Based on the RWD theme in Magento CE 1.9.2.1
<?php
/**
* Magento Enterprise Edition
*
* NOTICE OF LICENSE
*
* This source file is subject to the Magento Enterprise Edition End User License Agreement
* that is bundled with this package in the file LICENSE_EE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.magento.com/license/enterprise-edition
# Sitemap
Sitemap: https://www.domain.com/sitemap.xml
# Crawlers Setup
User-agent: *
# Directories
Disallow: /app/
Disallow: /dev/
Disallow: /downloader/
@ArjenMiedema
ArjenMiedema / MolliePaymentMethods.jsx
Created December 9, 2021 12:48
Mollie GraphQL implementation for Hyva Checkout
import React, {useState, useEffect} from "react";
import {useCartContext} from "../../context/Cart";
import {Form, FormikProvider, Field} from "formik";
import {useFormikContext} from "../../context/Formik";
import {RadioButton} from "./FormUI/RadioButton";
import {motion, AnimateSharedLayout} from "framer-motion";
// This replaces the "normal" PaymentMethods component