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
function applyCSS() { | |
const wishlistButtons = document.querySelectorAll('ooo-wl-product-card-button'); | |
const cssStyles = ` | |
svg { | |
fill: var(--ooo-wl-product-card-button-icon-color, #000); | |
} | |
`; | |
if (wishlistButtons) { | |
// Create style element |
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
# This code can be used to decode the session token coming from the | |
# Customer UI extension: https://shopify.dev/docs/api/customer-account-ui-extensions/2024-10/apis/session-token | |
require 'jwt' | |
require 'json' | |
# Replace with your app's client secret from the Partner Dashboard | |
SHOPIFY_CLIENT_SECRET = "XXX" | |
# Token present in the Authorization header of the request |
OlderNewer